Timeline for Do we have locator like "CssContainingText('.qwrt','apple')" in Selenium webdriver?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 2, 2019 at 20:02 | comment | added | Veretax | I think this Answer is on the right track. You won't be able to search the whole DOM for text in CSS like you might try to do with XPath, but if you have some idea what CSS locator structure it should appear within, it becomes a lot easier. | |
Mar 3, 2019 at 20:42 | comment | added | Vishal Aggarwal | Why don't you try this and come back with what you discovered with all the variations you tried...?This will be helpful for all. | |
Mar 3, 2019 at 16:21 | comment | added | Mallikarjuna Sai | Thanks for giving the answer.i have small doubt here..can we give any tags like span, form, input, a, instead of div tag ????. | |
Mar 2, 2019 at 23:46 | history | answered | Vishal Aggarwal | CC BY-SA 4.0 |