Monday, November 7, 2011

How to test based on attributes of element using CSS

How to test based on attributes of element using CSS, Selenium Notes, Examples,Videos, By.www.laxmiroy.blogspot.com/


We can test based on attributes of elements by using css. We can use regular expression in css attributes to identify the element.
If your element is in this css format.

<div id="css3test"><a name="foobar">foobar</a><a name="barfoo">barfoo</a><a id="foobar" name="foozoobar">foozoobar</a></div>

No comments:

Post a Comment