baumeister25 / setup-chromedriver

ChromeDriver for use in GitHub Actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup-chromedriver

GitHub Actions status LICENSE

This action sets up a ChromeDriver for use in actions

OS/Platform support

  • ubuntu-latest, ubuntu-20.04, ubuntu-18.04, or ubuntu-16.04
  • macos-latest, macos-10.15
  • windows-latest, windows-2019

Usage

See action.yml

for ubuntu-latest, macos-latest

steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-chromedriver@master
  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

steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-chromedriver@master
  with:
    # Optional: do not specify to match Chrome's version
    chromedriver-version: '88.0.4324.96'
- run: chromedriver --url-base=/wd/hub &

About

ChromeDriver for use in GitHub Actions

License:MIT License


Languages

Language:JavaScript 51.5%Language:TypeScript 16.3%Language:Shell 14.0%Language:PowerShell 11.1%Language:Python 7.2%