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:
100
100
# with:
101
101
# cmd: run encore dev
102
102
103
+ - name : Install chrome
104
+ uses : browser-actions/setup-chrome@v1
105
+ id : setup-chrome
106
+
103
107
- name : Start chrome
104
108
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 &
110
111
111
112
# https://github.com/marketplace/actions/setup-chromedriver
112
113
- name : Start chromedriver
113
114
uses : nanasess/setup-chromedriver@master
114
115
with :
115
116
# Optional: do not specify to match Chrome's version
116
- chromedriver-version : ' 88 .0.4324.96 '
117
+ chromedriver-version : ' 100 .0.4896.60 '
117
118
118
119
- run : |
119
120
export DISPLAY=:99
You can’t perform that action at this time.
0 commit comments