setup-browser-cookies

Imports Chromium cookies from local browsers into a headless Playwright session for authenticated testing.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows you to seamlessly import authentication cookies from your local browser into the headless browsing session, enabling testing of authenticated pages without manual login.

Core Features & Use Cases

  • Browser Cookie Import: Supports major Chromium-based browsers (Comet, Chrome, Arc, Brave, Edge).
  • Interactive Domain Selection: Provides a UI for selecting specific domains to import cookies from.
  • Direct Domain Import: Allows specifying a domain directly for import.
  • Use Case: Before running automated QA tests on a logged-in user dashboard, import your active session cookies so the tests can proceed without interruption.

Quick Start

Import cookies from your Chrome browser for the 'example.com' domain.

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 browser cookies for authentication in Playwright?

You import browser cookies for authentication by transferring active session cookies from a local Chromium browser into a headless Playwright session. This allows automated testing of authenticated web pages without requiring manual login procedures.

Can I import cookies from Brave or Edge into a headless browser session?

Yes, you can import cookies from Brave or Edge because the utility supports major Chromium-based browsers. It detects installed browsers like Comet, Chrome, Arc, Brave, and Edge to manage cookie decryption and loading into your session.

What do I need to set up cookie import for headless testing?

To set up cookie import for headless testing, you need a built version of the 'browse' binary and the 'cookie-import-browser' utility. These dependencies detect local browsers and manage the cookie decryption and loading processes.

How do I import cookies for a specific domain during browser automation?

You import cookies for a specific domain during browser automation by using the direct domain import feature. This allows you to specify a target domain directly, loading only the relevant authentication cookies into the session.

Why use imported browser cookies instead of logging in for automated QA?

Using imported browser cookies for automated QA allows tests to proceed without interruption from login screens or two-factor authentication. It leverages existing active user sessions from your local browser to instantly authenticate headless testing environments.