Add --ignore-certificate-errors

This commit is contained in:
2023-01-30 13:19:46 -06:00
parent fbe9fb3a0e
commit 1a1f405262

View File

@ -33,6 +33,7 @@ public class QBaseSeleniumTest
{ {
chromeOptions = new ChromeOptions(); chromeOptions = new ChromeOptions();
chromeOptions.setAcceptInsecureCerts(true); chromeOptions.setAcceptInsecureCerts(true);
chromeOptions.addArguments("--ignore-certificate-errors");
String headless = System.getenv("QQQ_SELENIUM_HEADLESS"); String headless = System.getenv("QQQ_SELENIUM_HEADLESS");
if("true".equals(headless)) if("true".equals(headless))