Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I am new to Selenium and trying to start an instance of webdriver with a proxy.

I did a bit of searching and found that its best to set the system proxy and let the selenium browser detect the proxy on its own.

While starting the instance of the Webdriver I encountered an error

The value of the property 'proxyaddress' cannot be parsed. The error is: Invalid URI: The URI scheme is not valid.


on this line
C#
FirefoxDriver webDriver = new FirefoxDriver();



This error is consistent with all browsers (IE,Chrome,Phantomjs,etc)

Please advice,

Thanks
Posted
Comments
ZurdoDev 2-Apr-15 10:58am    
I don't know anything about Selenium but that error seems pretty clear, doesn't it?
wizshrutz 3-Apr-15 5:53am    
yup the error is clear, but when I tried initializing an instance of URI class(which i presume is giving the error), object is created without any exceptions. This Selenium implementation in C# is the one with the bug (I suppose) and I would like to know a work around for the same :)

guys please help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900