selector? | string | The DOM selector of the element on the page you want to scroll to |
throughPage? | boolean | Scrolls through the entire document in viewport-sized steps to trigger lazy-loaded content, then returns to the top. Cannot be combined with selector, x, or y. Default false |
timeout? | number | How long to wait for the element to appear before timing out, overriding any defaults. Default timeout is 30 seconds, or 30000. |
visible? | boolean | Whether or not to scroll to the element only if it's visible Default false |
wait? | boolean | Whether or not to wait for the element, then scroll to it Default true |
x? | number | The X coordinate, in pixels, to scroll to |
y? | number | The Y coordinate, in pixels, to scroll to |