Answer the question
In order to leave comments, you need to log in
How to enter data in the appeared window for proxy authorization?
When entering the proxy server, a window appears for entering the login and password for the server. How to write this data in the code or enter it through selenium
Here is the code:
ChromeOptions option = new ChromeOptions();
option.addArguments("--proxy-server=http://сервер");
WebDriver driver = new ChromeDriver(option);
driver.get("http://2ip.ru/");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question