laravel / dusk

Laravel Dusk provides simple end-to-end testing and browser automation.
https://laravel.com/docs/dusk
MIT License
1.88k stars 322 forks source link

Add support for native scroll into view options #1032

Closed aedart closed 1 year ago

aedart commented 1 year ago

This expands the work from @u01jmg3 (#765), by adding support for the native "scrollIntoViewOptions", as described by Mozilla's documentation. Furthermore, PR also adds a shortcut method for scrolling an element "instantly" into view.

taylorotwell commented 1 year ago

It doesn't seem like this actually fixes any bugs, so will leave as is for now.