Skip to content

Commit

Permalink
[java] use new headless mode in Edge unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joerg1985 committed Nov 5, 2024
1 parent 61a1eb1 commit cc57549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/test/org/openqa/selenium/testing/drivers/Browser.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public Capabilities getCapabilities() {
}

if (Boolean.getBoolean("webdriver.headless")) {
options.addArguments("--headless=chrome");
options.addArguments("--headless=new");
}

options.addArguments(
Expand Down

0 comments on commit cc57549

Please sign in to comment.