views:

113

answers:

1

I have HTML code like this

<td>Save</td>

I couldn't locate the element using FireFinder by td:contains("Save")

Is FireFinder wont support the :contains or innerHTML cant be located by :contains?

Read that in Selenium too, :contains wont be supported? However, I couldn't find a documentation for that.

+1  A: 

That should work in Selenium, I've just tried it myself. Make sure you specify that the locator type is CSS by preceding your locator with css=. Also, the quotes shouldn't be necessary:

css=td:contains(Save)
Dave Hunt
I am trying that in IE7. No success yet
Rajasankar