# Blog

> Measured notes on browser automation for AI agents: what Claude Code, Codex and Cursor pay to use websites, and how to make them remember.

Canonical: https://dejo.run/blog

> For AI agents: the index of this site is https://dejo.run/llms.txt, and every page is also served as markdown (add .md to its address, or send Accept: text/markdown).

- [Codex browser: what works in the CLI and IDE](https://dejo.run/blog/codex-browser) - 2026-11-13. OpenAI's built-in Browser runs in ChatGPT, not in the Codex CLI or IDE extension. How to give Codex a browser there with an MCP server in config.toml, and which one to pick.
- [Playwright MCP login: keep your agent signed in](https://dejo.run/blog/playwright-mcp-login) - 2026-11-13. Playwright MCP keeps you logged in with a persistent profile per project. Where it lives, how to sign in without giving the AI your password, and saving the login to a file with --storage-state.
- [Browser agent token statistics (2026, measured)](https://dejo.run/blog/browser-agent-token-statistics) - 2026-11-13. Citable numbers from 19 real-website tasks in Claude Code: tokens, calls, cost, seconds and right answers for Playwright MCP, Playwright CLI and Dejo, what each turn costs, and site memory. Every number links its raw data.
- [Why Playwright MCP uses so many tokens](https://dejo.run/blog/why-playwright-mcp-uses-so-many-tokens) - 2026-11-13. Measured in 19 Claude Code sessions: every turn re-sends about 39,700 tokens before any page is read, and snapshots are smaller than you think. The bill follows the number of turns, from 164K to 1.36M per task.
- [Site memory: a new task on a known site, 33% cheaper](https://dejo.run/blog/browser-agent-site-memory) - 2026-11-13. We gave Claude Code a new task on 10 real websites, with and without Dejo remembering the site from a different task. With the site known it averaged 238K tokens instead of 354K, every answer right. Where it didn't help, too.
- [Best browser MCP for Claude Code (2026, measured)](https://dejo.run/blog/best-browser-mcp-claude-code) - 2026-11-10. Chrome DevTools MCP, Playwright MCP, Playwright CLI, Claude in Chrome and Dejo: which to pick for debugging, tests, your own Chrome or repeated tasks, with measured Claude Code numbers.
- [Playwright MCP vs Claude in Chrome: which to use](https://dejo.run/blog/playwright-mcp-vs-claude-in-chrome) - 2026-11-10. Claude in Chrome works in your signed-in Chrome while you watch; Playwright MCP runs its own browser for tests and CI. Measured Playwright MCP numbers, Anthropic's docs, and what neither remembers.
- [Playwright MCP vs Playwright CLI vs memory (measured)](https://dejo.run/blog/playwright-mcp-vs-cli) - 2026-11-10. 19 real-site tasks in fresh Claude Code sessions: Playwright MCP averaged 409K tokens, Playwright CLI 559K, and a browser with memory 251K once, then 89K. Which to pick.
- [Test your website as an iPhone from Claude Code](https://dejo.run/blog/test-website-iphone-claude-code) - 2026-11-10. Have Claude Code open your site as an iPhone 13, screenshot it and check the layout, then repeat the check after every deploy with zero model calls. Real runs on five pages.
- [Run a website task every day with zero AI cost](https://dejo.run/blog/schedule-browser-task-zero-ai-cost) - 2026-10-18. Let your AI agent learn a browser task once, then let cron or Windows Task Scheduler run it every day with no model calls. Real output, exit codes and scripts.
- [Why browser agents fail on real websites: 7 causes](https://dejo.run/blog/why-browser-agents-fail) - 2026-10-18. Late content, slow confirmations, iframes, cookie banners, dialogs, ambiguous selectors and captchas: what breaks AI browser agents, and what we changed in Dejo for each.
- [AI agent with multiple signed-in user roles](https://dejo.run/blog/ai-agent-multiple-user-roles) - 2026-10-18. How to let an AI agent act as several users on one site without signing out and back in, compared with Playwright's saved login files.
- [Can Claude log in to websites? Three ways that work](https://dejo.run/blog/can-claude-log-in-to-websites) - 2026-10-18. Claude can read public links, but signing in takes a browser. Claude in Chrome, Playwright MCP and Dejo each keep you signed in differently: what each does with your login, and which to pick.
- [Self-healing Playwright: repair one step, not the run](https://dejo.run/blog/self-healing-browser-automation) - 2026-10-18. Two kinds of self-healing: Playwright's healer agent fixes the test file, fallback locators fix the step at run time. How each works, and why every step needs a check.
- [Browser agent memory: why agents re-read websites](https://dejo.run/blog/browser-agent-memory) - 2026-10-18. Every new chat, your AI agent learns the same website again. We measured what that costs over 90 Claude sessions, and what changes when the browser remembers the route.

## Related

- [Codex browser: what works in the CLI and IDE](https://dejo.run/blog/codex-browser)
- [Playwright MCP login: keep your agent signed in](https://dejo.run/blog/playwright-mcp-login)
- [Browser agent token statistics (2026, measured)](https://dejo.run/blog/browser-agent-token-statistics)
- [Dejo MCP server setup: install in a minute](https://dejo.run/docs)
