Skip to content

Commit 97f81c5

Browse files
authored
chore: do not set Firefox’ window-size option on headless mode (#640)
1 parent 24ac78d commit 97f81c5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ProcessManager/FirefoxManager.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ private function getDefaultArguments(): array
9494
// Enable the headless mode unless PANTHER_NO_HEADLESS is defined
9595
if (!($_SERVER['PANTHER_NO_HEADLESS'] ?? false)) {
9696
$args[] = '--headless';
97-
$args[] = '--window-size=1200,1100';
9897
}
9998

10099
// Enable devtools for debugging

0 commit comments

Comments
 (0)