get_text
Extract visible text content from web elements using locators like CSS, XPath, or ID. Specify the selector and optional timeout to retrieve text for UI assertions or data extraction.
Instructions
Get the visible text content of an element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Locator strategy | css |
| timeout | No | Wait timeout in seconds | |
| selector | Yes | CSS selector, XPath, or other locator value |