get_page_object
Retrieve a page object's locators and scopes. Specify the page object name and optionally a project path.
Instructions
Get a page object's locators and scopes. selector is a Playwright locator-chain EXPRESSION -- the text that goes after "page." (or the scope's own expression, for a scoped one), e.g. "getByRole('button', { name: 'Submit' })" or "locator('#submit')" -- never a bare selector-engine string on its own. Each shows its inferred parameters (from ${...} inside one of the expression's own string-literal arguments, see extractPoParams) alongside the raw expression. A locator with a scope field is nested under that named scope (see the scopes map) -- its own expression only needs to be unique within the scope's subtree, not the whole page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project | No | Path to the project root (same folder the side panel connects to). Defaults to the EASYSPEC_PROJECT environment variable if omitted. |