Skip to content

Commit 25e762e

Browse files
committed
Overwrite version-specific system chrome
1 parent 81670f1 commit 25e762e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,17 @@ jobs:
9999
if: ${{ contains(matrix.BROWSER, 'chrome') }}
100100
run: |
101101
sudo rm -f /usr/bin/google-chrome
102+
sudo rm -f /usr/bin/${{ matrix.BROWSER }}
102103
sudo ln -s ${{ steps.setup-chrome.outputs.chrome-path }} /usr/bin/google-chrome
104+
sudo ln -s ${{ steps.setup-chrome.outputs.chrome-path }} /usr/bin/${{ matrix.BROWSER }}
105+
106+
- name: Check Chrome Installation after overwriting system Chrome
107+
if: ${{ contains(matrix.BROWSER, 'chrome') }}
108+
run: |
109+
${{ steps.setup-chrome.outputs.chrome-path }} --version
110+
${{ matrix.BROWSER }} --version
111+
chrome --version
112+
google-chrome --version
103113
104114
# - name: Install Chrome Driver
105115
# if: ${{ contains(matrix.BROWSER, 'chrome') }}

0 commit comments

Comments
 (0)