Using relative path in navigate.to() / get()

123 views
Skip to first unread message

Jarno Storhammar

unread,
Jul 21, 2015, 3:31:20 AM7/21/15
to seleniu...@googlegroups.com
I need to use a relative path as a parameter in URL. Is it possible? I have to send a slash character as parameter as you can see in the example below.

Example:
get("<somewebpage>/do-something?run=/application.exe&id=123");

I'm using Java and browser accepts the URL as it is but get() function returns:
Target URL ... is not well formed.

Kaleem Uddin Mohammed Abdul

unread,
Jul 26, 2015, 5:45:04 AM7/26/15
to Selenium Users, jarno.st...@gmail.com
instead of backslash pass the front slash \.
Reply all
Reply to author
Forward
0 new messages