For some reason, my driver start to throw the exception below:
org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:xxxxx/devtools/browser/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx
public static ChromeDriver getChromeDriver() {
WebDriverManager.chromedriver().setup();
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.addArguments("--start-maximized");
return new ChromeDriver(chromeOptions);
}
I'm able to run my test using Edge driver without any problem, is it possible to be related with configuration problem?