get_text
Extract visible text from a webpage or specific element using a CSS selector or ref. Supports iframes and specified tabs or frames to retrieve content for analysis.
Instructions
Get visible text of the page or an element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from a snapshot | |
| tabId | No | Tab id (default: active tab) | |
| frameId | No | Frame id from frames_list | |
| maxBytes | No | Cap returned content at N UTF-8 bytes (default 262144); the full payload still lands in results/ | |
| selector | No | CSS selector (or pass ref) | |
| allFrames | No | Act on the first match in ANY frame (the element may be in an iframe) |