Selenium Chrome 78 issue with basic authentication

2020-04-20 11:51发布

Navigate request cancelled

I am using Selenium 3.141.59 with chrome 78 (with Java). Navigate request gets cancelled and the basic authentication popup disappears hence I am not able to login to my application on the tests. This was working fine previously until I have upgraded Chrome from 76 to 78.

Chrome driver version: 78.0.3904.70

WebDriverManager.chromedriver().setup();
ChromeOptions options = new ChromeOptions();
options.addArguments("--start-maximized");
options.addArguments("test-type");
options.addArguments("disable-infobars");
driver = new ChromeDriver(options);
driver.navigate().to("application url");

标签: selenium
0条回答
登录 后发表回答