Context object
Element XPath selector
Optional scroll parameters. The default value is instant
.
Optional
options: WaitForSelectorOptionsOptional waiting parameters.
await scrollToXpathSelector(ctx, '//button[@id="save-button"]');
Generated using TypeDoc
Scrolls to an element based on an XPath selector.