Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
angel-ram committed Feb 24, 2021
1 parent 6d17a40 commit 5599626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/page_objects.rst
Expand Up @@ -108,11 +108,11 @@ Webview

Page elements have an optional argument *webview*, a boolean that indicates if the page element is in a webview context
(default value is False). Only apply to mobile tests, where we need to do a change to webview context to find an
element, which is in a webview. This argument be used only if the configuration property
element, which is in a webview. This argument will be used only if the configuration property
*automatic_context_selection* is True.

If *webview* argument is True but webview_context_selection_callback is not defined, then the default webview context
change behaviour. This behaviour depends on the mobile client:
change behaviour will apply. This behaviour depends on the mobile client:

- Android: The first window handle of the appPackage webview context will be selected.
- iOS: The last webview context of the APP bundleID will be selected.
Expand Down

0 comments on commit 5599626

Please sign in to comment.