Closed Mifrill closed 2 years ago
Hello @Mifrill
I just found a possible bug that related to this select
method.
This (possible) bug is raised when i try to select inside iframe
frame = browser.frames[1]
frame.at_xpath("//select[@name='brandSelected']").click.select("VISA", by: :text)
# Ferrum::BrowserError Exception: Argument should belong to the same JavaScript world as target object
Hi, @zsan yeah, it looks so, it should be with a DOM.resolveNode
usage, good catch, thank you!
https://github.com/rubycdp/ferrum/issues/58#issuecomment-989725877
Actual:
Expected: