setup-browser-cookies

Import selected cookie domains from Chromium into a headless Playwright session.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Import cookies from your real Chromium browser into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages. Use when asked to "import cookies", "login to the site", or "authenticate the browser". (gstack)

Core Features & Use Cases

  • Import cookies from your real Chromium browser into the headless session.
  • Opens an interactive picker UI where you select which cookie domains to import.
  • Use before QA testing authenticated pages to ensure tests run with a real session.

Quick Start

Open the cookie picker, select domains to import, and confirm when you are done.

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 browser cookies into Playwright headless tests, use an interactive cookie picker UI to select specific domains from your real Chromium browser, decrypt them, and load them directly into the headless session.

Why do I need to import cookies for QA testing of authenticated pages?

Importing cookies for QA testing of authenticated pages preserves your real login state across test runs, allowing headless browsers to bypass authentication screens and directly access secure areas with an active user session.

Can I select specific cookie domains to load into a headless Chromium session?

Yes, you can select specific cookie domains to load into a headless Chromium session by using the interactive cookie picker UI, which allows you to choose exactly which authenticated domains to import before executing your tests.

What is the best way to authenticate a headless browser using existing login state?

The best way to authenticate a headless browser using existing login state is to decrypt and import real domain cookies from your local Chromium browser into the test session, ensuring tests run with a valid authenticated profile.

Does importing cookies into headless tests require a specific browser setup?

Importing cookies into headless tests requires a Chromium-based browser integration and a cookie picker UI to decrypt and load the domain cookies, ensuring the local browser environment is properly accessible.