Skip to content

Commit d525ff9

Browse files
committed
allow spaces in $CHROME_PATH
1 parent bba03b8 commit d525ff9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
2323
* Features:
2424
* Improved startup error message
25+
* Bug fixes:
2526
* Fixed bugs on shutdown
2627
* Fixed unit tests
27-
* Bug fixes:
28-
* none
28+
* Allow CHROME_PATH to have spaces in the path
2929

3030
--------------
3131

src/BrowserFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(string $chromeBinaries = null)
2121
$envChromePath = getenv('CHROME_PATH');
2222

2323
if ($envChromePath) {
24-
$chromeBinaries = $envChromePath;
24+
$chromeBinaries = '"' . $envChromePath . '"';
2525
} else {
2626
$chromeBinaries = 'chrome';
2727
}

0 commit comments

Comments
 (0)