-
So I open another tab via browser = Ferrum::Browser.new ...
...
browser.at_xpath(".//*[.='Детали']").click keys: %i{ ctrl } then from browser.evaluate "document.location" I see that I'm still operating the first one. How do I switch to the new tab and operate it? |
Beta Was this translation helpful? Give feedback.
Answered by
Nakilon
Feb 9, 2023
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Nakilon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
browser.pages.last