playwright-master

Automate browser testing and web scraping with Playwright across Chromium, Firefox, and WebKit.

12|4|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/TurnaboutHero/oh-my-antigravity --skill playwright-master
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-master
Source: https://github.com/TurnaboutHero/oh-my-antigravity/tree/main/skills/playwright-master
Command: npx skills add https://github.com/TurnaboutHero/oh-my-antigravity --skill playwright-master

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Playwright Master addresses the challenge of flaky browser tests and repetitive web automation by providing reliable Playwright-based patterns for end-to-end testing and scraping.

Core Features & Use Cases

  • E2E testing across Chromium, Firefox, and WebKit with Playwright Test.
  • Web scraping of dynamic content.
  • Screenshot and video capture for test evidence, plus mobile emulation and API interception.
  • Page Object patterns and robust selectors for maintainable, scalable tests.

Quick Start

Install Playwright in your project and install browsers: npm i @playwright/test && npx playwright install. Create a test file under tests/ and run your tests with npm run test or npx playwright test.

Frequently Asked Questions about playwright-master

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write end-to-end tests with Playwright across multiple browsers?

End-to-end testing with Playwright automates UI interactions across Chromium, Firefox, and WebKit from a single test suite. Install @playwright/test, create tests under tests/, and run with npx playwright test to validate your application across all three browser engines simultaneously.

Can I use Playwright for web scraping dynamic content?

Yes, Playwright scrapes dynamic content by executing JavaScript and waiting for page loads, unlike static HTML parsers. It handles interactive sites, captures screenshots, intercepts API responses, and supports mobile emulation to extract data that renders after page interaction.

What are page object patterns and why do they matter for browser automation?

Page object patterns organize selectors and interactions into reusable classes, making tests maintainable and scalable. Playwright supports this approach by encapsulating page elements and actions, reducing duplication and simplifying updates when UI elements change.

How do I handle flaky tests and ensure reliable selectors in Playwright?

Playwright reduces flakiness through built-in wait strategies, robust selector handling, and automatic waiting for elements. The framework validates selectors before interaction and retries, eliminating manual waits and race conditions common in unreliable browser tests.

Does Playwright support mobile testing and emulation?

Playwright includes mobile emulation for testing responsive design and mobile-specific behaviors without physical devices. Configure device profiles for iOS and Android, test touch interactions, and capture screenshots across screen sizes within the same test suite.

Can I capture screenshots and videos for test evidence in Playwright?

Playwright automatically captures screenshots on failure and records videos of test execution for debugging and documentation. Configure capture settings per test or globally to generate visual evidence, making it easier to diagnose failures and share results with stakeholders.