setup-browser-cookies

Import cookies from installed browsers into Playwright sessions for authenticated QA testing.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Import cookies from your real browsers into the headless browse session to enable authenticated QA workflows without manual login.

Core Features & Use Cases

  • Interactive cookie import: Choose which browser domains to import from Comet, Chrome, Arc, Brave, and Edge.
  • Secure decryption and loading: Cookies are decrypted and loaded into the Playwright session for immediate use.
  • One-time setup and persistence: Provides a setup flow that prepares the environment and retains cookies for subsequent runs.

Quick Start

Run the setup for this skill, then use the cookie picker to import domains from your browser.

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 into a Playwright headless session?

You can import browser cookies into a Playwright headless session using a setup flow that detects installed browsers, decrypts the cookies, and loads your chosen domains directly into the automation environment.

Can I use cookies from Chrome or Edge for Playwright automation?

Yes, you can use cookies from Chrome or Edge for Playwright automation. The skill detects installed browsers including Chrome, Edge, Arc, Brave, and Comet, then decrypts and loads their cookies into your session.

How do I test authenticated pages in headless browser automation?

To test authenticated pages in headless browser automation, you can import real browser cookies into a Playwright session, bypassing manual login by securely decrypting and loading existing session cookies from your active browser profile.

Does headless QA testing with imported cookies require a manual login?

No, headless QA testing with imported cookies does not require a manual login. By importing and decrypting cookies from your real browser, the headless session inherits your authenticated state for immediate automated testing.

What browsers are supported for extracting cookies for QA testing?

Supported browsers for extracting cookies for QA testing include Chrome, Edge, Arc, Brave, and Comet. The tool detects these installed browsers and allows you to select which domains to import into Playwright.

Do I need to run setup every time I import cookies into a headless session?

No, you do not need to run setup every time you import cookies into a headless session. The setup is a lightweight one-time process that prepares the environment and retains cookies for subsequent automated runs.