setup-browser-cookies

Import cookies from a real Chromium browser into a headless session.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Import cookies from your real Chromium browser into the headless browse session to enable authenticated testing without manual logins.

Core Features & Use Cases

  • Import cookies from a real browser into the headless session to preserve authenticated state.
  • Interactive picker UI to select which cookie domains to import.
  • Use before QA testing authenticated pages to simulate real user sessions.

Quick Start

Install and run the setup, then use the interactive picker to import the desired cookie domains.

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 cookies into a headless browser for QA testing?

Yes, you can test authenticated pages in a headless browser without manual logins by importing cookies from a real Chromium browser. This preserves authenticated state by decrypting and loading cookies into the headless context using an interactive domain picker.

Can I use Playwright to test authenticated pages without logging in manually?

Yes, you can test authenticated pages in a headless browser without manual logins by importing cookies from a real Chromium browser. This preserves authenticated state by decrypting and loading cookies into the headless context using an interactive domain picker.

How do I select which cookie domains to import for headless testing?

This Skill handles browser discovery and cookie decryption automatically as part of its core workflow. It locates your real Chromium browser profile, extracts the cookies, and loads them into the headless session using an interactive domain picker.

Does importing browser cookies require decrypting them from Chromium first?

This Skill handles browser discovery and cookie decryption automatically as part of its core workflow. It locates your real Chromium browser profile, extracts the cookies, and loads them into the headless session using an interactive domain picker.

What is the best way to preserve authenticated state in Playwright headless sessions?

The best way to preserve authenticated state is importing cookies directly from a real Chromium browser into the headless session. This avoids manual logins by decrypting existing authenticated sessions and loading them into the browser context.