auth-for-browser-tests

Community

Secure browser tests with API auth.

Authorpmarashian
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures that browser-based end-to-end tests can reliably verify protected pages by establishing authenticated sessions, avoiding ad-hoc bypasses and clarifying fallbacks.

Core Features & Use Cases

  • API-driven Authentication: Register and log in users via API (e.g., using curl with cookie jars).
  • Session/Cookie Injection: Load authenticated session state into the browser context if supported by the testing tool.
  • Fallback Mechanisms: Document manual login requirements or test-only bypasses when injection isn't possible, and revert mocks.
  • Use Case: When testing a user profile page that requires login, this skill ensures a valid session is established before the test proceeds, preventing failures due to unauthenticated access.

Quick Start

Use the auth-for-browser-tests skill to establish an authenticated session for browser testing.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: auth-for-browser-tests
Download link: https://github.com/pmarashian/cursor-agent-skills/archive/main.zip#auth-for-browser-tests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.