Repository navigation
Setting headers for dynamically-created pages #411
Replies: 2 comments
|
A little more information: I was able to stop tabs from automatically loading by calling However, this only works for Relevant Puppeteer discussion: puppeteer/puppeteer#3667 |
0 replies
|
I think it's now addressed in master. But your original title says something about headers, but the description is about flatten mode. Hope it resolves all the issues :) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'd like to be able to set custom headers and read network traffic when a new page is dynamically created, e.g. via a mouse click, rather than explicitly created by my application with
create_page.I'm trying to listen for
.on('Target.targetCreated')events, but I believe these occur too late in the process, after headers can be meaningfully overwritten for the initial request.All reactions