Be explicit about UI elements
Instead of “click the login button”, say “click the button that says ‘Sign In’ near the top right of the page.”
Browser automation gives your agent the ability to browse websites, interact with web applications, extract data, fill forms, and take screenshots — using direct browser actions and Computer Use (vision-based UI control) when needed.
Each agent shares one sandbox session per organization (keyed by agent). The session persists across runs so files and environment state carry over:
Computer Use comes with the browser and has no switch of its own. An Internal agent always has its sandbox, so terminal and file access don’t need a switch either. Customer-facing agents don’t get a browser, sandbox or Computer Use.
Task: Go to https://news.ycombinator.com/front and extract the top 10 stories.For each story, get:- Title- URL- Number of points- Number of commentsReturn the results as a markdown table.Task: Go to https://forms.example.com/onboarding and fill in the form:- Company name: Acme Corp- Contact: John Smith- Email: john@acme.comSubmit the form and confirm it was successful.Task: Test the login flow on https://app.example.com:1. Navigate to the login page2. Log in with the test credentials provided in my message3. Verify you reach the dashboard4. Take a screenshot of the dashboard5. Report any errors encounteredTask: Take a screenshot of our status page at https://status.example.com.If any service shows a non-green status, send an alert to #ops-alerts on Slackwith the screenshot attached.Be explicit about UI elements
Instead of “click the login button”, say “click the button that says ‘Sign In’ near the top right of the page.”
Add error handling
“If the page takes more than 10 seconds to load, try refreshing once. If it still fails, report back with the URL and a screenshot.”
Test in the panel first
Test browser tasks in the Try it pane on the agent’s page before you put them in a Loop.
Never hardcode credentials
Pass credentials in your message or store them in integration connections — do not put secrets in agent instructions.
Each plan includes computer hours each calendar month. Sandbox and browser time within them costs no credits, and each Computer Use session costs credits. Credits cannot buy more hours. When your team has used them all, a new computer does not start until the next calendar month or until you upgrade your plan. Check computer time in Usage (under Operate in the Console) and credits in Settings → Billing & usage. See Pricing & Credits → for the numbers.