Merge branch 'master' into 'master'

Fix chromedriver version

See merge request BI-IDO/bi-ido-flight-log-public!3
This commit is contained in:
Miroslav Štaffa 2023-10-05 14:20:52 +02:00
commit a4a2902a14
2 changed files with 4 additions and 3 deletions

View file

@ -11,8 +11,8 @@
<artifactId>app</artifactId> <artifactId>app</artifactId>
<properties> <properties>
<selenium.java.version>4.4.0</selenium.java.version> <selenium.java.version>4.13.0</selenium.java.version>
<webdrivermanager.version>5.3.0</webdrivermanager.version> <webdrivermanager.version>5.5.3</webdrivermanager.version>
<jackson.version>2.9.9</jackson.version> <jackson.version>2.9.9</jackson.version>
</properties> </properties>

View file

@ -20,7 +20,8 @@ public class WebDriverConfiguration {
public WebDriver chromeDriver() { public WebDriver chromeDriver() {
WebDriverManager.chromedriver().setup(); WebDriverManager.chromedriver().setup();
ChromeOptions options = new ChromeOptions(); ChromeOptions options = new ChromeOptions();
options.setHeadless(true); // Remove if you want to see Selenium "click"
options.addArguments("--headless");
return new ChromeDriver(options); return new ChromeDriver(options);
} }
} }