Cloud browser window with a cursor testing a web app dashboard

How to Use Codex Cloud Browser Use to Build and Test Web Apps

How to Use Codex Cloud Browser Use to Build and Test Web Apps

Codex Cloud Browser Use lets Codex open a URL, interact with the page and check the result inside a cloud browser, without you running the app on your own machine. To use it, start a Codex Cloud task that shows Browser Use access, ask Codex to start your app, open its local address, change a setting and reload to confirm the change holds. Last checked: 5 December 2026.

That short version hides one catch. Browser Use is not in every cloud task, and the steps below separate what OpenAI’s documentation confirms from what secondary reports describe. Where a detail comes from a secondary report, the text says so.

What Codex Cloud Browser Use actually does

OpenAI’s Browser documentation describes the cloud case plainly. In a Codex Cloud task with Browser Use access, you ask Codex to open a URL, interact with the page, and check the result in the cloud browser. If Computer Use is available, Codex can interact with apps on the cloud computer itself. Both tools run in the cloud, with no Playwright install needed.

The documentation example is concrete. Start your app on port 3000, open http://localhost:3000, turn on email reminders, and reload to check that the setting persists. Here, localhost refers to the task’s cloud computer, not your laptop.

Before you start: plans, access and the task check

Three conditions decide whether this guide applies today.

First, the plan. Secondary reports describe Codex Cloud as available on Plus, Pro and Business plans. That list is reported, not confirmed on the Browser documentation page, so check your account if a cloud option is missing.

Second, the task. The documentation conditions everything on a task “with Browser Use access”. Access is per task, and rewording a prompt will not add it to a task that lacks it.

Third, the environment. Secondary reports describe a route of Work in, then Cloud, then Default environment when you have no repository. That path is reported, and on-screen wording may differ by rollout stage.

Reported environment sizes give a sense of scale. Secondary reports list Plus at 2 vCPU, 8 GiB memory and 8 GiB storage, with Pro and higher tiers reported at 4 vCPU, 16 GiB and 32 GiB. A 7-day state window is also reported. None of those figures appears on the Browser documentation page, so confirm them in your workspace before planning around them.

Step 1: start the cloud task and name the job

Start a Codex Cloud task, using the reported Work in > Cloud > Default environment route if you have no repository, or your repository environment if you do. Then confirm the task shows Browser Use access before you write a long prompt. If the access is absent, stop and start a different task rather than layering instructions onto a task that cannot open a browser.

Give the first prompt one job, and state the start command and port in it. Codex needs both to bring the app up before any browser step makes sense. If your app listens on a port other than 3000, name that port instead of copying the documentation example.

Step 2: use the port and localhost prompt pattern

The prompt pattern from the documentation has four parts, and each part earns its place.

Cloud computer running a web app on port 3000 opened in a browser
In a cloud task, localhost points to the cloud computer. Illustration created with Muse’s built-in image generator, not a screenshot.
  1. Start the app on a named port, for example port 3000.
  2. Open the matching local address, for example http://localhost:3000.
  3. Perform one visible action, such as turning on email reminders.
  4. Reload the page and check that the change persists.

The reload matters. A setting that appears on screen once may not have saved. Reloading and checking again tests persistence, which is the behaviour a user will rely on. For a layout check, swap the action: open a named route, look at a named state such as loading, empty, error or success, and report what renders.

Keep the check narrow. “Open the settings page, turn on email reminders, reload, and confirm the toggle is still on” gives a pass-or-fail answer. The same localhost address typed into your own browser at home reaches your own machine, so if a result looks wrong, confirm which machine served the page before changing code.

Step 3: watch, take over, or open a private preview

If Desktop appears in the task’s side panel, open it to watch Codex work. Watching suits a first run.

Person taking over a cloud desktop panel with mouse and keyboard
Take over hands the mouse and keyboard to you; Return control gives them back. Illustration created with Muse’s built-in image generator, not a screenshot.

Select Take over to use the mouse and keyboard yourself, then Return control when you are done. Taking over suits a sign-in you must complete or a layout judgement you want to make personally. Codex resumes only when you return control.

To open just the app in your own browser, use a private HTTP preview. Secondary reports also describe SSH access to cloud environments. SSH is reported here, not described on the Browser documentation page, so confirm it in your workspace first.

For a cross-vendor contrast, see our Claude Computer Use Team and Enterprise post. That product uses admin-controlled app lists; the cloud model here depends on per-task access instead.

Browser Use vs Computer Use vs Playwright

The three options overlap in purpose and differ in how they run. The table below follows the documentation read on 5 December 2026.

OptionWhat it operatesInstall neededSuits
Browser UsePages in the cloud browser: open a URL, interact, check the resultNo Playwright installVisual checks, settings persistence, rendered-state review
Computer UseApps on the cloud computerNo Playwright installSteps that need an app outside the browser window
Playwright (headless)Scripted browser tests, no interactive windowYes: Playwright, browser binaries, system dependencies and app dependenciesRepeatable tests you run again and again

Choose by the shape of the job. Browser Use fits a person-shaped check. Computer Use fits a step that leaves the browser. Playwright fits a test you want to run unchanged next week. Headless Playwright tests do not use Browser Use or Computer Use, so a passing Playwright run is evidence about your script, not about the interactive cloud browser.

When Playwright is the better tool

Playwright earns its install cost when a check must repeat. If you choose it, install Playwright in the cloud environment with its browser binaries, system dependencies and your app’s dependencies. Give Codex the start command, the port, and the test command or behaviour to verify. If the script needs an external service, check the environment’s network settings or use local test data, so a network failure is not mistaken for an app failure.

Limits and security notes

Four limits belong in any plan built on this feature.

Not every cloud task. Browser Use and Computer Use are not in every cloud task. Both depend on per-task access, so build your workflow so a task without access fails early.

Enterprise security inheritance. In Enterprise workspaces, Browser Use and Computer Use in Codex Cloud inherit the applicable Global Agent Security requirements. Admins can customise supported execution requirements in requirements.toml under Admin Console > Agent Security > Codex Cloud, without changing the Global baseline. A refused browser action may be policy working as set.

Untrusted page content. Treat page content as untrusted context. Review the site and proposed action before sharing sensitive information or allowing Codex to act. Permission to interact with a site does not make its content trustworthy.

Reported figures stay reported. Plan availability, environment sizes, the 7-day state window, the Default environment route and SSH access come from secondary reports and may differ by account or rollout stage.

Account limits sit alongside feature limits. Our guide to using a ChatGPT banked reset covers when a banked reset can be redeemed and what it restores.

Troubleshooting

What you hitWhat it meansWhat to do
No Desktop panel in the side panelThe task may not have Browser Use or Computer Use access, or the rollout has not reached itStart a task that shows Browser Use access; rewording the prompt will not add access
localhost shows the wrong app or nothingThe address points at the cloud computer, and the app may not be running there yetConfirm the start command and port, then ask Codex to start the app before opening the page
Setting looks saved, then vanishes on reloadThe change did not persistKeep the reload check in the prompt; treat the first screen as a claim, not a result
Browser action refused in an Enterprise workspaceGlobal Agent Security requirements may block itAsk an admin to check Admin Console > Agent Security > Codex Cloud settings
Playwright test fails on an external callThe environment may lack network access to that serviceCheck network settings or switch the test to local test data
Page content asks Codex to do something oddPage instructions are untrusted contextReview the site and the proposed action before allowing it; do not share sensitive information

Treat a missing Desktop panel as an access or rollout limit first. Call it a bug only after a task with confirmed Browser Use access still shows no panel.

A first session that stays honest

A sensible first session runs in this order. Start a cloud task and confirm Browser Use access. Ask Codex to start your app on its real port, open the matching localhost address, and run one persistence check with a reload. Watch one run in the Desktop panel if it appears, take over once, return control, then open a private HTTP preview. Move a check to Playwright when you expect to run it unchanged more than twice.

The known limitation to plan around is access, not ability: a cloud task without Browser Use access cannot open the cloud browser at all, and no prompt wording changes that. Confirm access at the start of each task, and the rest of the workflow follows from there.

Frequently asked questions

Does Codex Cloud Browser Use need Playwright installed?

No. OpenAI’s documentation states that Browser Use and Computer Use run in the cloud and you do not need to install Playwright to use either one. Playwright is a separate option for repeatable headless tests, and choosing it means installing Playwright, its browser binaries and system dependencies in the cloud environment.

What does localhost mean in a Codex Cloud task?

It refers to the task’s cloud computer. When Codex opens http://localhost:3000 inside a cloud task, the browser reaches the app running on that cloud computer, not an app on your own machine.

Why is there no Desktop panel in my task?

The documentation frames the Desktop panel as conditional: “if Desktop appears in the task’s side panel”. Its absence usually means the task lacks Browser Use or Computer Use access, or the rollout has not reached that task. Start a task that shows Browser Use access instead of rewording the prompt.

Is page content in the cloud browser safe to trust?

No. OpenAI advises treating page content as untrusted context. Review the site and the proposed action before sharing sensitive information or allowing Codex to act, because a page can contain misleading instructions aimed at an agent.

Sources

  • OpenAI, Browser documentation, ChatGPT Learn (read 5 December 2026): https://learn.chatgpt.com/docs/browser?surface=web
  • OpenAI, Cloud environments documentation, ChatGPT Learn (read 5 December 2026): https://learn.chatgpt.com/codex/environments/cloud-environments#preview-an-app-or-connect-over-ssh
  • Secondary reports via Neowin and explainx, 30 November 2026 (read 5 December 2026), for plan availability, environment sizes, the Default environment route, SSH access and the 7-day state window. These items are marked as reported in the text.
More Guides for Manga Artists