playwright-assertions

Community

Master Playwright assertions

Authorbradtaylorsf
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide to using Playwright's powerful assertion library, ensuring robust and reliable automated testing for web applications.

Core Features & Use Cases

  • Element State Checks: Verify visibility, enabled/disabled status, and focus.
  • Content Verification: Assert text content, input values, and select options.
  • Attribute & Style Validation: Check for required attributes, specific class names, and CSS properties.
  • Page & Response Assertions: Validate URLs, titles, and API response status codes.
  • Advanced Features: Includes soft assertions, custom timeouts, polling, snapshots, and accessibility checks.
  • Use Case: When writing Playwright tests, ensure that a dynamically loaded success message appears within a specific time frame and that a form submission button is disabled until all required fields are filled.

Quick Start

Use the playwright-assertions skill to verify that an element with the role 'button' is visible on the page.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-assertions
Download link: https://github.com/bradtaylorsf/alphaagent-team/archive/main.zip#playwright-assertions

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.