setup-browser-cookies

Import selected Chromium cookies into Playwright headless sessions.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/mgher668/surf-ai --skill setup-browser-cookies-mgher668
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/mgher668/surf-ai/tree/main/.agents/skills/gstack/setup-browser-cookies
Command: npx skills add https://github.com/mgher668/surf-ai --skill setup-browser-cookies-mgher668

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Import cookies from your real Chromium browser into the headless browse session to preserve authentication during automated QA and testing.

Core Features & Use Cases

  • Interactive cookie picker UI to select domains to import.
  • Decrypts and loads cookies into the headless session for immediate use.
  • Useful before QA testing authenticated pages or when you need session continuity.

Quick Start

Open the skill and follow the on-screen prompts to import selected cookies into the headless browse 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 a Playwright headless session?

To import cookies into a Playwright headless session, the skill decrypts Chromium cookies and loads them into the automated browser context, preserving your authenticated state for immediate use.

Why do my Playwright QA tests fail on authenticated pages?

Playwright QA tests fail on authenticated pages because headless sessions lack existing cookies. You can resolve this by importing decrypted real browser cookies to maintain authentication.

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

Yes, you can select specific domains when importing cookies for QA testing. The skill features an interactive cookie picker UI allowing domain-by-domain import to control authenticated sessions.

Does this cookie import tool work with Chromium browsers?

Yes, this cookie import tool works with Chromium browsers. It extracts and decrypts cookies directly from your real Chromium browser profile to load into the headless session.

What is the best way to preserve authentication in headless browser testing?

The best way to preserve authentication in headless browser testing is importing real session cookies into the headless environment. This ensures QA-ready session continuity without scripting manual login flows.