Skip to content

Commit

Permalink
Pin selenium/standalone-* to 111.0 and provide option for chromedriver
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrelan committed Nov 13, 2023
1 parent 4ab89fb commit 99eda6b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@ BASE_URI=http://127.0.0.1:8080
UID=1000
GID=1000

## HEADLESS CHROME
# SELENIUM_IMAGE=selenium/standalone-chrome
# MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome", "goog:chromeOptions":{"args":["--no-sandbox", "--disable-dev-shm-usage", "--headless"], "w3c": false}}, "http://127.0.0.1:4444/wd/hub"]'
# CHROME DRIVER
# SELENIUM_IMAGE=drupalci/chromedriver:production
# MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu", "--headless", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://127.0.0.1:9515"]'

## CHROME DEBUG
# SELENIUM_IMAGE=selenium/standalone-chrome-debug
# MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome", "goog:chromeOptions":{"args":["--no-sandbox", "--disable-dev-shm-usage"], "w3c": false}}, "http://127.0.0.1:4444/wd/hub"]'
## SELENIUM CHROME
# SELENIUM_IMAGE=selenium/standalone-chrome:111.0
# MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu", "--headless", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://127.0.0.1:4444/wd/hub"]'

## FIREFOX DEBUG
# SELENIUM_IMAGE=selenium/standalone-firefox-debug
## SELENIUM CHROME DEBUG
# SELENIUM_IMAGE=selenium/standalone-chrome:111.0
# MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://127.0.0.1:4444/wd/hub"]'

## SELENIUM FIREFOX DEBUG
# SELENIUM_IMAGE=selenium/standalone-firefox:111.0
# MINK_DRIVER_ARGS_WEBDRIVER='["firefox", {"browserName":"firefox"}, "http://127.0.0.1:4444/wd/hub"]'

0 comments on commit 99eda6b

Please sign in to comment.