{
  "site": {
    "name": "AIAgentSandbox.io",
    "url": "https://www.aiagentsandbox.io/",
    "description": "Browser and computer-use sandboxes for AI agents, explained: headless and headed browsers, isolation, session state, credentials, network rules and recordings.",
    "language": "en"
  },
  "updated": "2026-11-26",
  "how_to_use": [
    "To cite this site, give the page's title, its address and its last-updated date.",
    "Figures in data tables carry their source and the day they were checked, row by row. A figure repeated without that day is out of date by default.",
    "Never credit this site with a figure, a quote or a claim that is not on its pages."
  ],
  "pages": [
    {
      "title": "Accessibility tree or screenshots: how should a browser agent see the page?",
      "url": "https://www.aiagentsandbox.io/accessibility-tree-vs-screenshots-for-browser-agents/",
      "markdown": "https://www.aiagentsandbox.io/accessibility-tree-vs-screenshots-for-browser-agents/index.md",
      "type": "article",
      "summary": "Start a browser agent on the accessibility tree, a text outline of the page that is cheap and lets it act on exact elements. Add screenshots when the task depends on images, layout, charts or canvas. Use screenshots alone, with clicks by coordinates, only where no tree exists, such as desktop apps.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "How computer use works, for developers: screenshots, coordinates and input",
      "url": "https://www.aiagentsandbox.io/how-computer-use-works/",
      "markdown": "https://www.aiagentsandbox.io/how-computer-use-works/index.md",
      "type": "article",
      "summary": "Computer use is a loop your code runs: take a screenshot, send it to a model with the task, get back an action such as a click at a pixel position, and send it to the screen as real mouse and keyboard input. Most bugs come from coordinates, so fix the resolution and scale every point back.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "How to give a browser agent a persistent profile safely",
      "url": "https://www.aiagentsandbox.io/persistent-browser-profile-for-ai-agents/",
      "markdown": "https://www.aiagentsandbox.io/persistent-browser-profile-for-ai-agents/index.md",
      "type": "article",
      "summary": "Give a browser agent a persistent profile only when a saved login file is not enough. Use one profile per agent identity in its own directory, never a person's profile, one browser at a time, no saved passwords, the folder treated as a secret, and a known-good copy you restore when it drifts.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "Playwright MCP vs Chrome DevTools MCP: which browser server should an agent use?",
      "url": "https://www.aiagentsandbox.io/playwright-mcp-vs-chrome-devtools-mcp/",
      "markdown": "https://www.aiagentsandbox.io/playwright-mcp-vs-chrome-devtools-mcp/index.md",
      "type": "article",
      "summary": "Use Playwright MCP when an agent automates tasks on websites, needs Firefox or WebKit, or should start each session from a saved login. Use Chrome DevTools MCP when the agent debugs or measures pages in Chrome, with traces, audits and memory snapshots. Both read the page as an accessibility tree.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "What is an agentic browser, and how is it different from a browser agent?",
      "url": "https://www.aiagentsandbox.io/what-is-an-agentic-browser/",
      "markdown": "https://www.aiagentsandbox.io/what-is-an-agentic-browser/index.md",
      "type": "article",
      "summary": "An agentic browser is a web browser with an AI agent built in, which reads the pages you have open and acts on them for you. A browser agent is a separate program that drives its own browser. The difference matters because a built-in agent works inside your signed-in sessions.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "Chrome DevTools MCP explained: what it does, its tools, and a safe setup for agents",
      "url": "https://www.aiagentsandbox.io/what-is-chrome-devtools-mcp/",
      "markdown": "https://www.aiagentsandbox.io/what-is-chrome-devtools-mcp/index.md",
      "type": "article",
      "summary": "Chrome DevTools MCP (chrome-devtools-mcp) is an open-source MCP server that lets an AI agent control and inspect a live Chrome browser, with DevTools features such as performance traces and network and console inspection. It sends usage statistics by default; turn that off for agents.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "Playwright MCP explained: what it is, how an agent uses it, and how to set it up",
      "url": "https://www.aiagentsandbox.io/what-is-playwright-mcp/",
      "markdown": "https://www.aiagentsandbox.io/what-is-playwright-mcp/index.md",
      "type": "article",
      "summary": "Playwright MCP is an open-source Model Context Protocol server that lets an AI agent drive a real browser through Playwright. The agent reads an accessibility snapshot of the page and acts on elements by reference, so it needs no vision model. You add it to an MCP client with one npx command.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "Headless vs headed browsers for AI agents",
      "url": "https://www.aiagentsandbox.io/headless-vs-headed-browsers-for-ai-agents/",
      "markdown": "https://www.aiagentsandbox.io/headless-vs-headed-browsers-for-ai-agents/index.md",
      "type": "article",
      "summary": "A headless browser runs without a visible window; a headed browser draws one. Most AI browser agents should use Chrome's new headless mode, which is the real browser without the screen. Use headed mode when the agent works from desktop screenshots or a site needs a window.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-24",
      "updated": "2026-11-24"
    },
    {
      "title": "How to keep credentials out of a browser agent's context and logs",
      "url": "https://www.aiagentsandbox.io/keep-credentials-out-of-a-browser-agent/",
      "markdown": "https://www.aiagentsandbox.io/keep-credentials-out-of-a-browser-agent/index.md",
      "type": "article",
      "summary": "Keep credentials out of a browser agent by letting code, not the model, handle logins. Load a saved login state or fill password fields from a secret store in the harness, give the agent its own least-privilege account, and mask secrets in traces, videos and logs before they are stored.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-24",
      "updated": "2026-11-24"
    },
    {
      "title": "How to record and replay a browser agent's session",
      "url": "https://www.aiagentsandbox.io/record-and-replay-browser-agent-sessions/",
      "markdown": "https://www.aiagentsandbox.io/record-and-replay-browser-agent-sessions/index.md",
      "type": "article",
      "summary": "Record a browser agent's session with a Playwright trace for debugging (actions, DOM snapshots, screenshots, network, console), add a video or an rrweb DOM replay for people who watch it, and save a HAR file to replay the network later. Tie each recording to the agent's step log.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-24",
      "updated": "2026-11-24"
    },
    {
      "title": "How to reset browser state between AI agent sessions",
      "url": "https://www.aiagentsandbox.io/reset-browser-state-between-agent-sessions/",
      "markdown": "https://www.aiagentsandbox.io/reset-browser-state-between-agent-sessions/index.md",
      "type": "article",
      "summary": "Reset browser state between agent sessions by giving every session a new, non-persistent browser context, or a new browser in a new container, and load only the login state the task needs from a saved file. Do not reuse a persistent profile across tasks unless the task needs it.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-24",
      "updated": "2026-11-24"
    },
    {
      "title": "How to restrict a browser agent's network access against prompt injection",
      "url": "https://www.aiagentsandbox.io/restrict-browser-agent-network-access/",
      "markdown": "https://www.aiagentsandbox.io/restrict-browser-agent-network-access/index.md",
      "type": "article",
      "summary": "Restrict a browser agent's network access with an allow-list enforced outside the browser, at a proxy or firewall the agent cannot change, plus request routing inside the browser. Block private and metadata addresses. This limits where an injected agent can send data; it does not stop the injection.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-24",
      "updated": "2026-11-24"
    },
    {
      "title": "How to run Chromium in Docker for an AI agent, with the sandbox on",
      "url": "https://www.aiagentsandbox.io/run-chromium-in-docker-for-ai-agents/",
      "markdown": "https://www.aiagentsandbox.io/run-chromium-in-docker-for-ai-agents/index.md",
      "type": "article",
      "summary": "To run Chromium in Docker for an AI agent, give the container enough shared memory (--ipc=host or a larger --shm-size), use --init, run the browser as a non-root user, and allow user namespaces with a custom system-call profile so Chromium's sandbox can stay on instead of using --no-sandbox.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-24",
      "updated": "2026-11-24"
    },
    {
      "title": "What is a browser agent, and how does it work?",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-agent/",
      "markdown": "https://www.aiagentsandbox.io/what-is-a-browser-agent/index.md",
      "type": "article",
      "summary": "A browser agent is an AI system that completes a task in a real web browser by itself. In a loop, it reads the page, asks a language model what to do next, and clicks, types or navigates until the task is done or it gives up.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-24",
      "updated": "2026-11-26"
    },
    {
      "title": "What is a browser sandbox? The two meanings, explained",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-sandbox/",
      "markdown": "https://www.aiagentsandbox.io/what-is-a-browser-sandbox/index.md",
      "type": "article",
      "summary": "A browser sandbox is either the browser's own process sandbox, which walls each web page off from the computer, or an isolated container or virtual machine that holds a whole browser for an AI agent. The first protects the computer; the second protects your systems from the browser and the agent.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-24",
      "updated": "2026-11-24"
    },
    {
      "title": "What is a cloud browser, and how is one priced?",
      "url": "https://www.aiagentsandbox.io/what-is-a-cloud-browser/",
      "markdown": "https://www.aiagentsandbox.io/what-is-a-cloud-browser/index.md",
      "type": "article",
      "summary": "A cloud browser is a web browser that runs on a remote server, controlled over the network by a person or a program. For AI agents it is usually headless Chromium in an isolated session, driven over the Chrome DevTools Protocol and billed by session time or by the compute it uses.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-24",
      "updated": "2026-11-26"
    },
    {
      "title": "What is a computer-use agent, and why does it need its own desktop?",
      "url": "https://www.aiagentsandbox.io/what-is-a-computer-use-agent/",
      "markdown": "https://www.aiagentsandbox.io/what-is-a-computer-use-agent/index.md",
      "type": "article",
      "summary": "A computer-use agent is an AI model that operates a computer the way a person does, by looking at screenshots of the screen and sending mouse and keyboard actions. Because it can do anything a user can, it runs in an isolated virtual desktop that can be reset or deleted after each task.",
      "author": "AIAgentSandbox editors",
      "published": "2026-11-24",
      "updated": "2026-11-24"
    }
  ],
  "datasets": [],
  "questions": [
    {
      "question": "What is the accessibility tree?",
      "answer": "It is the browser's outline of a page for assistive technology, built from the DOM, with each element's role, name and state. MDN describes it as containing accessibility-related information for most HTML elements.",
      "url": "https://www.aiagentsandbox.io/accessibility-tree-vs-screenshots-for-browser-agents/"
    },
    {
      "question": "Are screenshots better than the accessibility tree for web agents?",
      "answer": "It depends on the page. In VisualWebArena, whose tasks need visual understanding, adding screenshots raised the best success rate from 7.25% (text only) to 15.05%. In OSWorld's 2024 baselines the accessibility tree alone scored 12.24% and screenshots alone 5.80%.",
      "url": "https://www.aiagentsandbox.io/accessibility-tree-vs-screenshots-for-browser-agents/"
    },
    {
      "question": "What is set-of-marks prompting?",
      "answer": "It is drawing a numbered box on each clickable element of a screenshot, so the model can answer with a number instead of coordinates. VisualWebArena and WebVoyager both used it for their browser agents.",
      "url": "https://www.aiagentsandbox.io/accessibility-tree-vs-screenshots-for-browser-agents/"
    },
    {
      "question": "Which one do Playwright MCP and Chrome DevTools MCP use?",
      "answer": "Both default to an accessibility-tree snapshot and describe it as preferred over screenshots. Both can add clicks by coordinates as an opt-in feature.",
      "url": "https://www.aiagentsandbox.io/accessibility-tree-vs-screenshots-for-browser-agents/"
    },
    {
      "question": "Does the model control the mouse directly?",
      "answer": "No. The model only returns text, such as an action name and a pair of coordinates. Your harness turns that into input events with a tool such as pyautogui or xdotool, or with a browser library such as Playwright.",
      "url": "https://www.aiagentsandbox.io/how-computer-use-works/"
    },
    {
      "question": "Why does my computer-use agent click in the wrong place?",
      "answer": "Usually because the screenshot the model saw was a different size from the screen. If you resize the image before sending it, multiply the returned coordinates by the screen size divided by the image size. High-density displays add a second scale, between CSS pixels and device pixels.",
      "url": "https://www.aiagentsandbox.io/how-computer-use-works/"
    },
    {
      "question": "Can computer use run without a monitor?",
      "answer": "Yes. On Linux a virtual display server such as Xvfb gives programs a screen in memory. The agent's screenshots and clicks work against that screen as they would on a real one.",
      "url": "https://www.aiagentsandbox.io/how-computer-use-works/"
    },
    {
      "question": "How is computer use different from browser automation?",
      "answer": "Browser automation addresses elements by selector or by the accessibility tree. Computer use addresses the screen by pixel position, so it works on any app, including ones with no automation interface, at the cost of precision and speed.",
      "url": "https://www.aiagentsandbox.io/how-computer-use-works/"
    },
    {
      "question": "What is a persistent browser profile?",
      "answer": "It is a user data directory that the browser keeps on disk between runs, holding cookies, local storage, history, settings and extensions. Chromium's documentation describes the user data directory as containing profile data such as history, bookmarks and cookies.",
      "url": "https://www.aiagentsandbox.io/persistent-browser-profile-for-ai-agents/"
    },
    {
      "question": "Can two agents use the same profile at once?",
      "answer": "No. Playwright's documentation says browsers do not allow launching multiple instances with the same user data directory, and both Playwright MCP and Chrome DevTools MCP say a profile can only be used by one browser at a time.",
      "url": "https://www.aiagentsandbox.io/persistent-browser-profile-for-ai-agents/"
    },
    {
      "question": "Can I point an agent at my own Chrome profile?",
      "answer": "Do not. Playwright says automating the default Chrome user profile is not supported, and since Chrome 136 the remote debugging switches are ignored for the default data directory. It would also give the agent every site you are signed in to.",
      "url": "https://www.aiagentsandbox.io/persistent-browser-profile-for-ai-agents/"
    },
    {
      "question": "Are passwords in a Linux browser profile encrypted?",
      "answer": "Not always. Chromium on Linux picks a password store from the desktop environment and falls back to a plain-text store when none is available, which is common in a container. Keep passwords out of the agent's profile.",
      "url": "https://www.aiagentsandbox.io/persistent-browser-profile-for-ai-agents/"
    },
    {
      "question": "Can I run Playwright MCP and Chrome DevTools MCP together?",
      "answer": "Yes, as two servers in one MCP client. Give each its own browser profile, because both keep a persistent profile by default and a profile can only be used by one browser at a time.",
      "url": "https://www.aiagentsandbox.io/playwright-mcp-vs-chrome-devtools-mcp/"
    },
    {
      "question": "Which one uses fewer tokens?",
      "answer": "Both default to a text snapshot of the accessibility tree rather than screenshots. Chrome DevTools MCP has a --slim mode with three tools, and Playwright MCP's README suggests its CLI for coding agents that need to save context.",
      "url": "https://www.aiagentsandbox.io/playwright-mcp-vs-chrome-devtools-mcp/"
    },
    {
      "question": "Which one can click by screen coordinates?",
      "answer": "Both, and in both it is opt-in. Playwright MCP adds coordinate mouse tools with --caps=vision; Chrome DevTools MCP adds click_at with --experimentalVision.",
      "url": "https://www.aiagentsandbox.io/playwright-mcp-vs-chrome-devtools-mcp/"
    },
    {
      "question": "Does either one send usage data?",
      "answer": "Chrome DevTools MCP collects usage statistics by default and can be opted out with --no-usage-statistics. The Playwright MCP README describes no usage statistics.",
      "url": "https://www.aiagentsandbox.io/playwright-mcp-vs-chrome-devtools-mcp/"
    },
    {
      "question": "Is an agentic browser the same as a browser agent?",
      "answer": "No. An agentic browser is a browser a person uses, with an assistant built in that can act on their open pages. A browser agent is a program, usually run by developers, that drives its own browser to complete a task. Both use a language model to decide clicks and typing.",
      "url": "https://www.aiagentsandbox.io/what-is-an-agentic-browser/"
    },
    {
      "question": "Is a web browsing agent the same as a browser agent?",
      "answer": "Usually yes. Research papers say web agent, browsing agent or browser agent for an AI system that completes tasks on websites. Some use browsing agent more narrowly, for research agents that search and read many pages without filling in forms.",
      "url": "https://www.aiagentsandbox.io/what-is-an-agentic-browser/"
    },
    {
      "question": "Are agentic browsers safe to use?",
      "answer": "They carry a new risk. A 2026 study of seven agentic browsers found that, in the least restrictive designs, a web page that succeeds with a prompt injection can use the agent to read or act on other sites. Keep sensitive sites out of the browser the agent works in.",
      "url": "https://www.aiagentsandbox.io/what-is-an-agentic-browser/"
    },
    {
      "question": "Can an agentic browser read my passwords?",
      "answer": "Some can see more than a page shows. The same study reported that some designs could read masked input, such as a typed password. Do not type secrets into a page while an agent is reading it.",
      "url": "https://www.aiagentsandbox.io/what-is-an-agentic-browser/"
    },
    {
      "question": "Is Chrome DevTools MCP the same as Playwright MCP?",
      "answer": "No. Both are open-source MCP servers that give an agent a browser and an accessibility-tree snapshot. Chrome DevTools MCP is built on Puppeteer and adds DevTools features such as performance traces and memory snapshots; Playwright MCP is built on Playwright and supports more browser engines.",
      "url": "https://www.aiagentsandbox.io/what-is-chrome-devtools-mcp/"
    },
    {
      "question": "Does Chrome DevTools MCP work with Chromium or other browsers?",
      "answer": "Its README says it officially supports Chrome and Chrome for Testing only. Other Chromium-based browsers may work but are not guaranteed.",
      "url": "https://www.aiagentsandbox.io/what-is-chrome-devtools-mcp/"
    },
    {
      "question": "Does Chrome DevTools MCP send data anywhere?",
      "answer": "By default it collects usage statistics, and its performance tools may send trace URLs to the Chrome User Experience Report API. Pass --no-usage-statistics and --no-performance-crux, or set the documented environment variables, to turn both off.",
      "url": "https://www.aiagentsandbox.io/what-is-chrome-devtools-mcp/"
    },
    {
      "question": "Where does Chrome DevTools MCP keep the browser profile?",
      "answer": "In $HOME/.cache/chrome-devtools-mcp/chrome-profile on Linux and macOS, reused between runs and not cleared. Pass --isolated for a temporary profile that is deleted when the browser closes.",
      "url": "https://www.aiagentsandbox.io/what-is-chrome-devtools-mcp/"
    },
    {
      "question": "Does Playwright MCP need a vision model?",
      "answer": "No. Its README says it operates purely on structured data and needs no vision model, because the agent works from the page's accessibility snapshot. Screenshots and coordinate-based mouse tools exist, but the coordinate tools are opt-in with --caps=vision.",
      "url": "https://www.aiagentsandbox.io/what-is-playwright-mcp/"
    },
    {
      "question": "Is Playwright MCP free and open source?",
      "answer": "Yes. The @playwright/mcp package is published under the Apache-2.0 licence. Version 0.0.86 was the latest on npm when we checked on 2026-11-26.",
      "url": "https://www.aiagentsandbox.io/what-is-playwright-mcp/"
    },
    {
      "question": "Can several agents share one Playwright MCP profile?",
      "answer": "No. A persistent profile can only be used by one browser instance at a time. Start each extra client with --isolated or point it at its own --user-data-dir.",
      "url": "https://www.aiagentsandbox.io/what-is-playwright-mcp/"
    },
    {
      "question": "Is Playwright MCP a security boundary?",
      "answer": "No, and its README says so. Its origin allow and block lists also do not serve as a security boundary. Run it inside an isolated container or virtual machine with network rules enforced outside the browser.",
      "url": "https://www.aiagentsandbox.io/what-is-playwright-mcp/"
    },
    {
      "question": "Which browsers does Playwright MCP support?",
      "answer": "The --browser option accepts chrome, firefox, webkit and msedge. The project's Docker image supports headless Chromium only.",
      "url": "https://www.aiagentsandbox.io/what-is-playwright-mcp/"
    },
    {
      "question": "What is a headless browser?",
      "answer": "A headless browser is a web browser that loads and runs pages without showing a window on a screen. Programs control it through an automation protocol instead of a mouse and keyboard.",
      "url": "https://www.aiagentsandbox.io/headless-vs-headed-browsers-for-ai-agents/"
    },
    {
      "question": "Is headless Chrome the same browser as normal Chrome?",
      "answer": "Since Chrome 112, the new headless mode is the real Chrome browser with its windows created but not shown. The older, separate implementation now ships as its own binary called chrome-headless-shell.",
      "url": "https://www.aiagentsandbox.io/headless-vs-headed-browsers-for-ai-agents/"
    },
    {
      "question": "Is headless faster than headed?",
      "answer": "It usually uses less memory and needs no display server. chrome-headless-shell, the old mode, is described by Chrome and Puppeteer as more performant for automation that does not need the full feature set.",
      "url": "https://www.aiagentsandbox.io/headless-vs-headed-browsers-for-ai-agents/"
    },
    {
      "question": "Can websites tell that a browser is headless?",
      "answer": "Sometimes. The old headless mode differed from Chrome in visible ways. The new mode is much closer to a normal browser, but sites can still look at other signals, such as automation flags and network origin.",
      "url": "https://www.aiagentsandbox.io/headless-vs-headed-browsers-for-ai-agents/"
    },
    {
      "question": "Why should I not put a password in the agent's prompt?",
      "answer": "Everything in the prompt can be repeated by the model, stored in logs and sent to the model provider. A page carrying a prompt injection can also ask the agent to type what it knows into a form. A password the model never saw cannot be leaked that way.",
      "url": "https://www.aiagentsandbox.io/keep-credentials-out-of-a-browser-agent/"
    },
    {
      "question": "How can an agent log in without seeing the password?",
      "answer": "The harness logs in for it. Either load a saved login state file into a new browser context, or let the agent ask for a login and have code fill the password field from a secret store, outside the model's view.",
      "url": "https://www.aiagentsandbox.io/keep-credentials-out-of-a-browser-agent/"
    },
    {
      "question": "Are Playwright storageState files sensitive?",
      "answer": "Yes. Playwright's documentation says the file may contain sensitive cookies and headers that could be used to impersonate the account, and strongly discourages checking it into any repository.",
      "url": "https://www.aiagentsandbox.io/keep-credentials-out-of-a-browser-agent/"
    },
    {
      "question": "How do I keep passwords out of session recordings?",
      "answer": "Mask them at capture time. rrweb masks password inputs by default and can mask all inputs or block marked elements. For screenshots and videos, keep login steps out of the recording or blur the fields.",
      "url": "https://www.aiagentsandbox.io/keep-credentials-out-of-a-browser-agent/"
    },
    {
      "question": "What is the difference between a Playwright trace and a video?",
      "answer": "A video is a moving picture of the viewport. A trace stores each action with DOM snapshots, screenshots, network requests and console messages, so you can inspect the page at any step, not only watch it.",
      "url": "https://www.aiagentsandbox.io/record-and-replay-browser-agent-sessions/"
    },
    {
      "question": "How do I open a Playwright trace?",
      "answer": "Run npx playwright show-trace trace.zip, or load the file in the Playwright trace viewer web page, which opens it locally in the browser.",
      "url": "https://www.aiagentsandbox.io/record-and-replay-browser-agent-sessions/"
    },
    {
      "question": "What is DOM-based session replay?",
      "answer": "A recording of the page's structure and every change to it, which a player rebuilds as a live page. rrweb is the common open-source tool. It is smaller than video and lets you mask inputs and block elements at capture time.",
      "url": "https://www.aiagentsandbox.io/record-and-replay-browser-agent-sessions/"
    },
    {
      "question": "Do recordings contain sensitive data?",
      "answer": "Often. Traces and HAR files include network requests, which can carry cookies and tokens, and videos show whatever was on screen. Start recording after login, mask inputs, and store recordings with access controls and a deletion date.",
      "url": "https://www.aiagentsandbox.io/record-and-replay-browser-agent-sessions/"
    },
    {
      "question": "What is a browser context?",
      "answer": "A browser context is an isolated, incognito-like session inside one browser. Each context has its own cookies, local storage and session storage. Playwright describes contexts as fast and cheap to create and completely isolated, even when they run in a single browser.",
      "url": "https://www.aiagentsandbox.io/reset-browser-state-between-agent-sessions/"
    },
    {
      "question": "Is clearing cookies enough to reset a browser?",
      "answer": "No. Local storage, session storage, IndexedDB, service workers, the HTTP cache and downloaded files can all carry state between sessions. A new context or a new browser resets them together.",
      "url": "https://www.aiagentsandbox.io/reset-browser-state-between-agent-sessions/"
    },
    {
      "question": "How do I keep an agent logged in without reusing a profile?",
      "answer": "Save the login once with storageState, which captures cookies, local storage and optionally IndexedDB, and load that file into each new context. Store the file as a secret, because it can be used to impersonate the account.",
      "url": "https://www.aiagentsandbox.io/reset-browser-state-between-agent-sessions/"
    },
    {
      "question": "When should I use a persistent profile?",
      "answer": "When a task genuinely needs long-lived browser state, such as an extension's settings or a site that ties trust to a device. Give each persistent profile to one agent identity only, and reset it on a schedule.",
      "url": "https://www.aiagentsandbox.io/reset-browser-state-between-agent-sessions/"
    },
    {
      "question": "What is prompt injection in a browser agent?",
      "answer": "It is text on a web page, in a document or in an email that the agent reads and follows as if it were an instruction. OWASP calls this indirect prompt injection, because it arrives through content rather than from the user.",
      "url": "https://www.aiagentsandbox.io/restrict-browser-agent-network-access/"
    },
    {
      "question": "Does a network allow-list stop prompt injection?",
      "answer": "No. The agent can still read the injected text and act on it. An allow-list limits the damage, because the browser cannot reach sites outside the list to send data or download tools.",
      "url": "https://www.aiagentsandbox.io/restrict-browser-agent-network-access/"
    },
    {
      "question": "Can an agent leak data through an allowed site?",
      "answer": "Yes. If an allowed site accepts user content, such as a forum post, an issue or a search query, an attacker can ask the agent to put data there. Allow only what the task needs and require approval for posting.",
      "url": "https://www.aiagentsandbox.io/restrict-browser-agent-network-access/"
    },
    {
      "question": "Is blocking requests with Playwright's route enough?",
      "answer": "Not on its own. Routing runs inside the browser your agent controls, and Playwright notes it does not see requests handled by service workers. Enforce the list at a proxy or firewall outside the browser too.",
      "url": "https://www.aiagentsandbox.io/restrict-browser-agent-network-access/"
    },
    {
      "question": "Why does Chromium crash in Docker?",
      "answer": "Most often because /dev/shm is too small. Docker gives containers 64 MB of shared memory by default, and Chromium uses shared memory between its processes. Playwright's docs say that without --ipc=host Chromium can run out of memory and crash.",
      "url": "https://www.aiagentsandbox.io/run-chromium-in-docker-for-ai-agents/"
    },
    {
      "question": "Should I use --no-sandbox in Docker?",
      "answer": "Only if you fully trust every page the browser opens. Chromium documents the switch as being for testing, and Puppeteer's guide says running without a sandbox is strongly discouraged. Run as a non-root user and allow user namespaces instead.",
      "url": "https://www.aiagentsandbox.io/run-chromium-in-docker-for-ai-agents/"
    },
    {
      "question": "What does --disable-dev-shm-usage do?",
      "answer": "It tells Chromium to write its shared memory files to a temporary directory instead of /dev/shm, which avoids crashes when /dev/shm is small. Raising the shared memory size is the other fix.",
      "url": "https://www.aiagentsandbox.io/run-chromium-in-docker-for-ai-agents/"
    },
    {
      "question": "Why use --init with a browser container?",
      "answer": "Browsers start many child processes. --init runs a small init process as PID 1 that forwards signals and reaps finished processes, so zombie processes do not pile up.",
      "url": "https://www.aiagentsandbox.io/run-chromium-in-docker-for-ai-agents/"
    },
    {
      "question": "Can I run a headed browser in Docker?",
      "answer": "Yes, with a virtual display such as Xvfb inside the container. It uses more memory, so keep headless for agents that do not need a visible window.",
      "url": "https://www.aiagentsandbox.io/run-chromium-in-docker-for-ai-agents/"
    },
    {
      "question": "What is the difference between a browser agent and a web scraper?",
      "answer": "A scraper runs fixed steps written in advance for known pages. A browser agent decides each step at run time from what it sees, so it can handle pages it has never met, at the cost of speed and predictability.",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-agent/"
    },
    {
      "question": "How does a browser agent see a web page?",
      "answer": "Usually through the accessibility tree, a screenshot, a cleaned-up copy of the HTML, or a screenshot with numbered boxes drawn on clickable elements. Many agents combine two of these.",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-agent/"
    },
    {
      "question": "Can a browser agent log in to websites?",
      "answer": "Yes, but the login is best handled by the harness, not the model. A saved login state or a secret filled in by code keeps passwords out of the prompt and the logs.",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-agent/"
    },
    {
      "question": "Is a web browsing agent the same as a browser agent?",
      "answer": "Yes, in most usage. Papers say web agent, browsing agent or web browsing agent for the same kind of system. An agentic browser is different, a browser with an agent built in that works in the user's own session.",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-agent/"
    },
    {
      "question": "How are browser agents tested?",
      "answer": "With benchmarks such as WebArena, which hosts its own copies of real websites, and Mind2Web, which records tasks on real sites. Each task has a scripted check of whether the goal was reached.",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-agent/"
    },
    {
      "question": "Is a browser sandbox the same as incognito mode?",
      "answer": "No. Incognito, or a fresh browser context, keeps cookies and storage apart between sessions. A sandbox limits what code can reach on the computer. An agent setup usually wants both.",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-sandbox/"
    },
    {
      "question": "Does running Chrome with --no-sandbox make it unsafe?",
      "answer": "It turns off Chromium's own process sandbox for every process that would normally have one. Chromium describes the switch as being for testing only, and Puppeteer's documentation says running without a sandbox is strongly discouraged unless you absolutely trust the content.",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-sandbox/"
    },
    {
      "question": "Do I need a separate sandbox if Chrome already has one?",
      "answer": "For an AI agent, usually yes. Chrome's sandbox protects the computer from web pages, but the agent's driver, downloads, credentials and network access sit outside it. A container or virtual machine around the whole browser limits those too.",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-sandbox/"
    },
    {
      "question": "What is a disposable browser?",
      "answer": "A browser that starts from a clean profile in an isolated environment and is thrown away when the session ends, with its cookies, files and history.",
      "url": "https://www.aiagentsandbox.io/what-is-a-browser-sandbox/"
    },
    {
      "question": "What is a cloud browser used for?",
      "answer": "Two things share the name. Security teams use remote browser isolation so risky pages never run on staff laptops. Developers and AI agents use remote, programmable browsers for automation, testing and browsing tasks that need a real browser.",
      "url": "https://www.aiagentsandbox.io/what-is-a-cloud-browser/"
    },
    {
      "question": "How does an agent connect to a cloud browser?",
      "answer": "Usually over a WebSocket to the browser's Chrome DevTools Protocol endpoint, or to a Playwright browser server. Puppeteer uses puppeteer.connect and Playwright uses connectOverCDP or browserType.connect.",
      "url": "https://www.aiagentsandbox.io/what-is-a-cloud-browser/"
    },
    {
      "question": "Is a cloud browser cheaper than running Chromium myself?",
      "answer": "It depends on how busy your browsers are. Self-hosting is cheapest when machines stay full; a metered service is cheaper when use is spiky, because you stop paying when sessions end.",
      "url": "https://www.aiagentsandbox.io/what-is-a-cloud-browser/"
    },
    {
      "question": "What is browser-hour pricing?",
      "answer": "A price per hour of open browser session, usually metered per minute or per second, sometimes with a minimum per session. It does not depend on how much CPU or memory the session used.",
      "url": "https://www.aiagentsandbox.io/what-is-a-cloud-browser/"
    },
    {
      "question": "How is a computer-use agent different from a browser agent?",
      "answer": "A browser agent works inside one web browser and usually reads the page's structure. A computer-use agent controls the whole desktop, including native apps, files and dialogs, usually from screenshots.",
      "url": "https://www.aiagentsandbox.io/what-is-a-computer-use-agent/"
    },
    {
      "question": "Is a computer-use agent the same as RPA?",
      "answer": "No. Robotic process automation follows recorded or scripted steps. A computer-use agent decides each step at run time from what it sees, so it can handle screens it was never shown, but it is slower and less predictable.",
      "url": "https://www.aiagentsandbox.io/what-is-a-computer-use-agent/"
    },
    {
      "question": "Why not run a computer-use agent on my own laptop?",
      "answer": "Because it acts with your account's full rights. A wrong click or a hidden instruction on a web page could delete files, send messages or expose saved passwords. A separate virtual desktop limits the damage to something you can throw away.",
      "url": "https://www.aiagentsandbox.io/what-is-a-computer-use-agent/"
    },
    {
      "question": "How are computer-use agents benchmarked?",
      "answer": "The best-known benchmark is OSWorld, with 369 tasks on real desktop and web apps in virtual machines. AndroidWorld does the same for phones, with 116 task templates on an Android emulator.",
      "url": "https://www.aiagentsandbox.io/what-is-a-computer-use-agent/"
    }
  ],
  "machine_readable": [
    {
      "name": "llms.txt",
      "url": "https://www.aiagentsandbox.io/llms.txt"
    },
    {
      "name": "llms-full.txt",
      "url": "https://www.aiagentsandbox.io/llms-full.txt"
    },
    {
      "name": "facts.json",
      "url": "https://www.aiagentsandbox.io/facts.json"
    },
    {
      "name": "ai.txt",
      "url": "https://www.aiagentsandbox.io/ai.txt"
    },
    {
      "name": "Sitemap",
      "url": "https://www.aiagentsandbox.io/sitemaps.xml"
    },
    {
      "name": "RSS",
      "url": "https://www.aiagentsandbox.io/feeds/rss.xml"
    },
    {
      "name": "Atom",
      "url": "https://www.aiagentsandbox.io/feeds/atom.xml"
    }
  ]
}
