Skip to content

Commit

Permalink
Merge pull request #2592 from oxsoft/headless
Browse files Browse the repository at this point in the history
Update headless option
  • Loading branch information
ptrthomas authored Dec 2, 2024
2 parents fd50544 + a8f5e46 commit 12a4217
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public static Chrome start(Map<String, Object> map, ScenarioRuntime sr) {
}
options.arg("--disable-popup-blocking");
if (options.headless) {
options.arg("--headless");
options.arg("--headless=new");
}
Command command = options.startProcess();
Http http = options.getHttp();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static EdgeChromium start(Map<String, Object> map, ScenarioRuntime sr) {
}
options.arg("--disable-popup-blocking");
if (options.headless) {
options.arg("--headless");
options.arg("--headless=new");
}
Command command = options.startProcess();
Http http = options.getHttp();
Expand Down

0 comments on commit 12a4217

Please sign in to comment.