browser
Launch real Chrome, Firefox, and Safari browsers in the cloud. Control remotely, run tests, capture screenshots, and automate workflows with zero infrastructure setup.
browser
Browser.do
Overview
The browser primitive is part of the .do platform's semantic API system. It follows the $.Subject.verb.Object pattern for consistent, intuitive interactions across SDK, CLI, API, and MCP interfaces.
Semantic Pattern
All browser operations follow the semantic $.Browser.verb.Object pattern:
import { $, browser } from 'sdk.do'
// Create resources
await $.Browser.create.Resource({ /* config */ })
// Query data
await $.Browser.get.Data({ /* params */ })
// Update state
await $.Browser.update.Status({ /* changes */ })Quick Start
import { browser } from 'sdk.do'
// Initialize and use the primitive
const result = await browser.operation({
// configuration parameters
})Access Methods
The browser primitive is accessible through multiple interfaces:
SDK
TypeScript/JavaScript library for programmatic access:
import { browser } from 'sdk.do'
await browser.method({ /* ... */ })CLI
Command-line interface for terminal operations:
do browser <command> [options]API
REST/RPC endpoints for HTTP integration:
curl -X POST https://api.do/v1/browser \
-H "Content-Type: application/json" \
-d '{"key":"value"}'MCP
Model Context Protocol for AI assistant integration:
Use browser primitives with AI assistants via MCPRelated Primitives
See other primitives in the integration category.