sout driver path

This commit is contained in:
Anton Romanov 2019-06-07 15:53:09 +04:00
parent 615c70d12a
commit 18bb0b85ac

View File

@ -81,6 +81,7 @@ public class KiasService {
System.setProperty(DRIVER_TYPE, getDriverExecutablePath());
System.out.println("drive search path: " + getDriverExecutablePath());
final ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.setBinary("/usr/bin/google-chrome");
chromeOptions.addArguments("--headless");
return new ChromeDriver(chromeOptions);
}