Skip to content

Commit

Permalink
chore: do not set Firefox’ window-size option on headless mode (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatTheCat authored Oct 3, 2024
1 parent 24ac78d commit 97f81c5
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 97f81c5

Please sign in to comment.