phpunit-selenium icon indicating copy to clipboard operation
phpunit-selenium copied to clipboard

Chrome & ChromeDriver 75 (W3C mode) support

Open JaZo opened this issue 6 years ago • 3 comments
trafficstars

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

JaZo avatar Jul 08 '19 07:07 JaZo

In the interim the default can be changed like this:

$this->setDesiredCapabilities([
    'goog:chromeOptions' => [
        'w3c' => false
    ]
]);

captain-igloo avatar Jul 15 '19 04:07 captain-igloo

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...

okainov avatar Jun 14 '20 12:06 okainov

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.

JaZo avatar Jun 15 '20 10:06 JaZo