nunomaduro / laravel-console-dusk

Laravel Console Dusk allows the usage of Laravel Dusk in Laravel/Laravel Zero artisan commands.
MIT License
151 stars 22 forks source link

Allow remote web driver URL to be configured #24

Closed ziadoz closed 3 years ago

ziadoz commented 3 years ago

I was trying to connect to a ChromeDriver instance in a separate Docker container, but noticed I'd have to write my own class to fulfil the DriverContract interface, but the only thing I need to change is the remote web driver URL. This PR makes the URL configurable so that's easier to do. Thanks.

Update: Apologies, this seemed like an easy win, but I hadn't clicked that the class also starts the ChromeDriver process.