setup-browser-cookies

Import cookies from a Chromium browser into Playwright headless sessions.

Updated Jun 11, 2026
One-click install
npx skills add https://github.com/26mitch26/ai-mall --skill setup-browser-cookies-26mitch26
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/26mitch26/ai-mall/tree/main/.claude/skills/setup-browser-cookies
Command: npx skills add https://github.com/26mitch26/ai-mall --skill setup-browser-cookies-26mitch26

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires chromium, playwright, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of importing cookies from your real Chromium browser into headless browser sessions, ensuring that tests run with the same session context as your regular browsing.

Core Features & Use Cases

  • Cookie Import: Automatically import cookies from your real Chromium browser into a headless browser session.
  • Authentication: Ideal for scenarios requiring authentication in a headless environment, like QA testing authenticated pages.
  • Use Case: Before conducting automated tests on an e-commerce site, import your cookies to simulate a logged-in user's experience.

Quick Start

Run the setup-browser-cookies skill and follow the on-screen prompts to select and import the desired cookie domains.

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 cookies into a headless browser for QA automation?

To import cookies into a headless browser, this Skill automatically transfers them from your real Chromium browser into a Playwright session, ensuring tests run with the exact same session context as your regular browsing.

Can I use Playwright to test authenticated pages by replicating an active user session?

Yes, you can replicate an active user session by importing cookies from your real Chromium browser into the Playwright headless environment, which is ideal for QA testing authenticated e-commerce pages.

What do I need to setup browser cookies for headless testing?

To setup browser cookies for headless testing, you need a locally installed Chromium browser and the Playwright framework, allowing the Skill to extract and inject your active session data.

How do I start cookie management for headless browser sessions?

To start cookie management, run the setup-browser-cookies Skill and follow the on-screen prompts to select and import the desired cookie domains into your headless browser testing environment.

Why are my headless browser tests failing on authenticated pages?

Headless browser tests fail on authenticated pages because they lack session data, a problem solved by importing cookies from your real Chromium browser to mirror real user behavior in Playwright.