Skip to content

Commit

Permalink
Fixed issue where Chrome 111 and later have different default allowed…
Browse files Browse the repository at this point in the history
… origins (#497)
  • Loading branch information
GrahamCampbell authored Mar 11, 2023
1 parent 4b47ab9 commit a6faa97
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# CHANGELOG


## 1.8.1 (2023-03-XX)

* Fixed issue where Chrome 111 and later have different default allowed origins


## 1.8.0 (2023-02-27)

* Add helper function to find target
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"require": {
"php": "^7.4.15 || ^8.0.2",
"chrome-php/wrench": "^1.4",
"chrome-php/wrench": "^1.5",
"evenement/evenement": "^3.0.1",
"monolog/monolog": "^1.27.1 || ^2.8 || ^3.2",
"psr/log": "^1.1 || ^2.0 || ^3.0",
Expand Down
3 changes: 3 additions & 0 deletions src/Browser/BrowserProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ private function getArgsFromOptions($binary, array $options)
// auto debug port
'--remote-debugging-port=0',

// allow remote access
'--remote-allow-origins=*',

// disable undesired features
'--disable-background-networking',
'--disable-background-timer-throttling',
Expand Down

0 comments on commit a6faa97

Please sign in to comment.