selenium
selenium copied to clipboard
http proxy use questions
🚀 Feature Proposal
Questions background
http proxy use can only be set in new ChromeDriver()
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.addArguments("-headless");
Proxy proxy = new Proxy();
chromeOptions.setProxy(proxy);
//new webDriver
webDriver = new ChromeDriver(chromeOptions);
Questions
How to set the proxy after the new ChromeDriver() event occurs
You can't set the proxy after the browser is launched.
Please send questions to the selenium user group
For issues please provide a concise reproducible test case and describe what results you are seeing and what results you expect.
See CONTRIBUTING.md
Thanks for your answer, it is very helpful to me