From 18bb0b85acf3bf3779dcec9cd562ab26313c5c7e Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Fri, 7 Jun 2019 15:53:09 +0400 Subject: [PATCH] sout driver path --- src/main/java/ru/ulstu/grant/service/KiasService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ru/ulstu/grant/service/KiasService.java b/src/main/java/ru/ulstu/grant/service/KiasService.java index 184a147..c3a55dc 100644 --- a/src/main/java/ru/ulstu/grant/service/KiasService.java +++ b/src/main/java/ru/ulstu/grant/service/KiasService.java @@ -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); }