Category

Utilities

Inputs

puppeteer-recording
file
required
Puppeteer 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.
Cookie: session=KSkooh8gYQ6WhkzyWSkgHyoh0PsV3cdQ; remember_me=1

Changelog

  • v1.0.0
    • Initial release