You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
setup-chromedriver
v2.1.0
This action sets up a ChromeDriver for use in actions
- ubuntu-latest, ubuntu-22.04 and ubuntu-20.04
- macos-latest, macos-12 and macos-11
- windows-latest, windows-2022 and windows-2019
See action.yml
steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-chromedriver@v2
with:
# Optional: do not specify to match Chrome's version
chromedriver-version: '88.0.4324.96'
- run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-chromedriver@v2
with:
# Optional: do not specify to match Chrome's version
chromedriver-version: '88.0.4324.96'
- run: chromedriver --url-base=/wd/hub &