Hi!

 

I want to verify that ‘Search’ text should present in a page. So I am using the following syntax

 

assert($ie.contains_text(/Search/).exists?)

 

I think this is wrong, as it is giving error. Can any one suggest me the correct syntax to check the particular text in a page using contains_text and regular expressions?

 

Thanks,

 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to