Fixed text for headless mode
This commit is contained in:
parent
17da790e2d
commit
b21dc6e85f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class WebDriverConfiguration {
|
||||||
public WebDriver chromeDriver() {
|
public WebDriver chromeDriver() {
|
||||||
WebDriverManager.chromedriver().setup();
|
WebDriverManager.chromedriver().setup();
|
||||||
ChromeOptions options = new ChromeOptions();
|
ChromeOptions options = new ChromeOptions();
|
||||||
// Remove if you want to see Selenium "click"
|
// Comment the next line if you want to see Selenium "click"
|
||||||
options.addArguments("--headless");
|
options.addArguments("--headless");
|
||||||
return new ChromeDriver(options);
|
return new ChromeDriver(options);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue