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 68bff35 commit 14154dfCopy full SHA for 14154df
py/test/selenium/webdriver/common/api_example_tests.py
@@ -151,7 +151,7 @@ def testSwitchToWindow(self):
151
152
def testSwitchFrameByName(self):
153
self._loadPage("frameset")
154
- self.driver.switch_to.frame("third")
+ self.driver.switch_to.frame(self.driver.find_element_by_name("third"))
155
checkbox = self.driver.find_element_by_id("checky")
156
checkbox.click()
157
checkbox.submit()
0 commit comments