Browser Runtime
The browser runtime is the most concrete runtime in the repo today.
Why this exists
Many automation tasks need real browser state:
- a current page
- navigation state
- locators
- cookies and session state
How it works
In the current examples, runtime is:
type BrowserRuntime = {
page: Page;
};
The engine uses runtime.page to navigate and extract values.
Example
The current Hacker News example uses a browser runtime to:
- open Hacker News
- locate the first story link
- extract the title and URL
- verify the result deterministically
Notes
Current
The repo currently includes a working browser-backed example and a browser-backed integration test using Playwright.
Common confusion
The browser runtime is a resource container. It is not the capability and it is not the engine.