assert_match("mystring",ie.html)
I use this all the time.
On 10/26/05, Sy Ali <[EMAIL PROTECTED]> wrote:
> I know about contains_text() but is there some sort of contains_html()
> feature, or should I build my own method to do this?
>
> I notice html() which will output the entirety of the HTML for a page,
> but is there an easy way to match text within that.
>
> I mean to ask.. has anyone written a snippet of code which I can re-use?
>
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general