Get Element Properties
get_element_propertiesRetrieve accessibility properties and generate multi-framework test selectors for web elements using CSS selectors to support testing and accessibility audits.
Instructions
Given a CSS selector, returns the element's full accessibility properties and multi-framework test selectors (Playwright, Selenium, Cypress, WebdriverIO). Selectors are prioritized: data-testid > stable id > ARIA role > semantic CSS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector to identify the element (e.g. "input[type=search]", "#submit-btn"). | |
| includeHtml | No | Include the outer HTML of the element. Default: false |