setup-chrome
Install and setup Google Chrome and Chromium
Usage
- uses: browser-actions/setup-chrome@v1
with:
# The Google Chrome/Chromium version to install and use.
chrome-version: "latest"
# Install dependent packages for Google Chrome/Chromium (
# Linux only).
install-dependencies: "false"
# Install the compatible version of ChromeDriver with the
# installed Google Chrome/Chromium.
install-chromedriver: "false"
# Do not use sudo to install Google Chrome/Chromium (Linux
# only).
no-sudo: "false"
Inputs
- chrome-version
- The Google Chrome/Chromium version to install and use.
- install-dependencies
- Install dependent packages for Google Chrome/Chromium (Linux only).
- install-chromedriver
- Install the compatible version of ChromeDriver with the installed Google Chrome/Chromium.
- no-sudo
- Do not use sudo to install Google Chrome/Chromium (Linux only).
Outputs
- chrome-version
- The installed Google Chrome/Chromium version. Useful when given a latest version.
- chrome-path
- The installed Google Chrome/Chromium path.
- chromedriver-version
- The installed ChromeDriver version. Useful when given a latest version.
- chromedriver-path
- The installed ChromeDriver path.