|
|
@ -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);
|
|
|
|