assert_page_contains
Verify that a page contains a specified text string, checking either the full page source or visible body content to confirm expected behavior.
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 |