Skip to content

Commit 37c3091

Browse files
authored
Update laravel_dusk_connect-cms-test.yml - google driver
1 parent d8da091 commit 37c3091

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/laravel_dusk_connect-cms-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ jobs:
135135
run: /opt/google/chrome/chrome --version
136136

137137
# https://readouble.com/laravel/8.x/ja/dusk.html#managing-chromedriver-installations
138-
#- name: Upgrade Chrome Driver
139-
# run: php artisan dusk:chrome-driver `/opt/google/chrome/chrome --version | cut -d " " -f3 | cut -d "." -f1`
140-
138+
# - name: Upgrade Chrome Driver
139+
# run: php artisan dusk:chrome-driver `/opt/google/chrome/chrome --version | cut -d " " -f3 | cut -d "." -f1`
140+
141141
# https://stackoverflow.com/questions/76980975/chrome-driver-failing-in-laravel-dusk-failed-to-open-stream-http-request-fai
142142
# https://voicetechno-jp.secure-web.jp/ChromeDriverV115orNewer.html
143143
# https://github.com/browser-actions/setup-chrome (community)
@@ -150,7 +150,8 @@ jobs:
150150
run: sudo ln -nfs `which chrome` /usr/bin/google-chrome
151151

152152
- name: Downgrade Chrome driver to v114
153-
run: php artisan dusk:chrome-driver 114
153+
# run: php artisan dusk:chrome-driver 114
154+
run: php artisan dusk:chrome-driver `/usr/bin/google-chrome --version | cut -d " " -f3`
154155

155156
- name: Start Chrome Driver
156157
run: ./vendor/laravel/dusk/bin/chromedriver-linux &

0 commit comments

Comments
 (0)