[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Sokolov <msokolov@s...>
  • To: ihe.onwuka@g...
  • Date: Fri, 12 Apr 2013 09:21:54 -0400

On 04/12/2013 01:46 AM, Ihe Onwuka wrote:
> CSS Selectors are strongly recommended over Xpaths.
>
>    
I would tend to agree with that statement (in the context of writing 
selectors for Selenium tests), except that we find that in practice the 
implementation of CSS in Selenium is buggy, and we often end up needing 
to use XPath instead.  Keeping track of when it's acceptable to use CSS 
is in the end, too burdensome, so we pretty much always use XPath, which 
is at least reliable.


-- 

Michael Sokolov
Senior Architect
Safari Books Online



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member