Skip to content
Discussion options

You must be logged in to vote

There's no such sb.switch_to() method in SeleniumBase, but you're probably looking for one of these:

self.switch_to_frame(frame="iframe", timeout=None) self.switch_to_frame_of_element(selector, by="css selector") self.switch_to_default_content() self.switch_to_parent_frame() self.switch_to_window(window, timeout=None) self.switch_to_tab(tab, timeout=None) self.switch_to_default_window() self.switch_to_default_tab() self.switch_to_newest_window() self.switch_to_newest_tab() self.switch_to_driver(driver) self.switch_to_default_driver() self.switch_to_alert(timeout=None)

RecaptchaSolver is an external tool, but it probably expects an sb.driver object instead of sb. The APIs are different.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TripleJJones
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants