Reputation: 1
FirefoxProfile profile = new FirefoxProfile();
profile.setPreference("network.proxy.type", 1);
profile.setPreference("network.proxy.http", "localhost");
profile.setPreference("network.proxy.http_port", 3128);
WebDriver driver = new FirefoxDriver(firefox_profile=profile);
I am using below code to config but it's giving an error. You should need to be include executive path. How can I solve it. I am Running this code in pycharm.
You can also see the image for more brief
Upvotes: 0
Views: 62