We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2205d9 commit 2f15ea0Copy full SHA for 2f15ea0
1 file changed
py/selenium/webdriver/remote/webdriver.py
@@ -633,7 +633,7 @@ def switch_to(self) -> SwitchTo:
633
driver.switch_to.default_content()
634
driver.switch_to.frame('frame_name')
635
driver.switch_to.frame(1)
636
- driver.switch_to.frame(driver.find_elements_by_tag_name("iframe")[0])
+ driver.switch_to.frame(driver.find_elements(By.TAG_NAME,"iframe")[0])
637
driver.switch_to.parent_frame()
638
driver.switch_to.window('main')
639
"""
0 commit comments