Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

setup-chromedriver

v1.0.7

setup-chromedriver

play

setup-chromedriver

Setup chromedriver

Installation

Copy and paste the following snippet into your .yml file.

              

- name: setup-chromedriver

uses: nanasess/setup-chromedriver@v1.0.7

Learn more about this action in nanasess/setup-chromedriver

Choose a version

setup-chromedriver

GitHub Actions status LICENSE

This action sets up a ChromeDriver for use in actions

OS/Platform support

  • ubuntu-latest, ubuntu-20.04 or ubuntu-18.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@v1
  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@v1
  with:
    # Optional: do not specify to match Chrome's version
    chromedriver-version: '88.0.4324.96'
- run: chromedriver --url-base=/wd/hub &