File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -143,18 +143,27 @@ jobs:
143143 # https://github.com/browser-actions/setup-chrome (community)
144144 - name : Downgrade Chrome browser to v114
145145 uses : browser-actions/setup-chrome@latest
146+ id : setup-chrome
146147 with :
147148 # chrome-version: 1134343 # Last commit number for Chrome v114
148149 chrome-version : 114.0.5735.90
150+ install-chromedriver : true
149151
150152 - name : Chrome bin-path Override
151- run : sudo ln -nfs `which chrome` /usr/bin/google- chrome
153+ run : sudo ln -nfs `which chrome` /usr/bin/chrome
152154
153155 - name : Downgrade Chrome driver to v114
154156 run : php artisan dusk:chrome-driver 114
155157 # run: php artisan dusk:chrome-driver `chrome --version | cut -d " " -f3`
156158 # run: php artisan dusk:chrome-driver `/usr/bin/google-chrome --version | cut -d " " -f3 | cut -d "." -f1`
157159
160+ - name : Chrome Driver Copy
161+ run : sudo \cp -f ${{ steps.setup-chrome.outputs.chromedriver-path }} ./vendor/laravel/dusk/bin/chromedriver-linux
162+
163+ - name : Chrome Driver Permission Denied 対応
164+ run : |
165+ sudo chmod +x ./vendor/laravel/dusk/bin/chromedriver-linux
166+
158167 - name : Start Chrome Driver
159168 run : ./vendor/laravel/dusk/bin/chromedriver-linux &
160169
You can’t perform that action at this time.
0 commit comments