browser_assert
Assert browser states: page contains text, URL matches, or element visible. Returns pass/fail to prove an outcome, confirming the final destination rather than assuming a link indicates success.
Instructions
Prove an outcome instead of inferring it. Provide one of: contains (page text includes string), url_includes (current url contains string), ref_visible (a ref is present and visible). Returns pass/fail. When the goal is to reach a specific result, a matching link in a list is NOT success — click through and assert the destination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | ||
| contains | No | ||
| ref_visible | No | ||
| url_includes | No |