- Home
- Skills
- Testing & Debugging
- Playwright Live Interaction
Works with the AI Agents you already use
Playwright Live Interaction
Verify Playwright selectors and debug live browser DOM/AOM sessions in real-time without restarting tests.
Free
Playwright Live Interaction
Example session with this skill installed
Inspect the current page for the 'Submit' button, verify a unique selector, and check if it is obscured by any overlays.
- Read your context and instructions
- Compiled the playwright live interaction
I have probed the live DOM and verified the selector for the 'Submit' button. No obscuring overlays were detected.
Live Interaction Audit
| Property | Value |
|---|---|
| Verified Selector | button[type="submit"].p-button-primary |
| Match Count | 1 (Unique) |
| Visibility | Visible |
| Interactive State | Enabled |
| AOM Role | button |
| AOM Name | "Submit Application" |
| Overlay Check | Passed (Pointer-events clear) |
Verified Locator Contract
// Add this to your Page Object Model
readonly submitButton = this.page.locator('button[type="submit"].p-button-primary');
// Verified Action Sequence
await this.submitButton.click();
await page.waitForSelector('.toast-success');
Next steps
- Integrate the verified
submitButtonlocator into yourApplicationPageclass. - Run the provided click sequence to confirm the success toast triggers under current network conditions.
- Use
locator.ariaSnapshot()if you need to verify the button's label changes during the loading state.
Connects securely to your tools. The creator never sees your data.
About this skill
Testing and debugging dynamic web applications often requires constant browser restarts and heavy HTML dumps that bloat context windows. This skill enables real-time DOM/AOM probing and locator verification using headless Playwright to fix failing tests in-place.
What it does
- Live DOM Probing inspects active browser sessions to extract URLs, menus, and dialog states without stopping execution.
- Selector Verification validates locator stability and uniqueness in under 200ms before codifying them into Page Object Models.
- Compact AOM Snapshots generates accessibility tree summaries under 500 tokens to avoid context overflow from raw HTML.
- In-place Debugging diagnoses disabled buttons or obscuring overlays at the exact point of failure using a specialized runtime helper.
- Action Mapping provides ready-to-use recipes for complex UI components like PrimeNG calendars, OpenLayers canvases, and multi-select dropdowns.
How it works
- Flow Discovery captures a compact accessibility snapshot to identify interactive elements and their current state.
- Interactive Probing tests potential selectors against the live DOM to ensure they return exactly one unique target.
- Atomic Execution performs browser actions like clicks or fills using the
window.__qahelper to handle framework-specific event cycles. - State Extraction pulls verified values from the page to confirm the UI responded correctly to the input.
Frameworks & tools
Built for Node.js 18+ environments using Playwright Test or Playwright MCP. It includes specialized support for Angular, PrimeNG, React, and Vue dynamic UI frameworks.
Why this beats prompting it yourself
Generic prompts often result in fragile positional locators or request massive HTML dumps that exceed token limits. This skill enforces a sub-second verification loop and uses compact AOM snapshots to keep the agent focused on interactive elements only.
Use cases
- Debugging a flaky test step without restarting the entire browser session.
- Generating stable Page Object Model classes for a complex Angular or React dashboard.
- Verifying accessibility tree compliance for interactive web components.
- Automating multi-step form sequences that involve dynamic overlays and toast notifications.
Known limitations
Restricted to localhost-only network policies and workspace-sandbox environments. Requires Playwright or Playwright MCP tools to be available in the execution environment.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.
Requires Node.js 18+ and Playwright/Playwright MCP. Restricted to localhost network and sandbox filesystem policies.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
- Software
Node.js