I am running automated tests in Chrome with Serenity BDD (Selenium).
I had to download a new ChromeDriver, because my tests could not run -> The test would open Chro
ChromeOptions options = new ChromeOptions(); options.setExperimentalOption("useAutomationExtension", false); options.setExperimentalOption("excludeSwitches",Collections.singletonList("enable-automation")); WebDriver driver = new ChromeDriver(options);
Use the above codes for latest Chrome drivers.