Skip to content

Loading…

:css should work for all container methods, not just #element #124

Closed
jarib opened this Issue · 2 comments

3 participants

@jarib
Watir member

Needs specs.

[12:16]      jarm0 : yes
[12:16]      jarib : watir-webdriver only supports it when used with browser.element
[12:16]      jarm0 : hmm, why?
[12:16]      jarib : not sure
[12:16]      jarm0 : is it the same with :xpath?
[12:16]      jarib : no, xpath works
[12:17]      jarib : what happens in watir if the css/xpath finds elements that doesn't match the tag name?
[12:17]      jarm0 : internally watir converts that css selector to xpath selector using nokogiri
[12:17]      jarm0 : then those elements won't be found
[12:17]      jarm0 : e.g. they will be ignored
[12:18]      jarib : ok, makes sense
@jarib jarib added a commit to watir/watirspec that referenced this issue
@jarib jarib Guard spec for watir/watir-webdriver#124 c1bfcf1
@JetFault

Is this still an issue?

@p0deje
Watir member

@JetFault Still an issue

@p0deje p0deje closed this in #244
@jkotests jkotests referenced this issue in cheezy/page-object
Closed

Find by css uses the wrong watir locator #285

@titusfortner titusfortner pushed a commit to titusfortner/watir-webdriver that referenced this issue
@jarib jarib Guard spec for watir/watir-webdriver#124 3eacc46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.