Put the actual copyright symbol in this assert line and it should work:
assert( $ie.text.include?( "(c)" ) )
When you use the ie.text method, you don't get the source code, you get back
the contents as you see it on the page. Since you see the *symbol* on the
page (and not "©"), just put what you see into the assert line.
Paul C.
On 12/07/07, jhe <[EMAIL PROTECTED]> wrote:
Dear all,
Why use the following code always return false, although in the html
document include ©
assert( $ie.text.include?("©") )
Regards,
Jason
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general