Read page object selector definitions
read_page_object_selectorsExtract selector definitions from a page object file, mapping each getter to its exact CSS/attribute selector for diagnosing broken selectors. Returns raw content fallback if structured extraction fails.
Instructions
Extract all selector definitions from a page object file. Returns a getter → elementName → selector mapping so the model sees the exact CSS/attribute selectors in use — essential for diagnosing broken selectors without guessing. If structured extraction fails, returns the raw file content as fallback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageObjectPath | Yes | Absolute path to the page object file |