Skip to content

Commit

Permalink
[py] fix flake8 failure
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Sep 24, 2022
1 parent 3fcc413 commit dc53093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/remote/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def switch_to(self) -> SwitchTo:
driver.switch_to.default_content()
driver.switch_to.frame('frame_name')
driver.switch_to.frame(1)
driver.switch_to.frame(driver.find_elements(By.TAG_NAME,"iframe")[0])
driver.switch_to.frame(driver.find_elements(By.TAG_NAME, "iframe")[0])
driver.switch_to.parent_frame()
driver.switch_to.window('main')
"""
Expand Down

0 comments on commit dc53093

Please sign in to comment.