Hi I am using selenium to automate test on web pages. I am using selenium 2 and python and would like to have answers in this framework only. SO how do I check whether some text
For those of you who are still interested:
Generic Solution
if (text in driver.page_source): # text exists in page
unittest:
assertTrue (text in driver.page_source)
pytest:
assert (text in driver.page_source)