Skip to content

Commit

Permalink
switch_to_parent_frame -> switch_to.parent_frame
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeis committed Mar 20, 2014
1 parent c76073b commit 89b2fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/test/selenium/webdriver/common/frame_switching_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def testShouldAllowAUserToSwitchFromAnIframeBackToTheMainContentOfThePage(self):
def testShouldBeAbleToSwitchToParentFrame(self):
self._loadPage("iframes")
self.driver.switch_to_frame(0)
self.driver.switch_to_parent_frame()
self.driver.switch_to.parent_frame()
self.driver.find_element_by_id('iframe_page_heading')

# Disabled till we use the Java WebServer
Expand Down

0 comments on commit 89b2fa4

Please sign in to comment.