On Tue, Jun 4, 2013 at 8:26 PM, Jim Bailey <[email protected]> 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.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to