Engineering
playwright-skill avatar

playwright-skill

Complete browser automation with Playwright. Features local dev server detection, script generation, screenshot capture, form filling, responsive testing, and UX validation.

Introduction

The Playwright-skill is a comprehensive browser automation assistant designed for developers, QA engineers, and automated testing workflows. By leveraging the Playwright framework, it provides a robust interface for controlling Chromium browsers, executing custom automation scripts, and validating web application behavior. This skill is particularly useful for teams requiring rapid browser-based testing, form submission validation, or visual regression testing in local development environments.

  • Automatically detects active local development servers to simplify localhost testing workflows.

  • Generates and executes clean, isolated Playwright scripts saved directly to system temporary directories.

  • Supports multi-viewport testing to validate responsive design across desktop and mobile screen dimensions.

  • Automates complex interaction flows including user authentication (login), form submissions, and link validation.

  • Captures full-page screenshots for visual inspection and UX consistency checking.

  • Provides a visible browser execution mode by default, allowing users to watch and debug automated actions in real-time.

  • Requires an initial setup command to install Playwright and necessary browser binaries.

  • Designed for manual and project-specific installation paths, utilizing path resolution variables ($SKILL_DIR).

  • Follows a specific execution pattern: detecting servers, writing temporary .js files, and executing via a universal node executor.

  • Intended for testing web interfaces, checking for broken links, and validating front-end state transitions.

  • Constraints: Always parameterize URLs for flexibility; prioritize /tmp storage for scripts to avoid cluttering local project repositories.

Repository Stats

Stars
12
Forks
0
Open Issues
0
Language
Python
Default Branch
main
Sync Status
Idle
Last Synced
May 3, 2026, 03:18 PM
View on GitHub