Skip to content

Commit

Permalink
Update headless option
Browse files Browse the repository at this point in the history
  • Loading branch information
oxsoft committed Aug 5, 2024
1 parent cd840da commit a8f5e46
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 a8f5e46

Please sign in to comment.