phpunit-selenium
phpunit-selenium copied to clipboard
Chrome & ChromeDriver 75 (W3C mode) support
Chrome & ChromeDriver 75 now default to W3C mode. This package needs be updated to support both the (new) W3C mode and the (old) JsonWireProtocol. More info can be found in https://github.com/elgalu/docker-selenium/issues/327
In the interim the default can be changed like this:
$this->setDesiredCapabilities([
'goog:chromeOptions' => [
'w3c' => false
]
]);
Isn't it fixed yet? Basically this issue makes the default behavior completely not working, I spent half an hour trying to understand why I cannot find any elements playing with selectors, wait functions and so on... And this just doesn't work our of the box... That's very sad.
And this is not a feature request per se but a critical bug just breaking the behavior...
This project indeed needs quit some work to bring it up to par with the latest standards. Because of that we've switched to https://github.com/php-webdriver/php-webdriver, which is actively maintained, and wrote our own simple PHPUnit + Webdriver testcase.