scroll_to
The command to scroll to the given location.
Syntax
py.scroll_to(x: int, y: int) -> PyleniumUsage
# scroll down 500px
py.scroll_to(0, 500)Arguments
x (int): The number of pixels to scroll horizontallyy (int): The number of pixels to scroll vertically
Yields
Pylenium - so you can chain another command
Last updated