playwright-browser

Automate headless browser tasks and end-to-end tests with Playwright.

1|Updated Sep 14, 2025
One-click install
npx skills add https://github.com/CleanExpo/DR-NRPG --skill playwright-browser-cleanexpo
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: playwright-browser
Source: https://github.com/CleanExpo/DR-NRPG/tree/main/.skills/custom/playwright-browser
Command: npx skills add https://github.com/CleanExpo/DR-NRPG --skill playwright-browser-cleanexpo

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates browser interactions for end-to-end testing, UI verification, and web scraping, ensuring consistent and efficient browser operations.

Core Features & Use Cases

  • Headless Browser Automation: Execute browser tasks without a visible UI, ideal for CI environments.
  • E2E Testing: Run comprehensive end-to-end tests for web applications.
  • Screenshots & Visual Regression: Capture screenshots for debugging and visual change detection.
  • Web Scraping: Extract data from websites programmatically.
  • Use Case: Automate the process of logging into a web application, navigating through several pages, filling out a form, and taking a screenshot of the final confirmation page.

Quick Start

Use the playwright-browser skill to run all end-to-end tests using the command 'npx playwright test'.

Frequently Asked Questions about playwright-browser

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

FAQPage Schema
How do I automate web scraping and browser navigation without a visible UI?โ–ผ

Headless browser automation executes web scraping and navigation tasks without a visible UI. This Skill provides tools to programmatically interact with websites, fill out forms, and extract data within a headless browser context.

Can I run end-to-end tests in a CI environment using Playwright?โ–ผ

Yes, you can run end-to-end tests in CI environments using Playwright. This Skill supports headless execution, allowing comprehensive UI verification and automated interaction without requiring a display server.

How do I capture screenshots for visual regression testing?โ–ผ

Capture screenshots for visual regression testing by utilizing the browser context tools provided. This Skill enables automated screenshot generation during navigation to detect visual changes and debug UI issues.

What is the best way to execute custom code within a browser context for e2e testing?โ–ผ

Executing custom code within a browser context is handled through Playwright's automation capabilities. This Skill supports running scripts for automated interaction, UI verification, and end-to-end testing workflows.

Does this approach support filling out forms and logging into web applications programmatically?โ–ผ

Yes, this approach supports logging into web applications and filling out forms programmatically. The Skill provides interaction tools to automate complete user journeys, including navigation and submitting form data.

Are there limitations when running headless browser operations for web scraping?โ–ผ

Headless browser operations for web scraping require CI-safe configurations to avoid execution limitations. The Skill ensures consistent browser behavior, but complex interactions may need explicit navigation and wait strategies.