Skip to content

Commit

Permalink
Set chrome path as a capability
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII committed Nov 4, 2023
1 parent 06eea68 commit 7e28897
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/build_env/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ npx @puppeteer/browsers install "chrome@${CHROME_VERSION}"
CHROMEDRIVERS=(chromedriver/*/chromedriver-*/chromedriver)
printf "CHROMEDRIVER=%s\n" "${CHROMEDRIVERS[0]}" >>"$GITHUB_ENV"

# Set CHROMEDRIVER_ARGS env var.
CHROMES=(chrome/*/chrome-*/chrome)
printf "CHROMEDRIVER_ARGS=--capabilities binary=%s --log-level=INFO\n" "${CHROMES[0]}" >>"$GITHUB_ENV"

source "${SCRIPT_DIR}/common.sh"

0 comments on commit 7e28897

Please sign in to comment.