name: capability:playwright:navigate description: Navigate to a URL and interact with the page via Playwright MCP argument-hint: "--url <page-url> [--description <interaction-details>]" user-invocable: true agent: zzaia-workspace-manager metadata: parameters: - name: url description: Target URL to navigate to required: true - name: description description: Broader description of what to do on the page (clicks, fills, assertions, etc.) required: false
PURPOSE
Navigate to a specific URL using Playwright MCP and perform interactions on the page as described. Supports clicks, form fills, key presses, selections, screenshots, and DOM inspection.
EXECUTION
- Navigate — Open or reuse a browser tab and navigate to
--url - Snapshot — Capture initial DOM/accessibility snapshot to understand page structure
- Interact — Execute interactions derived from
--description(click, fill, press, select, hover, drag, etc.) - Verify — Capture post-interaction snapshot and screenshot to confirm result
- Report — Return structured summary of actions taken and final page state
DELEGATION
MANDATORY: Always invoke the agents defined in this command's frontmatter for their designated responsibilities. Never skip, replace, or simulate their behavior directly.
zzaia-workspace-manager— Executes all Playwright MCP tool calls for navigation and page interaction
WORKFLOW
sequenceDiagram
participant U as User
participant C as Command
participant W as zzaia-workspace-manager
participant P as Playwright MCP
U->>C: /capability:playwright:navigate --url <url> [--description <details>]
C->>W: Delegate with url and description
W->>P: browser_navigate(url)
P-->>W: Page loaded
W->>P: browser_snapshot
P-->>W: Initial DOM snapshot
W->>P: browser_* (click, fill, press, select, etc.)
P-->>W: Interaction results
W->>P: browser_snapshot + browser_take_screenshot
P-->>W: Final page state
W-->>C: Actions summary and page state
C-->>U: Structured interaction report
ACCEPTANCE CRITERIA
- Navigates to the provided
--urlsuccessfully - Executes interactions described in
--description - Captures before/after page state via snapshots and screenshots
- Returns structured report of all actions taken and final page state
EXAMPLES
/capability:playwright:navigate --url https://localhost:3000
/capability:playwright:navigate --url https://localhost:3000/login --description "Fill username admin and password secret, then click submit"
/capability:playwright:navigate --url https://example.com/form --description "Select option 'Brazil' from country dropdown and submit the form"
OUTPUT
- Navigation confirmation (URL, page title)
- List of interactions performed
- Before/after DOM snapshots
- Final page screenshot
Skills similaires
TDD Red-Green-Refactor
Testing
Skill qui guide Claude a travers le cycle TDD complet.
Claude CodeWindsurfintermediate
650
189
2,210
Audit d'Accessibilité Web
Testing
Réalise un audit d'accessibilité web complet selon les normes WCAG.
claudeCursorWindsurfintermediate
129
37
516
Générateur de Tests UAT
Testing
Génère des cas de test d'acceptation utilisateur structurés et complets.
claudechatgptintermediate
87
24
440