File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ const config: CapacitorConfig = {
66 webDir : 'dist' ,
77 ios : {
88 handleApplicationNotifications : false ,
9+ // Force WKWebView.isInspectable = true so Appium's XCUITest driver can
10+ // enumerate the WebView context in Release builds on iOS 16.4+. Without
11+ // this, Capacitor's bridge leaves isInspectable=false in Release and
12+ // getContexts() returns only NATIVE_APP, so Appium times out waiting for
13+ // the WebView. Test-only convenience for the demo app.
14+ webContentsDebuggingEnabled : true ,
915 } ,
1016} ;
1117
Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ const config: CapacitorConfig = {
66 webDir : 'dist' ,
77 ios : {
88 handleApplicationNotifications : false ,
9+ // Force WKWebView.isInspectable = true so Appium's XCUITest driver can
10+ // enumerate the WebView context in Release builds on iOS 16.4+. Without
11+ // this, Capacitor's bridge leaves isInspectable=false in Release and
12+ // getContexts() returns only NATIVE_APP, so Appium times out waiting for
13+ // the WebView. Test-only convenience for the demo app.
14+ webContentsDebuggingEnabled : true ,
915 } ,
1016} ;
1117
You can’t perform that action at this time.
0 commit comments