File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -100,20 +100,21 @@ jobs:
100100# with:
101101# cmd: run encore dev
102102
103+ - name : Install chrome
104+ uses : browser-actions/setup-chrome@v1
105+ id : setup-chrome
106+
103107 - name : Start chrome
104108 run : |
105- sudo apt-get install google-chrome-stable
106- google-chrome --version
107- google-chrome-stable --version
108- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
109- whereis google-chrome-stable
109+ ${{ steps.setup-chrome.outputs.chrome-path }} --version
110+ ${{ steps.setup-chrome.outputs.chrome-path }} --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
110111
111112 # https://github.com/marketplace/actions/setup-chromedriver
112113 - name : Start chromedriver
113114 uses : nanasess/setup-chromedriver@master
114115 with :
115116 # Optional: do not specify to match Chrome's version
116- chromedriver-version : ' 88 .0.4324.96 '
117+ chromedriver-version : ' 100 .0.4896.60 '
117118
118119 - run : |
119120 export DISPLAY=:99
You can’t perform that action at this time.
0 commit comments