|
61 | 61 | echo "Chromedriver path: ${{ steps.setup-chrome.outputs.chromedriver-path }}" |
62 | 62 | echo "Chromedriver version: ${{ steps.setup-chrome.outputs.chromedriver-path }} --version" |
63 | 63 | echo "chrome --version: $(chrome --version)" |
| 64 | + - name: Set BROWSER env var |
| 65 | + run: | |
| 66 | + echo "BROWSER=${{ steps.setup-chrome.outputs.chrome-path }}" >> $GITHUB_ENV |
64 | 67 | - name: Print Python webbrowser standard browser list |
65 | 68 | run: | |
66 | 69 | python -c "import webbrowser; webbrowser.register_standard_browsers(); print(webbrowser._tryorder)" |
@@ -116,6 +119,22 @@ jobs: |
116 | 119 | uses: browser-actions/setup-chrome@v2.1.1 |
117 | 120 | with: |
118 | 121 | install-chromedriver: true |
| 122 | + - name: Print installed Chrome and Chromedriver paths and versions |
| 123 | + run: | |
| 124 | + echo "Chrome path: ${{ steps.setup-chrome.outputs.chrome-path }}" |
| 125 | + echo "Chrome version: ${{ steps.setup-chrome.outputs.chrome-path }} --version" |
| 126 | + echo "Chromedriver path: ${{ steps.setup-chrome.outputs.chromedriver-path }}" |
| 127 | + echo "Chromedriver version: ${{ steps.setup-chrome.outputs.chromedriver-path }} --version" |
| 128 | + echo "chrome --version: $(chrome --version)" |
| 129 | + - name: Set BROWSER env var |
| 130 | + run: | |
| 131 | + echo "BROWSER=${{ steps.setup-chrome.outputs.chrome-path }}" >> $GITHUB_ENV |
| 132 | + - name: Print Python webbrowser standard browser list |
| 133 | + run: | |
| 134 | + python -c "import webbrowser; webbrowser.register_standard_browsers(); print(webbrowser._tryorder)" |
| 135 | + - name: Check whether we can access Chrome from Python |
| 136 | + run: | |
| 137 | + python -c "import webbrowser; webbrowser.get()" |
119 | 138 | - name: Install dependencies |
120 | 139 | run: | |
121 | 140 | curl -LsSf https://astral.sh/uv/install.sh | sh |
|
0 commit comments