Execute webpage actions and assertions from a checklist, output a machine-readable report, and use Recording to retain evidence for Replay during regression testing and failure analysis.

Mandatory prerequisite: First fetch and fully execute the official Lexmount Setup Prompt returned by https://browser.lexmount.cn/api/agent-setup/browser-cli, completing installation, authentication, and environment validation. Continue only after every check passes. If the URL is unreachable or validation fails, stop immediately and report it; never skip the setup or pretend it succeeded.
Task: Use browser-cli only to create a temporary Session with Recording enabled, check the navigation flow from https://lexmount.cn/ to https://browser.lexmount.cn/docs, and save the report to artifacts/web-check-report.json in the working directory.
Flow: Open the website and confirm that the title contains “Lexmount” and the main heading contains “企业级浏览能力.” Click “Documentation,” confirm that the final URL enters the documentation page, then verify that the title and main heading contain “文档总览.”
Execution: Perform each action and assertion in order. Determine page state through the URL, title, or visible elements without using a fixed sleep. After the first failure, mark all remaining steps as skipped and save every result collected so far.
Acceptance: Success requires Recording to be confirmed as enabled when the Session is created, every webpage check to pass, the report to exist, be non-empty, and parse as JSON, and the Session to close successfully.
Cleanup: On success, failure, timeout, or cancellation, close only the Session created for this task and retain the Recording. If closing fails, report “partial success.” Never close a pre-existing Session.
Return: Report only the status, check count, first failed step, report path, Recording result, cleanup result, and error summary. Do not expose API keys, Project IDs, Session IDs, or connection URLs.