browser_generate_locator
Generates a Playwright locator for an element using its reference from a page snapshot, aiding test creation.
Instructions
Generate a Playwright locator for an element (useful for writing tests)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element reference from page snapshot | |
| element | No | Human-readable element description |