Set Up Browser Cloud in Your Coding Agent
Claude Code, Cursor, Codex and custom agents open real cloud Chrome through the TestMu AI Browser SDK: set two keys, install, then connect.
npm install @testmuai/browser-cloud
Trusted by 3M+ users globally at
"We have tripled our tests and are now executing tests in less than 2 hours with 78% Faster Test Execution"
"We figured out a more efficient way to monitor system health and resolve failures earlier in lower environments."
"TestMu AI has significantly boosted our testing speed, is easy to implement, and provides exceptional support."
"With 70% faster test execution, TestMu AI helped us achieve faster time-to-market and enhanced CX."
Connect Your Agent to Browser Cloud in 3 Steps
Set Your Username and Access Key
- Copy both from Account Settings
- Store them as
LT_USERNAMEandLT_ACCESS_KEY, never in code or chat - The Free plan needs no card: 100 browser minutes, 2 parallel sessions
Install the TestMu AI Browser SDK
- Run
npm install @testmuai/browser-cloud - Use Node.js 16 or later, or 18 or later for Playwright
- No local Chrome needed: the browser runs in the TestMu AI cloud
Open, Drive and Release a Session
- Create one with
client.sessions.create() - Connect Puppeteer, Playwright or Selenium and run the task
- End it with
client.sessions.release(session.id)
Browser Cloud Setup Code for Each Coding Agent
Each tab holds one agent's commands. Custom agents built on LangChain, CrewAI or tool calling use the SDK code in the last tab.
The browser-cloud skill teaches Claude Code the SDK, so it writes the session code itself. Check out our documentation
Browser Cloud Tunnels, Saved Logins and Replays
Localhost Access Through a Tunnel
Add tunnel: true to sessions.create() and the session reaches localhost, staging and hosts on your private network.
Saved Logins With profileId
Set profileId and the SDK saves the session's cookies on close and loads them next run, so the agent signs in once.
Session Replay: Video and Logs
Each session records video, console logs and network logs. Share session.sessionViewerUrl to let a person watch.
Open Browser Cloud agents.md, llms.txt and Docs
Browser Cloud agents.md
This setup in markdown: keys, SDK, skill, tunnel, saved logins and plans, for an agent to fetch and follow.
Browser Cloud llms.txt
A short index of the Browser Cloud guides, docs and comparisons, written for language models to read.
Browser Cloud Agent Skill
SKILL.md and runnable examples on GitHub that teach Claude, Cursor and other LLM tools to write SDK code.
Browser Cloud Docs in Markdown
Every Browser Cloud doc page is also served as markdown: add .md to its path, or start at the docs llms.txt.
Browser Cloud Setup Questions for Coding Agents
LT_USERNAME and LT_ACCESS_KEY in your shell, in a .env file listed in .gitignore, or as masked secrets in CI. Your code passes process.env.LT_USERNAME and process.env.LT_ACCESS_KEY to client.sessions.create(), so the key never appears in source control.npx skills add https://github.com/LambdaTest/browser-cloud-skills --skill browser-cloud, and the agent writes TypeScript that calls @testmuai/browser-cloud to create, drive and release sessions. Use the SDK on its own when you write the browser tool yourself or your agent cannot load skills. The adapter reference covers Puppeteer, Playwright and Selenium.@testmuai/browser-cloud package. To reach an app on localhost, set tunnel: true when you create the session, as the tunnel guide shows.TestMu AI for Enterprise
Get access to solutions built on enterprise-grade
security, privacy, & compliance
- Advanced access controls
- Advanced data retention rules
- Advanced Local Testing
- Premium Support options
- Early access to beta features
- Private Slack Channel
- Unlimited Manual Accessibility DevTools Tests
