setup-browser-cookies

Import authenticated session cookies from Chromium browsers into headless Playwright sessions.

1|Updated Oct 9, 2025
One-click install
npx skills add https://github.com/gth-ai/hadriengayap.github.io --skill setup-browser-cookies-gth-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/gth-ai/hadriengayap.github.io/tree/main/.claude/skills/gstack/setup-browser-cookies
Command: npx skills add https://github.com/gth-ai/hadriengayap.github.io --skill setup-browser-cookies-gth-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bun.

What problem does it solve?

This Skill solves the friction of manual authentication in headless browser environments by securely importing existing session cookies from your local browser.

Core Features & Use Cases

  • Cross-Browser Support: Detects and imports cookies from Chrome, Brave, Edge, Arc, and Comet.
  • Interactive UI: Provides a visual picker to select specific domains for import, ensuring privacy and control.
  • Use Case: When performing QA testing on an authenticated dashboard, use this skill to instantly mirror your logged-in state from your primary browser into the headless testing session.

Quick Start

Run the setup-browser-cookies skill to open the interactive picker and select the domains you wish to import into your current 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 authenticated browser cookies into Playwright for automated testing?

To import authenticated browser cookies into Playwright, use this skill to extract session data from local Chromium-based browsers and mirror your login state into a headless testing session. This allows automated testing of gated web applications without manual authentication.

Can I import session cookies from Brave, Edge, or Arc for headless browser testing?

Yes, you can import session cookies from Brave, Edge, or Arc for headless browser testing. The skill supports cross-browser detection and cookie extraction from Chrome, Brave, Edge, Arc, and Comet to mirror authenticated states in Playwright.

Do I need Bun installed to set up browser cookies for Playwright sessions?

Yes, you need Bun installed to set up browser cookies for Playwright sessions. The skill requires Bun as a dependency and also requires a one-time build of the browse binary to access local browser cookie storage for the automated testing import process.

What is the best way to test gated web applications without manually logging in via UI automation?

The best way to test gated web applications without manual UI login is importing existing authenticated session cookies from a local browser into a headless Playwright session. This approach mirrors your logged-in state directly, bypassing the friction of automated authentication.

How do I select specific domains when exporting cookies for QA testing?

To select specific domains when exporting cookies for QA testing, run the skill to launch an interactive visual picker. This UI allows you to choose exact domains for import, ensuring privacy and control over which session data enters the headless Playwright environment.