From fd83a0a67eab03a0b4fa749acd5601b5e612b1e1 Mon Sep 17 00:00:00 2001 From: alexpott Date: Wed, 13 Mar 2024 15:44:35 +0000 Subject: [PATCH] Update chromeOptions to goog:ChromeOptions - chromeOptions has been deprecated. (#35) --- config.selenium-standalone-chrome.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.selenium-standalone-chrome.yaml b/config.selenium-standalone-chrome.yaml index 280712d..61e40f9 100644 --- a/config.selenium-standalone-chrome.yaml +++ b/config.selenium-standalone-chrome.yaml @@ -12,7 +12,7 @@ web_environment: # Use disable-dev-shm-usage instead of setting shm_usage # https://developers.google.com/web/tools/puppeteer/troubleshooting#tips # The format of chromeOptions is defined at https://chromedriver.chromium.org/capabilities - - MINK_DRIVER_ARGS_WEBDRIVER=[\"chrome\", {\"browserName\":\"chrome\",\"chromeOptions\":{\"w3c\":false,\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\"]}}, \"http://selenium-chrome:4444/wd/hub\"] + - MINK_DRIVER_ARGS_WEBDRIVER=[\"chrome\", {\"browserName\":\"chrome\",\"goog:chromeOptions\":{\"w3c\":false,\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\"]}}, \"http://selenium-chrome:4444/wd/hub\"] # Nightwatch - DRUPAL_TEST_BASE_URL=http://web - DRUPAL_TEST_DB_URL=mysql://db:db@db/db @@ -26,4 +26,4 @@ web_environment: - DRUPAL_NIGHTWATCH_OUTPUT=reports/nightwatch # DTT - DTT_BASE_URL=http://web - - DTT_MINK_DRIVER_ARGS=[\"chrome\", {\"browserName\":\"chrome\",\"chromeOptions\":{\"w3c\":false,\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\"]}}, \"http://selenium-chrome:4444/wd/hub\"] + - DTT_MINK_DRIVER_ARGS=[\"chrome\", {\"browserName\":\"chrome\",\"goog:chromeOptions\":{\"w3c\":false,\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\"]}}, \"http://selenium-chrome:4444/wd/hub\"]