Skip to content
This repository

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

jarib opened this Issue March 03, 2012 · 2 comments

3 participants

Jari Bakken Jerry Reptak Alex Rodionov
Jari Bakken
jarib commented March 03, 2012

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
Jari Bakken jarib referenced this issue from a commit in watir/watirspec March 03, 2012
Jari Bakken Guard spec for watir/watir-webdriver#124 c1bfcf1
Jerry Reptak

Is this still an issue?

Alex Rodionov

@JetFault Still an issue

Alex Rodionov p0deje closed this in #244 February 07, 2014
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.