Skip to main content
This page is for browser-use 0.x. Current docs: Introduction. Upgrading: Migrating to 1.0. To stay on 0.x, pin it: pip install 'browser-use<1'.

Agent History

The run() method returns an AgentHistoryList object with the complete execution history:
See all helper methods in the AgentHistoryList source code.

Structured Output

For structured output, use the output_model_schema parameter with a Pydantic model. Example. is_done() does not imply success. is_successful() reports the agent’s own assessment; verify important external outcomes, such as a submitted form or a completed purchase, against the destination system.