Get Cookies via Puppeteer Recording
Process a Puppeteer script that records an authentication flow and generate a Cookie header.
Category
Utilities
Inputs
puppeteer-recording
file
requiredPuppeteer browser recording file
Outputs
header
Get Cookies via Puppeteer Recording
Description
Process a Puppeteer script that records an authentication flow (using Chrome’s built-in recorder), capture the cookies generated at the end of the process, and output them as a header.
Features
- Handles complex, multi-step login flows.
- Uses Chrome’s built-in recorder; no additional plugins needed.
- Outputs cookies in a standard header format that is easily importable into other modules and tools.
Inputs
Required
- puppeteer-recording: Puppeteer browser recording file.
Outputs
- header: A
Cookie
header containing the captured cookies.
Changelog
- v1.0.0
- Initial release