browser_get_text
Retrieve the text content of a web element using CSS, XPath, or other selectors. Specify the session and element to extract targeted text.
Instructions
Get the text content of an element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID | |
| selector | No | Element selector (CSS selector by default) | body |
| by | No | Selector type (css, xpath, id, name, class, tag) | css |
| max_length | No | Maximum text length to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |