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

Text in element. #161

Open
nonlux opened this issue Jun 9, 2014 · 1 comment
Open

Text in element. #161

nonlux opened this issue Jun 9, 2014 · 1 comment

Comments

@nonlux
Copy link

nonlux commented Jun 9, 2014

Given I use Goutte driver
When I call "
       I should see "Someone" in the ".navbar-top .nav li:nth-child(2) a" element
"
I get success result 

But

Given I use  Selenium2 driver
When I call "
       I should see "Someone" in the ".navbar-top .nav li:nth-child(2) a" element
"
I get fail with "
      Element matching css ".navbar-top .nav li:nth-child(2) a" not found.
"

Why ?

@aik099
Copy link
Member

aik099 commented Jun 9, 2014

Try dumping page source (only relevant part please) from both drivers here. I guess something about inspected page differs.

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