This repository was archived by the owner on Oct 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -128,12 +128,12 @@ jobs:
128128 run : |
129129 cd app
130130 npm run build
131- php artisan dusk:chrome-driver `/opt/google/chrome/chrome --version | cut -d " " -f3 | cut -d "." -f1`
131+ php artisan dusk:chrome-driver --detect
132132
133133 - name : Start Chrome Driver
134134 run : |
135135 cd app
136- ./vendor/laravel/dusk/bin/chromedriver-linux &
136+ ./vendor/laravel/dusk/bin/chromedriver-linux --port=9515 &
137137
138138 - name : Start SSR server
139139 run : |
Original file line number Diff line number Diff line change @@ -102,12 +102,12 @@ jobs:
102102 run : |
103103 cd app
104104 npm run build
105- php artisan dusk:chrome-driver `/opt/google/chrome/chrome --version | cut -d " " -f3 | cut -d "." -f1`
105+ php artisan dusk:chrome-driver --detect
106106
107107 - name : Start Chrome Driver
108108 run : |
109109 cd app
110- ./vendor/laravel/dusk/bin/chromedriver-linux &
110+ ./vendor/laravel/dusk/bin/chromedriver-linux --port=9515 &
111111
112112 - name : Start Laravel Reverb
113113 run : |
Original file line number Diff line number Diff line change @@ -99,16 +99,15 @@ protected function driver()
9999 ])->unless ($ this ->hasHeadlessDisabled (), function ($ items ) {
100100 return $ items ->merge ([
101101 '--disable-gpu ' ,
102- '--headless ' ,
102+ '--headless=new ' ,
103103 ]);
104104 })->all ());
105105
106106 return RemoteWebDriver::create (
107107 $ _ENV ['DUSK_DRIVER_URL ' ] ?? 'http://localhost:9515 ' ,
108108 DesiredCapabilities::chrome ()->setCapability (
109- ChromeOptions::CAPABILITY ,
110- $ options
111- )
109+ ChromeOptions::CAPABILITY , $ options
110+ )->setCapability ('goog:loggingPrefs ' , ['browser ' => 'ALL ' ])
112111 );
113112 }
114113}
You can’t perform that action at this time.
0 commit comments