BLOG
Built In Browser: What It Means for Apps and AI Agents
A built in browser can mean an embedded web view or a managed browser runtime. Learn the differences and how to choose and connect one for your app.

A built in browser is a browser experience or browser runtime integrated into another product, so users or software can work with web pages without separately opening and managing a browser application. The phrase can describe very different things: an embedded view inside a desktop app, a browser feature in an AI product, or a managed browser that an application controls through an API.
Those options are not interchangeable. If you are deciding how to add web access to an application or agent, first identify who needs to see and control the browser, where it should run, and how its session data should be isolated. Those choices determine whether an embedded web view, a local browser, or a hosted Chromium session is the right fit.
What “built in browser” means
The phrase usually describes integration, not a specific browser technology. A product may include browser access while relying on a separate browser engine and process behind the scenes. The browser can be visible to a person, controlled by application code, or available to an AI agent through tools.
Three common meanings are worth separating:
| Type | Where it runs | Main user | Typical use |
|---|---|---|---|
| Embedded web view | Inside a desktop or mobile app | Person using the app | Displaying web content without switching apps |
| Browser feature in a product | In the product’s interface or workflow | Person or agent | Searching, opening pages, or completing web tasks |
| Browser runtime for software | Locally or on hosted infrastructure | Application or agent code | Automating pages, testing flows, or interacting with websites |
An embedded web view is a component for rendering web content inside an application. It may use a platform web engine, and its capabilities and behavior depend on that platform. It is useful when the application owns the user experience, but it is not automatically a complete automation environment.
A browser feature in a product describes what the product lets someone do, not where the browser process runs. A “built in” browser may still depend on a remote service, a system browser, or a browser engine running in a separate process.
A browser runtime for software is the relevant meaning when code needs to navigate pages, interact with controls, and inspect results. In this case, “built in” means the browser is part of the application’s workflow. It does not necessarily mean Chromium is bundled into the application or running on the same machine.
How an application uses a browser
A browser automation workflow generally has three parts:
- A browser process renders and runs the site.
- A control interface sends commands, such as navigating, clicking, or reading page state.
- Application logic decides what to do with the resulting content and whether the task succeeded.
The browser process might be launched by a local script or provided as a hosted session. The control interface might be Playwright, Puppeteer, Selenium, or the Chrome DevTools Protocol (CDP). The application logic may be a test, a backend service, or an agent that selects actions from the page state.
This separation matters because adding browser controls to an interface does not itself provide a browser runtime. If your application includes a “search the web” button, you still need to decide which service fetches or renders pages. If an agent needs to interact with a logged-in website, it needs a browser session with the right state and permissions, not just a search result or HTML snapshot.
For an overview of this runtime layer, see remote browsers for AI agents. For the difference between remote access and simply opening a browser online, see remote browser online.
Embedded, local, or hosted?
The best option depends on the workflow rather than the label “built in browser.” An embedded view is designed around a person viewing content inside an application. A local browser is useful when the developer owns the execution machine. A hosted browser is useful when the application needs a browser process without managing Chrome on every worker.
| Approach | Strengths | Trade-offs |
|---|---|---|
| Embedded web view | Fits naturally into a desktop or mobile interface; can use app-specific navigation and controls | Platform-dependent behavior; browser automation and session isolation may require extra work |
| Local browser | Direct access to a developer’s environment; straightforward for local development and debugging | Requires installing and maintaining browser binaries; CI and server environments need their own setup |
| Hosted browser session | Browser runs outside the application worker; can be controlled remotely and observed through a live viewer | Requires network access and session lifecycle handling; usage and service limits apply |
A hosted browser does not eliminate application design work. Your code still needs to manage timeouts, retries, authentication state, and task verification. It does move browser process management out of your worker and gives the application a remote session it can control. Remote Browser provides hosted Chromium sessions with CDP access, Playwright compatibility, a live viewer, persistent profiles, session isolation, and configurable browser settings. Review the documentation for connection and session details.
Choose based on the workflow
Use an embedded view when a person needs to read or interact with a page inside your application and the platform’s web view is sufficient. Consider how navigation, downloads, authentication, and external links should work before treating the component as a general-purpose browser.
Use a local browser when automation runs on a controlled machine, such as a developer workstation or a dedicated test runner. Local execution is often practical during development, but production workers need predictable browser versions, resource allocation, and cleanup.
Use a hosted runtime when browser sessions need to run on remote workers, when you do not want to install and maintain browser binaries on each worker, or when operators need to inspect a live session. A hosted session can also separate the browser’s resources and state from the application process. It is not necessarily the right choice for every test: a local browser may be simpler if the test environment is already provisioned and controlled.
Connect Playwright to a remote browser
When a hosted runtime exposes a CDP WebSocket endpoint, Playwright can connect to the existing Chromium session rather than launching a local browser. The endpoint should be supplied by your browser provider or session-creation flow. Keep it in an environment variable or secret manager; do not commit a credential-bearing endpoint to source control.
import { chromium } from "playwright";
const endpoint = process.env.REMOTE_BROWSER_CDP_URL;
if (!endpoint) {
throw new Error("Set REMOTE_BROWSER_CDP_URL to the session CDP endpoint");
}
const browser = await chromium.connectOverCDP(endpoint);
try {
const context = browser.contexts()[0];
const page = context?.pages()[0] ?? await context?.newPage();
if (!page) {
throw new Error("The remote browser has no available context");
}
await page.goto("https://example.com", {
waitUntil: "domcontentloaded",
timeout: 30_000,
});
const title = await page.title();
console.log({ title, url: page.url() });
} finally {
await browser.close();
}This example assumes the session provides a context. Confirm the provider’s session lifecycle and connection requirements before using the pattern in production. In particular, determine whether closing the Playwright connection also ends the remote session, or whether the application must stop it through a separate session-management operation. The endpoint itself is not a substitute for access control: restrict who can retrieve and use it.
Playwright documents this connection method in its BrowserType `connectOverCDP` reference. CDP is Chromium-specific and offers a lower-fidelity connection than Playwright’s native protocol connection, so test the features your workflow depends on against the actual remote runtime.
Production criteria
A browser integrated into an application becomes infrastructure as soon as it handles real users, accounts, or production data. Evaluate the operational details before choosing an implementation.
- Session ownership: Decide which request or user owns each browser session and when that session expires. Avoid sharing one mutable session across unrelated tasks.
- Isolation: Keep browser state separated between users and jobs. Check how profiles, cookies, local storage, and downloads persist, and provide cleanup appropriate to the sensitivity of the workflow.
- Authentication: Prefer a deliberate login and profile strategy over passing credentials through arbitrary page scripts. Define who can access saved sessions and how to revoke them.
- Timeouts and cancellation: Set limits for navigation and actions. If a client disconnects or a job is canceled, make sure the browser session is closed or otherwise accounted for.
- Verification: Treat a successful click as an attempted action, not proof of completion. Confirm the resulting page state, URL, or application-specific signal before reporting success.
- Observability: Capture enough information to diagnose failures, such as task identifiers, action timing, and error categories. A live viewer can help investigate a running session, but it should be protected as carefully as the session itself.
- Capacity and cost: Estimate concurrent sessions and expected duration from your workload. Browser capacity is not the same as application request capacity. Check current service limits and pricing on the pricing page.
These criteria apply whether the browser is local or hosted. Hosting changes where the process runs; it does not remove the need to control session state, verify outcomes, or manage capacity.
Trade-offs to make explicit
The phrase “built in browser” can make the browser sound like a small feature, but the implementation may carry its own security and operational responsibilities. A web view has an application-facing surface and must be configured to avoid exposing unnecessary capabilities. An automated browser can hold authenticated state and interact with pages on behalf of a user. A hosted session introduces a network boundary and a provider dependency.
Choose the narrowest option that meets the workflow:
- If a person only needs to view a page in a desktop app, start with the platform’s web view.
- If a test or script runs on a maintained machine, start with a local browser and pin the relevant versions.
- If browser execution needs to be remote, shared across workers, or independently observable, evaluate a hosted browser runtime.
- If an agent must use a browser, give it scoped access to the session and require it to verify consequential actions.
A remote browser is not a replacement for an API when the site offers a stable, supported API for the task. Direct APIs are usually easier to reason about and more efficient for structured operations. Browser interaction is appropriate when the workflow depends on the website’s user interface or when no suitable API is available.
A practical selection checklist
Before adding a built in browser to an app or agent, write down the answers to these questions:
- Does a human need to see the page, or does software only need to interact with it?
- Does the browser need an existing user profile or authenticated session?
- Where will the browser run in development, testing, and production?
- How are sessions isolated, observed, timed out, and cleaned up?
- Which browser-control interface does the application already use?
- What evidence shows that a task actually completed?
- What concurrency, usage, and security limits apply?
The answers help distinguish a user-interface component from a browser runtime. For an application that needs software-controlled Chromium, the key decision is not whether the browser is “built in,” but whether the chosen runtime provides the control, isolation, and lifecycle your workflow requires. Remote Browser can provide a hosted Chromium session when remote execution fits those requirements; compare the operational details with a local browser before committing to either approach.