gstack-setup-browser-cookies

Import authenticated Chromium cookies into a headless browsing session via CDP.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates failed or slow QA sessions caused by missing authenticated cookies in a headless browser environment.

Core Features & Use Cases

  • Real authenticated session setup: Imports cookies from your real Chromium browser into the headless browse session so protected pages load as logged-in.
  • Interactive cookie domain picker: Opens a UI that lets you choose exactly which cookie domains to import.
  • Safe preflight and environment checks: Detects whether browse is already connected via CDP and avoids cookie import when it is, and verifies the browse binary is available before running.

Quick Start

Run this Skill and then select the cookie domains to import in the opened picker UI, then tell it when you are done.

Frequently Asked Questions about gstack-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 headless Chromium session for testing?

To import real browser cookies into a headless Chromium session, you can use a cookie-import picker to select specific authenticated domains. This transfers your active login state directly into the testing environment.

Why does my authenticated testing fail when using a headless browser?

Authenticated testing fails in a headless browser because the session lacks the necessary login cookies. Importing real authenticated Chromium cookies into the headless environment resolves this by enabling protected pages to load correctly.

Can I use Playwright for headless browsing with my existing authenticated cookies?

Yes, you can use Playwright for headless browsing with existing authenticated cookies by importing them from your real Chromium browser. This prevents repeated login failures and speeds up QA on protected sites.

Does this cookie import method work if browse is already connected via CDP?

No, this cookie import method does not work if browse is already connected via CDP. The tool detects an active CDP connection and stops the cookie import process to avoid conflicts in the session.

What is the best way to set up an authenticated session for QA without logging in manually?

The best way to set up an authenticated session for QA without manual login is to import real cookies from your Chromium browser. An interactive domain picker lets you choose exactly which authenticated cookie domains to load.