[wtr-general] Re: asserting on text that may have special characters

2012-01-20 Thread Abe Heward
My first thought would be to include "'cgi'" try CGI::escapeHTML(your_string) and see if that works for you. If that, or some variant, doesn't work for you then I suggest you may want to ask this on StackOverflow and see if there are any Ruby gems that will encode/decode the target string so it

[wtr-general] Re: asserting on text that may have special characters

2012-01-20 Thread Abe Heward
My first thought would be to add the line* include 'cgi' *to your scripts, then try CGI::escapeHTML(your_string) and see if that works for you. If that, or some variant, doesn't work for you then I suggest you may want to ask this on StackOverflow and see if there are any Ruby gems that will en

[wtr-general] Re: Watir-webdriver seeing a null style attribute as "display: none;"

2012-01-20 Thread Abe Heward
Just an FYI... Turns out it was a bug that shows up when you view the page in IE9. :-) The buttons you're expecting to see don't show up in IE. Aren't browser compatibility bugs fun? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-gene