Merge branch 'master' into 'master'

Fixed text for headless mode

See merge request BI-IDO/bi-ido-flight-log-public!4
This commit is contained in:
Miroslav Štaffa 2023-10-05 14:24:11 +02:00
commit 1f41ff2742

View file

@ -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);
} }