I was to check to see if a text with inline styles exist.
For example page.should have_content(text)
works for raw text such as
"Time out"
,
however it does not work for the text
"Time out. Please <a href=#">Click</a> here to retry".
Also I have been having trouble trying to locate an anchor with inline style as well ex:
<a>click <strong>here</strong>to retry</a>
.
Thanks.