0

I get the below pop-up when I run my selenium tests on chrome

chrome v = Version 81.0.4044.138

enter image description here

I have tried the following with no luck

 options.AddArgument("ignore-ssl-errors=yes");
 options.AddArgument("ignore-certificate-errors");
 options.AddArgument("allow-running-insecure-content");

Has anyone a solution to this?

IOF
  • 251
  • 6
  • 18
  • Is your URL HTTP or HTTPS? – jdweng Nov 04 '20 at 14:05
  • I am using IIS for testing on local environment. So testing on localhost – IOF Nov 04 '20 at 14:07
  • So what? Do you know differences between HTTP and HTTPS? The server settings determine if HTTPS is required. Doesn't matter if local or remote. – jdweng Nov 04 '20 at 14:13
  • 1
    Take a look at this: https://stackoverflow.com/questions/24304752/how-to-handle-authentication-popup-with-selenium-webdriver-using-java – DMart Nov 04 '20 at 14:13
  • Yes i tried to edit my comment but it wouldn't let me. its http – IOF Nov 04 '20 at 14:14
  • I managed to resolve the issue. I used http://localhost:1234 instead of http://12.3.45.67:1234/. silly mistake – IOF Nov 04 '20 at 14:50

1 Answers1

0

I managed to resolve the issue. I used localhost:1234 instead of 12.3.45.67:1234. silly mistake

IOF
  • 251
  • 6
  • 18