Skip to main content
HyperAgent supports managing multiple browser pages within a single agent instance. This is useful for workflows that require data from multiple sources or parallel processing.

Creating Multiple Pages

Shared Browser, Isolated Agent History

All pages share the same browser context (cookies, storage, session state), but the agent’s history is tracked separately per page. This means:
  • Shared: Cookies, localStorage, authentication state
  • Isolated: The agent’s memory of what actions it took on each page
To pass data between pages explicitly, extract it and use it in your code:

Getting All Pages

Parallel Execution

Run tasks on multiple pages simultaneously: