On Tue, Jun 4, 2013 at 8:26 PM, Jim Bailey <jbailey...@gmail.com> wrote:

> b.goto(properties.getUrl)


Add this before above line:

p properties.getUrl

That will display the contents of the variable. That is always helpful when
debugging.

The magic word is probably URL encoding[1].

Something like this should fix the problem:

b.goto(URI.escape(properties.getUrl))

More information:
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/uri/rdoc/URI/Escape.html#method-i-escape

Željko
--
1: http://en.wikipedia.org/wiki/Percent-encoding

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to