A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/seleniumhq/selenium/commit/2f15ea0efa358c32b80d1335f5ddc26bf4b567b8 below:

[py] update outdated usage example (#11049) · SeleniumHQ/selenium@2f15ea0 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -633,7 +633,7 @@ def switch_to(self) -> SwitchTo:

633 633

driver.switch_to.default_content()

634 634

driver.switch_to.frame('frame_name')

635 635

driver.switch_to.frame(1)

636 -

driver.switch_to.frame(driver.find_elements_by_tag_name("iframe")[0])

636 +

driver.switch_to.frame(driver.find_elements(By.TAG_NAME,"iframe")[0])

637 637

driver.switch_to.parent_frame()

638 638

driver.switch_to.window('main')

639 639

"""

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4