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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -