other-emerald•3y ago
Add cookie in a special request
I want to add cookie to special ajax url in pupperties:
page.on('request', async (req) => {
await req.continue(); // if you don't call this, it will hang indefinitely
});
How to add?
3 Replies
rare-sapphire•3y ago
other-emeraldOP•3y ago
Thank you
rare-sapphire•3y ago
Glad it worked out!