In this video we will see how to fix/resolver selenium error “Exception in thread “main” org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:64162/devtools/browser……”.
Code:
ChromeOptions options = new ChromeOptions();
options.addArguments("--remote-allow-origins=*");
WebDriver driver = new ChromeDriver(options);