setup-browser-cookies

Import per-domain cookies into Playwright or Puppeteer headless sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Import cookies from your real Chromium browser into the headless browse session to simulate authenticated user access during automated tests.

Core Features & Use Cases

  • Interactive cookie picker UI to select which domains to import.
  • One-time setup and per-session cookie loading into headless browsing.
  • Supports QA workflows that require login states without manual logins in tests.

Quick Start

Ask me to import cookies to launch the interactive domain picker and load cookies into the browser 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 cookies into a Playwright or Puppeteer headless browser session?

To import cookies into a headless browser session, you need a running Playwright or Puppeteer session and a local Chromium browser profile. Use the interactive cookie picker UI to select domains and load real authentication cookies for automated tests.

Can I simulate authenticated user access in automated tests without manual login?

Yes, you can simulate authenticated user access by importing per-domain cookies from your real Chromium browser profile into the headless session. This bypasses manual logins during QA testing workflows.

Does this cookie import method work across all browsers or just Chromium?

Cookie import works specifically across Chromium-based browsers. It requires a local Chromium browser profile to extract the authentication cookies and a running Playwright or Puppeteer session to load them.

How do I select specific domains when loading cookies for QA testing?

You select specific domains using the interactive cookie picker UI. Simply ask to import cookies to launch the picker, then choose the desired domains to load their corresponding authentication states into the headless browsing session.

What's the best way to handle login states in headless browser automation?

The best way to handle login states in headless automation is importing cookies from a local Chromium profile. This one-time setup and per-session cookie loading approach eliminates the need for scripted manual logins in your test suite.

Do I need a running Playwright session to use the interactive cookie picker?

Yes, a running Playwright or Puppeteer session is required. The cookie picker UI loads extracted cookies directly into the active headless browsing context to establish the authenticated session for testing.