sout driver path

This commit is contained in:
Anton Romanov 2019-06-07 15:35:15 +04:00
parent f8c1e52ca4
commit 615c70d12a

View File

@ -79,6 +79,7 @@ public class KiasService {
private WebDriver getDriver() { private WebDriver getDriver() {
System.setProperty(DRIVER_TYPE, getDriverExecutablePath()); System.setProperty(DRIVER_TYPE, getDriverExecutablePath());
System.out.println("drive search path: " + getDriverExecutablePath());
final ChromeOptions chromeOptions = new ChromeOptions(); final ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.addArguments("--headless"); chromeOptions.addArguments("--headless");
return new ChromeDriver(chromeOptions); return new ChromeDriver(chromeOptions);