Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

Commit

Permalink
correct frame switching in api examples tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Jan 12, 2016
1 parent 68bff35 commit 14154df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/test/selenium/webdriver/common/api_example_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def testSwitchToWindow(self):

def testSwitchFrameByName(self):
self._loadPage("frameset")
self.driver.switch_to.frame("third")
self.driver.switch_to.frame(self.driver.find_element_by_name("third"))
checkbox = self.driver.find_element_by_id("checky")
checkbox.click()
checkbox.submit()
Expand Down

0 comments on commit 14154df

Please sign in to comment.