Skip to main content
Choose a browser image profile when the desktop needs Chromium or Firefox.

Configure Chromium

Set kind="firefox" to use Firefox.

Prewarm the browser

Set prewarm=True when browser startup is part of a measured bottleneck:
Prewarm starts the configured browser during desktop startup. It does not make a page ready for application use. Check the state that your task requires after you open the URL.

Inspect browser state

status() returns daemon browser state. render_metrics() opens the URL and returns the measured browser result. Render metrics require Chromium in version 1.1.0.

Use desktop primitives

The browser namespace handles browser lifecycle operations. Use the normal input and observation namespaces for page interaction:
Keep provider model loops in your application. Modal Computer Use provides provider adapters, but the core package does not call model APIs.