Open lutejka opened 3 months ago
Hi, thanks for providing the reproduction code. I've tried it locally and it seems to be outputting the headers. Can you confirm which version you're using?
I cant remember it was either 0.10. or 0.11. I also just tested it with 0.12.0 and it still happens
When testing a other side I also got these errors a bunch
ERROR Failed to set cookies Protocol error (Network.deleteCookies): Target closed Unlighthouse 10:38:48 PM
at CallbackRegistry.clear (/Users/lukas.matejka/.npm/_npx/944abecbf21dfffb/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:69:36)
at CdpCDPSession._onClosed (/Users/lukas.matejka/.npm/_npx/944abecbf21dfffb/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CDPSession.js:98:25)
at Connection.onMessage (/Users/lukas.matejka/.npm/_npx/944abecbf21dfffb/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js:118:25)
at Immediate.<anonymous> (/Users/lukas.matejka/.npm/_npx/944abecbf21dfffb/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js:37:36)
at process.processImmediate (node:internal/timers:478:21)
Describe the bug
I set some cookies in the configuration. During the startup, those cookies are used, however they are missing in the actuall scan.
To heck this, I used the following set up:
server.js
run ´node server.js´
run unlghthouse with the follwoing config
In the output of
node server.js
the used cookies should be logged, but they are missing.Reproduction
No response
System / Nuxt Info
No response