What this thread does
Do first: ask Codex in the Codex Cloud task to start your app's server and tell you which port it uses, then open HTTP Previews. Cloud environments
Short answer
In a Codex Cloud task you can watch Codex work through the Desktop panel, open your running app in your own browser through a private HTTP preview, or connect from a local terminal or editor over SSH; which of these appear depends on your app version, workspace and environment. Cloud environments The cloud browser and cloud computer ("Browser Use" and "Computer Use") run in the cloud and need no Playwright install; localhost there means the task's cloud computer. Browser Cloud environments
Choose / don't choose
| Route | Choose it when | Not for |
|---|---|---|
| Desktop panel (Browser Use or Computer Use) | You want to watch Codex click through the app, and can use Take over and Return control | Repeatable regression checks; use Playwright for those |
| HTTP Previews | You want to try the running app yourself in your own browser | Sharing with other people: only you can open the private HTTPS link |
| SSH | You want a local terminal or editor connected to the task's machine | Workspaces where SSH access is not enabled |
| Playwright in headless mode | You want repeatable browser tests; it does not use Browser Use or Computer Use | Watching a live session |
Settings that matter
| Setting | Behavior | Source |
|---|---|---|
| HTTP Previews (task environment) | Add the port, press Enter, select Apply, then Apply to this chat; remove the port to block new requests to the link | Cloud environments |
| SSH access | When enabled, Set up SSH in the desktop app creates a profile in your local SSH configuration and copies a command; turning SSH off may leave existing connections open | Cloud environments |
| Install script and Start skill | Codex can record the tested setup: commands to install dependencies, and instructions to start services and check they are ready | Cloud environments |
| Playwright | If you choose it, install it with browser binaries, system dependencies and your app's dependencies in the environment | Cloud environments Browser |
| Enterprise Agent Security | In Enterprise workspaces, Browser Use and Computer Use in Codex Cloud inherit the applicable Agent Security requirements | Browser |
Order of operations
1. Ask Codex in the task to start your app's server and tell you which port it uses, then open HTTP Previews. Cloud environments 2. If the port is not listed under HTTP Previews, edit the task's environment, add the port, select Apply, then Apply to this chat. Cloud environments 3. Open the port under HTTP Previews in the task; the link is private to you. Cloud environments 4. To watch Codex use the app, open Desktop in the task's side panel; select Take over to use the mouse and keyboard yourself, then Return control. Browser 5. For a shell, select Set up SSH next to SSH in the desktop app, choose a profile name, select Create and copy command, and run the copied command or pick the profile in your editor. Cloud environments
Known failures and fixes
- No HTTP Previews or SSH controls: the page says the controls depend on app version, workspace and environment; check the environment's settings and, on Enterprise, ask an admin. Cloud environments
- Browser Use is not in Codex CLI or the IDE extension; open the ChatGPT desktop app. Browser
- Repository on a self-hosted GitHub Enterprise Server: cloud environments do not support it. Cloud environments
- A test that needs an external service fails: check the environment's network settings or use local test data. Browser
Missing
- The pages do not list which plans have SSH access or Desktop, so check your own task's side panel.
- Time limits and cost of a preview session are not stated here.
Evidence
ChatGPT/Codex documentation pages "Cloud environments" and "Browser", read 2026-12-03; neither carries a date. 0 trials in this draft; not tried by WhatWorks.
Checked
2026-12-03; both pages were read as served on that date.
Started from a post by @OpenAI, packaged by the editor. Original post