parent_frame
The command to switch the driver's context to the parent frame of the current frame.
Syntax
py.switch_to.parent_frame() -> PyleniumUsage
# Switch to a frame with name of 'iframe'
py.switch_to.frame("iframe")
# Switch back to the main website
py.switch_to.parent_frame()Arguments
None
Yields
Pylenium - The current instance of Pylenium so you can chain commands
Examples
Last updated