Skip to content

Commit

Permalink
Build(deps): bump puppeteer from 22.10.1 to 23.0.2 (HeadlessChrome/12…
Browse files Browse the repository at this point in the history
…7) (#1388)

* Build(deps): bump puppeteer from 22.10.1 to 23.0.2

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.10.1 to 23.0.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](puppeteer/puppeteer@puppeteer-v22.10.1...puppeteer-v23.0.2)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* lib/browser: log request headers

  phantomas:network Network.requestWillBeSent > GET http://0.0.0.0:8888/headers.html [other] headers: {"Accept-Language":"en-GB","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.6533.99 Safari/537.36 Phantomas/2.12.0"} +0ms

* test/integration-spec: update assertions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: macbre <maciej.brencz@gmail.com>
  • Loading branch information
dependabot[bot] and macbre committed Aug 9, 2024
1 parent 62b7803 commit 6f4dd60
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 178 deletions.
5 changes: 3 additions & 2 deletions lib/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,11 @@ Browser.prototype.init = async (phantomasOptions) => {
request._initiator = data.initiator;

networkDebug(
"Network.requestWillBeSent > %s %s [%s]",
"Network.requestWillBeSent > %s %s [%s] headers: %j",
request.method,
request.url,
request._initiator.type
request._initiator.type,
request.headers
);

this.events.emit("request", request); // @desc Emitted when page is about to send HTTP request
Expand Down
Loading

0 comments on commit 6f4dd60

Please sign in to comment.