Skip to content

Commit c76073b

Browse files
author
AutomatedTester
committed
Adding switch_to_parent_frame so that it can actually be called
1 parent 3321f54 commit c76073b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

py/selenium/webdriver/remote/webdriver.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,9 @@ def switch_to_alert(self):
518518
warnings.warn("use driver.switch_to.alert instead", DeprecationWarning)
519519
return self._switch_to.alert
520520

521+
def switch_to_parent_frame(self):
522+
self._switch_to.parent_frame
523+
521524
#Navigation
522525
def back(self):
523526
"""

0 commit comments

Comments
 (0)