Scrolls to an element based on a CSS selector.
Context object.
Element selector.
Optional scroll parameters. The default value is instant .
instant
Optional
Optional waiting parameters.
await scrollToSelector(ctx, '#save-button'); Copy
await scrollToSelector(ctx, '#save-button');
Generated using TypeDoc
Scrolls to an element based on a CSS selector.