Hi everyone, I have a page with html like this: <div id="Info" class="ffreq"> First line. <br/> Second line. (some text) <br/> </div> I try to use this watir code: ie.div(:id, "Info").text.include?("First line. Second line. (some text)") .should==true I get this error: "Some characters cannot be mapped using "Cp1252" character encoding. Either change the encoding or remove the characters which are not supported by the "Cp1252" character encoding." Did it see problem because of the parentheses in (some text)? How do I deal with the <br/> in the middle of the text? Thank you.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---