assert_page_contains
Verify that a specified string appears in the page's visible text or HTML source, with optional source-only checking for automated browser tests.
Instructions
Assert the full page source or visible text contains a string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| source_only | No | If true, checks page source; otherwise checks body visible text |