playwright-explore

Crawl a live website to generate Playwright site maps and locator strategies.

4|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/nickhou1983/UI-test-Demo --skill playwright-explore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-explore
Source: https://github.com/nickhou1983/UI-test-Demo/tree/main/.github/skills/playwright-explore
Command: npx skills add https://github.com/nickhou1983/UI-test-Demo --skill playwright-explore

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables users to discover and document the structure, behavior, and navigational paths of a live website when the source code is unavailable, producing reusable Playwright exploration artifacts.

Core Features & Use Cases

  • Live-site reconnaissance and site map generation
  • Locator strategy map and interaction probing
  • Optional E2E and visual test drafts
  • Read-only reporting that respects site rules (robots.txt) and avoids modifying the target

Quick Start

Provide the target URL and optional crawl depth and page limit, and let the skill generate a read-only exploration report with a site map, locator map, and test drafts.

Frequently Asked Questions about playwright-explore

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

FAQPage Schema
How do I generate Playwright E2E test drafts from a live website URL?

You can generate Playwright E2E drafts from a live URL by crawling the site to map routes and probe interactions. This skill produces self-contained test drafts by exploring the live site directly, without requiring access to the underlying source code.

What is the best way to map UI locators and site routes without source code?

Mapping UI locators and site routes without source code is achieved through live-site reconnaissance. The skill crawls the target URL to produce a site map and a locator strategy map based on the rendered DOM and available interactions.

Can I use this tool to create visual testing drafts for external sites?

Yes, you can create visual testing drafts for external sites. The skill explores the live website you specify and generates optional visual test drafts alongside interaction probes and proposed user journeys.

Does the web exploration crawl respect robots.txt and modify the target site?

The web exploration crawl is strictly read-only and respects site rules including robots.txt. It avoids modifying the target site entirely, ensuring safe reconnaissance and reporting without altering the live environment.

How do I control crawl depth and page limits when exploring a site for QA automation?

You control crawl depth and page limits by providing these optional parameters alongside the target URL when starting the exploration. The skill uses these constraints to generate a focused site map and interaction probe table.

What outputs are generated when probing interactions for a site map?

Probing interactions for a site map generates a read-only exploration report containing a site map, locator strategy map, interaction probe table, and proposed user journeys, with optional E2E and visual drafts.