Skip to content

Commit

Permalink
Test with unsafely-treat-insecure-origin-as-secure
Browse files Browse the repository at this point in the history
  • Loading branch information
dsibilio committed Oct 7, 2024
1 parent 90ad9f1 commit faf6aab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private ChromeOptions getChromeOptions()
chromeOptions.addArguments("--allow-insecure-localhost");
chromeOptions.addArguments("--ignore-ssl-errors=yes");
chromeOptions.addArguments("--ignore-certificate-errors");
chromeOptions.addArguments("--unsafely-treat-insecure-origin-as-secure=" + getProtocol() + "://" + getHostname());
chromeOptions.addArguments("--unsafely-treat-insecure-origin-as-secure=" + getBaseUrl());
chromeOptions.setExperimentalOption("excludeSwitches", new String[] { "enable-automation" });
// chromeOptions.addArguments(String.format("--lang=%s", getBrowserLanguage(properties)));
//disable profile password manager
Expand Down

0 comments on commit faf6aab

Please sign in to comment.