setup-browser-cookies

Import Chromium session cookies into a headless Playwright browser.

6|2|Updated Oct 18, 2021
One-click install
npx skills add https://github.com/jerrywu001/jerrywu001 --skill setup-browser-cookies-jerrywu001
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/jerrywu001/jerrywu001/tree/main/.claude/skills/setup-browser-cookies
Command: npx skills add https://github.com/jerrywu001/jerrywu001 --skill setup-browser-cookies-jerrywu001

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of needing to sign into a website for QA or testing every time, by letting you reuse cookies from your real Chromium browser session inside the headless browser.

Core Features & Use Cases

  • Cookie domain picker UI: Opens an interactive interface to choose which cookie domains to import (so you can target only what you need).
  • Authenticated headless browsing: Loads decrypted cookies into the Playwright headless session so authenticated pages work immediately.
  • Practical QA workflows: Helps when you’re asked to “import cookies”, “login to the site”, or “authenticate the browser” during testing.

Quick Start

Run the setup-browser-cookies skill, then select the cookie domains you want to import in the browser picker UI and confirm when you’re done.

Frequently Asked Questions about setup-browser-cookies

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import real browser cookies into Playwright for authenticated testing?

To import cookies for authenticated testing, this skill decrypts session cookies from your real Chromium browser and loads them into a headless Playwright session, allowing you to bypass manual login workflows.

Can I use cookies from my Chrome or Brave browser in a headless Playwright session?

Yes, you can use cookies from Chrome or Brave browsers. The tool decrypts existing Chromium session cookies and injects them directly into your Playwright headless browsing environment for QA testing.

How do I select specific cookie domains to import for my QA testing workflow?

You select specific cookie domains using an interactive cookie picker UI. This interface launches during the setup process, letting you target only the authenticated domains you need for your testing scenario.

Does importing browser cookies expose my sensitive session values during the authentication process?

Importing browser cookies does not expose your sensitive session values. The process verifies successful imports by reporting cookie domain counts while ensuring the actual decrypted cookie values remain hidden.

Why do I need to import cookies for browser authentication instead of logging in manually?

You need to import cookies to avoid manual login steps during every QA cycle. Reusing real browser sessions allows headless Playwright tests to immediately access authenticated pages and reproduce login states.