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