Does selenium webdriver support css contains? -


i've read "the css2 contains function not in css3, selenium supports superset of css 1,2 , 3."

will contains supported selenium server using webdriver or supported when using selenium ide?

i came across more information may useful you. use contains in css selector. have use :contains pseudo class not supported in recent versions of css selector engines,upon webdriver relies css selector, hence not preferred way these days. same effect of using contains use div[name*='part'] in css selector , match div tags id contains 'part'. equivalent using //div[contains(@name,'part')] in xpath selector.

this question has similar discussions own.

check stackexchange answer more information.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -