Get visible page text
browser_visible_textExtract visible text from a specified semantic or CSS locator, including iframe chains, on a single page within a session. Isolates content to that page and session for targeted inspection.
Instructions
Read visible text from a semantic or CSS locator on one explicitly addressed page. A locator may select the top document or a bounded outer-to-inner semantic iframe chain; the lookup remains confined to that page and session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| locator | Yes | ||
| sessionId | Yes | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| pageId | Yes | ||
| sessionId | Yes | ||
| truncation | Yes | ||
| operationId | Yes |