get_text
Extract visible text from a web page or element using CSS selectors or refs. Ideal for reading content, web scraping, or verifying UI text.
Instructions
Get visible text of the page or an element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from a prior read (exactly one of selector|ref) | |
| tabId | No | Target tab id (defaults to the active tab) | |
| selector | No | CSS selector (exactly one of selector|ref) |