If this is an element, then its top-left position is used as
the target coordinates. If it is a string, then it is treated
as a selector for an element using querySelector.
OptionaluserOptions: ScrollToOptionsnull if there's an ongoing scroll that is not cancellable,
otherwise a ScrollAction.
Scrolls the given scrollable element to the given
totarget.Returns
nullif there's an ongoing scroll that is not cancellable.Note that if
tois an element or a query selector string, then it must be a descendant of the scrollable element.Throws
LisnUsageError If the target coordinates are invalid.