Skip to content

Commit 0ecd302

Browse files
Restored closer to original browser factory options semantics
1 parent 03cfa04 commit 0ecd302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BrowserFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __construct(?string $chromeBinary = null)
7070
*/
7171
public function createBrowser(?array $options = null): ProcessAwareBrowser
7272
{
73-
$options = \array_merge($this->envOptions, $this->options, $options ?? []);
73+
$options = \array_merge($this->envOptions, $options ?? $this->options);
7474

7575
// create logger from options
7676
$logger = self::createLogger($options);

0 commit comments

Comments
 (0)