Merge branch 'master' into 'master'
Fix chromedriver version See merge request BI-IDO/bi-ido-flight-log-public!3
This commit is contained in:
commit
a4a2902a14
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue