instaclick / php-webdriver

W3C and Selenium 2 webdriver "thin client" for php 5.3+ and namespaces.
Other
435 stars 62 forks source link

NoSuchElement exception for xpath //html in behat project with Selenium and geckodriver (Firefox) #104

Closed jonketo closed 4 years ago

jonketo commented 4 years ago

Very similar to https://github.com/instaclick/php-webdriver/issues/98, but with Firefox and not chrome.

Marionette appears to have 2 keys now which Container.php webDriverElement() is not considering. This stackoverflow answer shows them. https://stackoverflow.com/questions/59070019/selenium-common-exceptions-nosuchelementexception-message-web-element-referenc/59073100#59073100

I also included an synopsis here https://github.com/mozilla/geckodriver/issues/1548#issuecomment-577776292

If this is the correct fix I can make a PR.

robocoder commented 4 years ago

This is a duplicate of #98.

The likely reason why you aren't seeing the fix is because you aren't pulling in the latest version of this repo.

robocoder commented 4 years ago

It was backported to the 1.x branch, in the 1.4.7 tag.