Fix chromedriver version
This commit is contained in:
parent
0ec74d1242
commit
17da790e2d
2 changed files with 4 additions and 3 deletions
|
@ -11,8 +11,8 @@
|
|||
<artifactId>app</artifactId>
|
||||
|
||||
<properties>
|
||||
<selenium.java.version>4.4.0</selenium.java.version>
|
||||
<webdrivermanager.version>5.3.0</webdrivermanager.version>
|
||||
<selenium.java.version>4.13.0</selenium.java.version>
|
||||
<webdrivermanager.version>5.5.3</webdrivermanager.version>
|
||||
<jackson.version>2.9.9</jackson.version>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -20,7 +20,8 @@ public class WebDriverConfiguration {
|
|||
public WebDriver chromeDriver() {
|
||||
WebDriverManager.chromedriver().setup();
|
||||
ChromeOptions options = new ChromeOptions();
|
||||
options.setHeadless(true);
|
||||
// Remove if you want to see Selenium "click"
|
||||
options.addArguments("--headless");
|
||||
return new ChromeDriver(options);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue