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
Yields
Last updated
The command to scroll to the given location.
py.scroll_to(x: int, y: int) -> Pylenium# scroll down 500px
py.scroll_to(0, 500)x (int): The number of pixels to scroll horizontally
y (int): The number of pixels to scroll vertically
Pylenium - so you can chain another command
Last updated