assert_text
Verifies expected text exists on the current page or inside a specific element, returning an error if not found.
Instructions
Assert that text is present on the page, or within a specific element.
Raises an error (returned as a tool error to the client) if not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |