1. Install `agent-browser` and any necessary dependencies.
2. Configure `agent-browser` with session or profile for isolated testing.
3. Navigate to the target URL using `agent-browser open <url>`.
4. Capture interactive element references with `agent-browser snapshot -i`.
5. Interact with elements using commands like `agent-browser click @e1` or `agent-browser fill @e2 "value"`.
6. Re-snapshot after page changes to update element references.
7. Assert expected output using `agent-browser get text <selector-or-ref>`.
8. Capture screenshots of the final state with `agent-browser screenshot <path>`.