setup-browser-cookies

Import decrypted Chromium cookies into a Playwright headless session.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Import cookies from your real Chromium browser into the headless browse session. This lets you run QA tests against authenticated pages without manual logins.

Core Features & Use Cases

  • Interactive cookie picker UI to select domains to import.
  • Decrypts cookies and loads them into the Playwright session.
  • Useful before QA testing authenticated areas or when you need to simulate a logged-in user in automation.

Quick Start

Open the cookie picker, select the domains to import, and have cookies loaded into your 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 for QA testing?

To import browser cookies into Playwright, this Skill decrypts cookies from your real Chromium browser and loads them into the headless session using an interactive domain picker UI, enabling QA testing of authenticated pages without manual logins.

Can I use my existing Chromium browser session to authenticate a headless automation script?

Yes, you can authenticate a headless automation script by decrypting and importing cookies from your active Chromium browser session directly into Playwright, bypassing the need to programmatically simulate logging in to the site.

How do I test authenticated pages in headless Chromium without handling login forms?

You can test authenticated pages in headless Chromium by importing real browser cookies into your Playwright session. This simulates a logged-in user automatically, skipping the need to automate login form interactions during QA testing.

Does this cookie import method work with CDP and Playwright automation?

Yes, this cookie import method works with Playwright and CDP automation. It decrypts cookies from your local Chromium browser and applies them to the headless session via an interactive domain picker, ensuring your authenticated areas are accessible.

What is the best way to simulate a logged-in user in Playwright QA tests?

The best way to simulate a logged-in user in Playwright QA tests is to import real browser cookies from your Chromium browser into the headless session. This directly applies your authenticated state without handling login workflows.

How do I select specific domains when importing cookies for automation?

When importing cookies for automation, you use an interactive cookie picker UI to select specific domains. The Skill decrypts and loads only the chosen domain cookies into your headless Playwright session for targeted QA testing.