CSS selectors

6 views
Skip to first unread message

Danny Guerrier

unread,
Dec 16, 2009, 1:45:53 PM12/16/09
to webd...@googlegroups.com
I'm transitioning over to webdriver and using a webdriver backed selenium driver.  One of my old tests because I used a css selector and it looks like By does not support that.  
What are the plans for css selectors in the future?  I can switch to an xpath but I'd rather not for performance reasons.

Eran M.

unread,
Dec 16, 2009, 2:19:19 PM12/16/09
to webd...@googlegroups.com
WebDriver does support CSS selectors - for now, only on FF 3.5+. By.cssSelectors is what you're after.

Eran

2009/12/16 Danny Guerrier <dgue...@gmail.com>
I'm transitioning over to webdriver and using a webdriver backed selenium driver.  One of my old tests because I used a css selector and it looks like By does not support that.  
What are the plans for css selectors in the future?  I can switch to an xpath but I'd rather not for performance reasons.

--

You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.

Danny Guerrier

unread,
Dec 16, 2009, 2:20:43 PM12/16/09
to webd...@googlegroups.com
Then that explains it.  I'm using the IE driver.

Thanks
Reply all
Reply to author
Forward
0 new messages