Fix chromedriver version
This commit is contained in:
parent
0ec74d1242
commit
17da790e2d
|
@ -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