diff --git a/composer.json b/composer.json index 0d6102d72b..bd6a0d7411 100644 --- a/composer.json +++ b/composer.json @@ -83,7 +83,7 @@ }, "require-dev": { "codacy/coverage": "^1.3.0", - "php-webdriver/webdriver": "^1.7.1", + "php-webdriver/webdriver": "^1.8", "phpmyadmin/coding-standard": "^1.0", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^0.11.19", diff --git a/test/selenium/TestBase.php b/test/selenium/TestBase.php index 249017443b..80d77da34b 100644 --- a/test/selenium/TestBase.php +++ b/test/selenium/TestBase.php @@ -302,7 +302,7 @@ abstract class TestBase extends TestCase '--lang=en', ]); $capabilities->setCapability( - ChromeOptions::CAPABILITY, + ChromeOptions::CAPABILITY_W3C, $chromeOptions );