Fixed text for headless mode

This commit is contained in:
Miroslav Štaffa 2023-10-05 14:23:08 +02:00
parent 17da790e2d
commit b21dc6e85f

View file

@ -20,7 +20,7 @@ public class WebDriverConfiguration {
public WebDriver chromeDriver() {
WebDriverManager.chromedriver().setup();
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");
return new ChromeDriver(options);
}