playwright-py

Community

Streamline Python Playwright UI tests.

Authorcjennings
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill automates browser-based UI testing for Python Playwright scripts, enabling reliable and repeatable tests for web applications.

Core Features & Use Cases

  • Native Python Playwright scripts using the sync_api for straightforward, synchronous automation.
  • Robust server management with scripts/with_server.py to coordinate local backend and frontend services during tests.
  • Helper utilities like scripts/safe_actions.py for retry-wrapped interactions and scripts/build_context_with_headers for env-driven authentication headers.
  • Worked examples (login_flow.py, broken_links.py, responsive_sweep.py) demonstrating end-to-end testing patterns on local web apps.

Quick Start

Run python examples/login_flow.py to see a worked login automation in action.

Dependency Matrix

Required Modules

playwright

Components

scripts

💻 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: playwright-py
Download link: https://github.com/cjennings/rulesets/archive/main.zip#playwright-py

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 471,000+ vetted skills library on demand.