go
Navigate forward or back in the browser's history.
Syntax
py.go(direction: str) -> Pylenium
py.go(direction: str, number: int) -> Pylenium
Usage
Go forward one page
py.go("forward")
Go back two pages
py.go("back", 2)
Arguments
direction (str)
- forward or backnumber=1 (int)
- go back or forward N pages in history
number
must be a positive integer.
Yields
Pylenium - The current instance of Pylenium so you can chain commands.
Last updated