playwright-automation

Automate browser testing, web scraping, and user workflows with Playwright across multiple browsers.

3|Updated Aug 26, 2026
One-click install
npx skills add https://github.com/Fabric-Pro/fabric-oss --skill playwright-automation-fabric-pro
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: playwright-automation
Source: https://github.com/Fabric-Pro/fabric-oss/tree/main/.cursor/skills/playwright-automation
Command: npx skills add https://github.com/Fabric-Pro/fabric-oss --skill playwright-automation-fabric-pro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @playwright/test.

What problem does it solve? Manual browser testing and repetitive web interactions are slow and error-prone. This Skill provides guidance for automating end-to-end tests, scraping web data, and simulating user workflows across Chrome, Firefox, Safari, and Edge using Playwright. ## Core Features & Use Cases - Cross-Browser E2E Testing: Write tests that run reliably across Chrome, Firefox, Safari, and Edge with a single API. - User Workflow Automation: Simulate clicks, typing, form submissions, authentication flows, and file uploads/downloads programmatically. - Visual & Responsive Testing: Capture screenshots for visual regression checks and test layouts across different viewports. - Use Case: You need to verify that a login flow works on every release. Write a Playwright test that navigates to the login page, fills credentials, submits the form, and asserts the dashboard heading is visible. ## Quick Start Write a Playwright test that opens the homepage and verifies the main heading is visible.

Frequently Asked Questions about playwright-automation

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

FAQPage Schema
How do I write an end-to-end test with Playwright?▼

Import test and expect from @playwright/test, then define a test that uses the page object to navigate and assert. For example, call page.goto('/') and use expect(page.getByRole('heading')).toBeVisible() to verify page content.

How to test login and authentication flows with Playwright?▼

Use Playwright to navigate to the login page, fill credential fields with page.fill or locator-based actions, submit the form, and assert the post-login state. You can also reuse authenticated storage state across tests to skip repeated logins.

Does Playwright support testing on Safari and Firefox?▼

Yes, Playwright supports Chromium, Firefox, and WebKit (the Safari engine) with a single API. You configure target browsers in the Playwright config and run the same test suite across all of them.

Can Playwright capture screenshots for visual regression testing?▼

Yes, Playwright can capture full-page or element screenshots during test runs. These screenshots can be compared against baseline images to detect unintended visual changes across releases.

When should I not use Playwright for testing?▼

Playwright is designed for browser-based end-to-end testing, so it is not suited for unit testing isolated functions or load testing at scale. For those cases, use a unit test runner or a dedicated load testing tool instead.