laravel / dusk

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

[8.x] Extract chromedriver regardless of position in archive #1115

Closed aleahy closed 1 month ago

aleahy commented 1 month ago

The aim of this PR is to do a small refactor to prevent dusk breaking if Chrome annoyingly change the order of, or add files in their driver zip archive.

It looks through the archive and only extracts files beginning with chromedriver. This should handle all windows, linux and mac chromedriver files.