Skip to content

Commit

Permalink
docs: device-preparation (#2009)
Browse files Browse the repository at this point in the history
* docs: device-preparation

* Update device-preparation.md

* Update device-preparation.md

* Update device-preparation.md
  • Loading branch information
KazuCocoa authored Sep 19, 2023
1 parent de19d6e commit a14126f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/device-preparation.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ Please turn on _Web Inspector_ on iOS device via _Settings_ -> _Safari_ -> _Adva
Make sure the destination `WKWebView` and/or `JSContext` component have [`isInspectable`](https://developer.apple.com/documentation/webkit/wkwebview/4111163-isinspectable) property set to `true`.
Read [Enabling the Inspection of Web Content in Apps](https://webkit.org/blog/13936/enabling-the-inspection-of-web-content-in-apps/) for more details on this property.

#### Chrome v115+ and iOS 16.4+ support Web testing availability

Chrome browser for iOS now provides a remote debugging feature for release versions of the app after the `isInspectable` property has been introduced by Apple.

Please turn on _Web Inspector_ on iOS device via Chrome app -> _Settings_ -> _Content Settings_ -> _Web Inspector_ -> Turn _Web Inspector_ on, then kill the Chrome app process

Please read [Debugging websites in Chrome on iOS 16.4+](https://developer.chrome.com/blog/debugging-chrome-on-ios/) for more details.

### Avoid possible wrong coordinate

Please make sure the zoom preference in accessibility is turned off via _Settings_ -> _Accessibility_ -> _Zoom_. It could cause element coordinates miscalculation.
Expand Down

0 comments on commit a14126f

Please sign in to comment.