Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about new tabs/windows to Troubleshooting #452

Merged
merged 1 commit into from
Jun 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions doc/01-user-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2164,6 +2164,17 @@ This is a bypass OS security model.

A similar problem is described https://stackoverflow.com/questions/50642308/webdriverexception-unknown-error-devtoolsactiveport-file-doesnt-exist-while-t[here]


=== Selectors not working

*Problem:* Selectors for locating element are not working, even though the elements are clearly available.

Possible cause: Your script may have clicked a link that opened a new tab or window.
Even though the new window is in the foreground, the driver instance is still connected to the original window.

*Solution:* Call `switch-window-next` when a new tab or window is opened to point the driver to the new tab/window.


== API v2

The `etaoin.api2` namespace brings some bits of alternative macros and functions.
Expand Down