Do not throw error when using scrollTo
on non-scrollable elements
#1924
Labels
good first issue
Good for newcomers
pkg/driver
This is due to an issue in the packages/driver directory
type: unexpected behavior
User expected result, but got another
Current behavior:
When someone using "scrollTo" on a non-scrollable element we get the following error :
Desired behavior:
No error. It just does nothing.
I use
scrollTo
on an element which can contain sometimes 0 and sometimes +100 elements. So I don't know by advance if the window will be scrollable or not...It could be nice to not have any error or having an option to bypass this error.
Versions
The text was updated successfully, but these errors were encountered: