File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
java/test/org/openqa/selenium Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ void canSetPermission() {
116116 @ NoDriverBeforeTest
117117 public void canSetPermissionHeadless () {
118118 EdgeOptions options = new EdgeOptions ();
119- options .addArguments ("--headless=new " );
119+ options .addArguments ("--headless" );
120120
121121 localDriver = new WebDriverBuilder ().get (options );
122122 HasPermissions permissions = (HasPermissions ) localDriver ;
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public Capabilities getCapabilities() {
5050 }
5151
5252 if (Boolean .getBoolean ("webdriver.headless" )) {
53- options .addArguments ("--headless=new " );
53+ options .addArguments ("--headless" );
5454 }
5555
5656 options .addArguments (
@@ -84,7 +84,7 @@ public Capabilities getCapabilities() {
8484 }
8585
8686 if (Boolean .getBoolean ("webdriver.headless" )) {
87- options .addArguments ("--headless=new " );
87+ options .addArguments ("--headless" );
8888 }
8989
9090 options .addArguments (
You can’t perform that action at this time.
0 commit comments