account_verify
Verify whether a named account remains logged in. First call teaches the login-check page and predicate; later calls only need the account name, while the check also refreshes its cookies.
Instructions
Check whether a named account is still logged in. Teach-once: the first call passes url + predicate (a JS expression truthy on a logged-in page, e.g. !!document.querySelector('.user-nick')); the spec is remembered and later calls can be bare. Runs in a scratch session AS the account (private jar), so the probe doubles as a cookie refresh. Returns {name, logged_in, url, checked_at}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Teach-once: the page that shows login state (its login wall if the account is logged out). Remembered after the first call. | |
| name | Yes | The account to check. | |
| predicate | No | Teach-once: a JS expression that is truthy when logged in, e.g. `!!document.querySelector('.user-nick')`. Remembered after the first call — later calls can pass neither and rerun the spec. |