Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jonketo opened this issue Jan 23, 2020 · 2 comments

Comments

@jonketo
Copy link

jonketo commented Jan 23, 2020

Very similar to #98, but with Firefox and not chrome.

  • chromedriver_78.0.3904.10
  • geckodriver-v0.26.0
  • selenium-server-standalone-3.141.59

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 mozilla/geckodriver#1548 (comment)

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

@robocoder
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants