setup-browser-cookies

Import Chromium browser cookies into a headless Playwright session.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/sennett-lau/alice --skill setup-browser-cookies-sennett-lau
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/sennett-lau/alice/tree/main/framework/skills/setup-browser-cookies
Command: npx skills add https://github.com/sennett-lau/alice --skill setup-browser-cookies-sennett-lau

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Import cookies from your real Chromium browser into the headless browse session, enabling authenticated QA runs without repeated logins.

Core Features & Use Cases

  • Interactive cookie picker: choose which domains to import into the headless session.
  • Browser-decryption and loading: decrypts stored cookies and injects them into Playwright-style sessions.
  • Use Case: QA teams can run authenticated tests across multiple domains without manual login prompts.

Quick Start

Open the cookie picker, select the domains to import, and apply them to the headless session.

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 headless tests?

To import cookies into Playwright headless tests, you use a cookie importer tool to decrypt stored Chromium cookies and inject them into the headless session. This preserves authenticated state across automated QA runs without manual logins.

Why do I need to import cookies for headless browser automation?

You need to import cookies for headless browser automation to bypass repeated login prompts during QA testing. By injecting real Chromium browser cookies, automated tests can execute against authenticated domains without manually handling login workflows.

Can I choose specific domains when importing cookies for QA testing?

Yes, you can choose specific domains when importing cookies for QA testing. An interactive domain picker allows you to select exactly which authenticated domains to load into the headless browsing session before running your automated tests.

Does importing cookies into a headless session work with Chromium browsers?

Yes, importing cookies into a headless session works with Chromium browsers. The tool decrypts stored cookies from your real Chromium browser profile and loads them directly into Playwright-style automated sessions for testing.

Where is the authenticated cookie state stored during headless browser runs?

The authenticated cookie state is stored under a temporary directory during headless browser runs. This allows the cookie importer to decrypt, load, and apply the real browser cookies to your automated Playwright session.