Skip to main content
Scroll the page by a given number of pixels along the x and y axes.
# Scroll down 500px
await page.scroll(0, 500)
ParameterTypeRequiredDescription
scroll_xintYesHorizontal scroll offset in pixels. Positive values scroll right.
scroll_yintYesVertical scroll offset in pixels. Positive values scroll down.
Returns None.