Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanasess/setup-chromedriver
ChromeDriver for use in GitHub Actions
https://github.com/nanasess/setup-chromedriver
chromedriver codeception e2e-tests github-actions selenium-webdriver
Last synced: about 1 month ago
JSON representation
ChromeDriver for use in GitHub Actions
- Host: GitHub
- URL: https://github.com/nanasess/setup-chromedriver
- Owner: nanasess
- License: mit
- Created: 2019-10-03T00:13:54.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-07T14:51:36.000Z (7 months ago)
- Last Synced: 2024-04-14T14:19:00.661Z (7 months ago)
- Topics: chromedriver, codeception, e2e-tests, github-actions, selenium-webdriver
- Language: Shell
- Homepage:
- Size: 50.8 MB
- Stars: 101
- Watchers: 4
- Forks: 37
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# setup-chromedriver
[![Test chromedriver on *NIX](https://github.com/nanasess/setup-chromedriver/actions/workflows/test.yml/badge.svg)](https://github.com/nanasess/setup-chromedriver/actions/workflows/test.yml)
[![Test chromedriver on Windows](https://github.com/nanasess/setup-chromedriver/actions/workflows/windows.yml/badge.svg)](https://github.com/nanasess/setup-chromedriver/actions/workflows/windows.yml)
[![GitHub](https://img.shields.io/github/license/nanasess/setup-chromedriver)](./LICENSE)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/nanasess)](https://github.com/sponsors/nanasess)This action sets up a [ChromeDriver](https://chromedriver.chromium.org/) for use in actions
## OS/Platform support
- ubuntu-latest, ubuntu-24.04, ubuntu-22.04 and ubuntu-20.04
- macos-latest, macos-14, macos-13 and macos-12
- windows-latest, windows-2022 and windows-2019# Usage
See [action.yml](action.yml)
## for ubuntu-latest, macos-latest
``` yaml
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
```## for windows-latest
``` yaml
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 &
```