Skip to content

Commit

Permalink
chore: do not set Firefox’ window-size option on headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MatTheCat committed Oct 1, 2024
1 parent 9f6010b commit 2ebad8f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ProcessManager/FirefoxManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ private function getDefaultArguments(): array
// Enable the headless mode unless PANTHER_NO_HEADLESS is defined
if (!($_SERVER['PANTHER_NO_HEADLESS'] ?? false)) {
$args[] = '--headless';
$args[] = '--window-size=1200,1100';
}

// Enable devtools for debugging
Expand Down

0 comments on commit 2ebad8f

Please sign in to comment.