Remove deprecated chrome option

This commit is contained in:
Burak Kaygusuz
2021-05-01 12:33:48 +03:00
parent f14f27f53e
commit 2910c37dc0

View File

@@ -46,7 +46,6 @@ public enum DriverType {
chromeOptions.setHeadless(true);
chromeOptions.setPageLoadStrategy(PageLoadStrategy.NORMAL);
chromeOptions.setExperimentalOption("excludeSwitches", Arrays.asList("disable-popup-blocking", "enable-automation"));
chromeOptions.setExperimentalOption("useAutomationExtension", false);
chromeOptions.addArguments("--disable-gpu", "start-maximized");
chromeOptions.setExperimentalOption("prefs", prefs);