sout driver path
This commit is contained in:
parent
615c70d12a
commit
18bb0b85ac
@ -81,6 +81,7 @@ public class KiasService {
|
|||||||
System.setProperty(DRIVER_TYPE, getDriverExecutablePath());
|
System.setProperty(DRIVER_TYPE, getDriverExecutablePath());
|
||||||
System.out.println("drive search path: " + getDriverExecutablePath());
|
System.out.println("drive search path: " + getDriverExecutablePath());
|
||||||
final ChromeOptions chromeOptions = new ChromeOptions();
|
final ChromeOptions chromeOptions = new ChromeOptions();
|
||||||
|
chromeOptions.setBinary("/usr/bin/google-chrome");
|
||||||
chromeOptions.addArguments("--headless");
|
chromeOptions.addArguments("--headless");
|
||||||
return new ChromeDriver(chromeOptions);
|
return new ChromeDriver(chromeOptions);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user