setup-browser-cookies

Import cookies from a Chromium browser into a headless session.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires puppeteer, playwright, and includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of importing cookies from a real Chromium browser into a headless browsing session, enabling seamless authentication and session continuity.

Core Features & Use Cases

  • Cookie Import: Import cookies from a Chromium browser into a headless session.
  • Session Continuity: Maintain login sessions across headless environments.
  • Use Case: When running automated tests on a website that requires authentication, this Skill allows you to import the necessary cookies without manual intervention.

Quick Start

Run the setup-browser-cookies skill to import cookies from your Chromium browser into the current 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 cookies from my Chromium browser into a headless session for automated testing?

To import cookies from a Chromium browser into a headless session, you can use a cookie import skill designed for browser automation. This allows your automated tests to maintain session continuity and authentication without manual login steps.

Why do my headless browser tests lose their login session and require re-authentication?

Headless browser tests lose login sessions because they start with an empty cookie jar. Importing cookies from a real Chromium browser establishes session continuity, transferring your active authentication state into the headless environment.

Can I use Playwright or Puppeteer to set up browser cookies for test scripts?

Yes, you can use Playwright or Puppeteer to set up browser cookies. The cookie import process utilizes these browser automation dependencies to retrieve cookies from your active Chromium profile and apply them directly to the headless session.

What's the best way to maintain session continuity across headless browser environments?

The best way to maintain session continuity is importing cookies from a real Chromium browser into your headless session. This approach bypasses manual intervention by directly transferring the active session state to your automated testing scripts.

Does importing cookies from a Chromium profile work with headless automated testing scenarios?

Yes, importing cookies from a Chromium profile works specifically for headless automated testing scenarios. It is designed to retrieve and apply your active session cookies, ensuring your automated tests can access authenticated areas seamlessly.