New answers tagged

1

You can also suppress error message using ChromeDriverService class: WebDriver browser = null; ChromeDriverService service = new ChromeDriverService.Builder() .usingDriverExecutable(new File("C:\\chromedriver.exe")).usingPort(4444).withSilent(true) .build(); service.start(); browser = new RemoteWebDriver(...


Top 50 recent answers are included