assert_page_contains
Assert that a page's visible text or HTML source contains a specified string. Use source_only to check raw source instead of visible content.
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 |