setup-browser-cookies

Import browser cookies into Playwright headless sessions for authenticated page testing.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/RxFit/hub-overlay --skill setup-browser-cookies-rxfit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/RxFit/hub-overlay/tree/main/hub/skills/gstack/setup-browser-cookies
Command: npx skills add https://github.com/RxFit/hub-overlay --skill setup-browser-cookies-rxfit

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the issue of replicating a user's browser cookies in a headless browser session, which is crucial for testing authenticated pages.

Core Features & Use Cases

  • Cookie Import: Import cookies from popular browsers like Chrome, Brave, and Edge.
  • Interactive Picker: Provides a user-friendly interface to select specific cookie domains to import.
  • Use Case: Before testing authenticated pages, use this Skill to ensure your headless browser session is logged in with the necessary cookies.

Quick Start

Use the setup-browser-cookies skill to import cookies from your 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 a real browser into a headless browser session for testing?

To import cookies from a real browser into a headless session, you can use this Skill to transfer your authentication state directly, ensuring your headless browser is logged in for testing authenticated pages.

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

Yes, you can use Playwright to test authenticated pages by importing cookies from browsers like Chrome, Brave, and Edge, bypassing manual login requirements in your headless browser session.

Do I need Playwright to import browser cookies for QA automation?

Yes, Playwright is required as the underlying browser automation tool to facilitate importing cookies from real browsers into headless sessions for your QA automation workflows.

What's the best way to select specific cookie domains when setting up a headless browser?

The best way to select specific cookie domains is by using the interactive picker provided, which allows you to choose exactly which domains to import into your headless browser session.

Why does my headless browser fail to access authenticated pages during testing?

Your headless browser fails to access authenticated pages because it lacks the login state of your real browser, a problem solved by importing session cookies to replicate the authenticated state.

Does setup-browser-cookies support importing cookies from browsers other than Chrome?

Yes, setup-browser-cookies supports importing cookies from popular browsers including Brave and Edge, in addition to Chrome, allowing you to replicate various login states in headless sessions.