chrome-php / chrome

Instrument headless chrome/chromium instances from PHP
MIT License
2.2k stars 269 forks source link

How to get Request Headers? #615

Closed lusy777 closed 3 months ago

lusy777 commented 3 months ago

I'm using next code: $page = $browser->createPage(); $page->navigate('https://www.amazon.nl/')->waitForNavigation(); How to get Request Headers that we can look at in the browser?

enricodias commented 3 months ago

We don't have a implementation for this, but you can listen to network events directly. There's some info on #368