Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


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

jarib opened this Issue · 2 comments

3 participants


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 referenced this issue from a commit in watir/watirspec
@jarib jarib Guard spec for watir/watir-webdriver#124 c1bfcf1

Is this still an issue?


@JetFault Still an issue

@p0deje p0deje closed this in #244
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.