*** title: locator.innerText description: Read the rendered text of the matched element. ----------------------------------------------------------- `locator.innerText` is a browser runtime capability in the `locator` namespace. ## Availability * Runtime: `browser` * Kind: `raw` * Category: `extraction` * Supported drivers: Playwright, Puppeteer ## SDK Surface * SDK path: `runtime.page.locator(...).innerText` * Async: Yes ## HTTP Surface * Transport: `workspace.execute(...)` * Call: `locator.innerText` * Long-running: No ## Reference Semantics * Requires refs: `locator` ## Arguments This capability does not take explicit arguments. ## Result * Type: `string` * Description: Rendered innerText of the matched element. ## SDK Example ```ts await runtime.page.locator('button[type=submit]').innerText(); ``` ## HTTP Example ```json { "runtime": "crm", "steps": [ { "call": "locator.innerText" } ] } ``` ## Related Capabilities * [`locator.textContent`](../extraction/locator-text-content) * [`locator.getAttribute`](../extraction/locator-get-attribute)