Free prompts. App downloads coming soon.
Print-on-demand build notes

Test your POD app in Codex Cloud

OpenAI's docs say a Codex Cloud task with Browser Use can open a URL, click through a page, and check the result in a cloud browser. Computer Use can operate apps on the same cloud computer. This is a how-to from those docs, not a test run of a print-on-demand app.

AI POD Builder
November 30, 2026 · 5 min read

OpenAI's Codex docs now describe a way to have a cloud task open a browser, click through a web app, and check that a flow works. The same docs describe a cloud desktop for watching that work, taking over the mouse and keyboard, or opening a private preview link. For print-on-demand sellers who build their own listing tools, mockup previews, or shop scripts, that is a way to test a web app without installing a browser-test framework first.

This article follows OpenAI's published documentation. It is not a report of a test run on a print-on-demand app.

What the docs say is available

In a Codex Cloud task with Browser Use access, Codex can be asked to open a URL, interact with the page, and check the result in a cloud browser. If Computer Use is available to the task, Codex can also be asked to interact with apps on the cloud computer. Both tools run in the cloud. OpenAI says Playwright does not need to be installed for either one.

The documented example is to start an app on port 3000, open http://localhost:3000, turn on email reminders, and reload the page to check that the setting persists. In that context, localhost is the task's cloud computer, not a personal laptop.

This is separate from the built-in browser in the ChatGPT desktop app. OpenAI's browser docs say that built-in browser is available in ChatGPT on the web and in the desktop app, and that it is not available in Codex CLI or the Codex IDE extension.

How to have Codex test a web app

The starting point is a Codex Cloud task. On the web or in the desktop app, sign in to ChatGPT, start a chat, and choose Work in, then Cloud. On mobile, open Codex. If Default environment appears, it can be selected to start without choosing a repository. To reuse a prepared setup, select a published environment instead.

Then give the task a checkable flow, not a vague request to "test the app." OpenAI's docs say to give Codex the command that starts the app, the port it listens on, and the behavior to verify. A print-on-demand version of that kind of prompt, as an example only, would look like this:

Start the mockup preview app on port 3000, open http://localhost:3000, upload the sample design in the repo's fixtures folder, apply it to the t-shirt mockup, and confirm the download button returns a file.

If Desktop appears in the task's side panel, open it to watch Codex work. Select Take over to use the mouse and keyboard, then Return control when finished.

To try the app in a personal browser, use a private HTTP preview when that control is available. OpenAI's cloud environment docs give this sequence:

  1. Ask Codex to start the server and report the port.
  2. If the port is not listed, edit the task's environment, add the port under HTTP Previews, select Apply, then select Apply to this chat.
  3. Open the port under HTTP Previews. The docs say only you can access the private HTTPS link. Removing the port blocks new requests to the link.

If SSH access is enabled, the same docs describe Set up SSH in the desktop app, which adds a profile to the local SSH configuration. Turning off SSH access may leave existing connections active.

A published environment is worth setting up if the same repositories, dependencies, and access settings will be reused. Each new task still gets its own workspace. Cloud tasks can keep working while a personal computer is asleep.

Limits

OpenAI's current limitations for Codex Cloud say Browser Use and Computer Use are not available in every cloud task. Access to the Desktop viewer can also vary by app version and workspace. The preview and SSH controls depend on the app version, workspace, and environment.

The address localhost in a cloud task is the cloud computer. A flow that only works on a personal machine, or that depends on files or services that were never made available to the environment, will not run there.

For repeatable tests that should run the same way each time, OpenAI also documents a Playwright path. Those tests run in headless mode, without an interactive browser window, and they do not use Browser Use or Computer Use. Playwright, its browser binaries, system dependencies, and the app's dependencies have to be installed in the cloud environment. If a script needs an external service, the docs say to check the environment's network settings or use local test data.

Credential cautions

Treat page content as untrusted. OpenAI's browser docs say to review the site and the proposed action before sharing sensitive information or allowing the agent to act.

Do not paste a live shop credential, API token, or password into the chat. OpenAI's cloud environment docs describe two places for values the environment needs:

  • Environment variables, for a value a program must read directly. Those values are passed to programs in the environment.
  • Network credentials, labeled HTTP secrets or network secrets in the docs, for a credential sent to a specific HTTPS service. Programs receive a placeholder, and a proxy substitutes the real value for allowed destinations. Substitution is documented for HTTPS on port 443 during setup and tasks, and the docs say this path does not put the raw credential in a local process or file.

Saving an environment-owned network credential also adds its destinations to restricted internet access. Review the saved network policy before testing. A Personal vault can hold personal environment variables and network credentials so a shared environment can request a key without receiving someone else's value.

Use sample data and a test account when a click-through is enough to confirm a flow. A live Etsy, print-provider, or payment credential is the wrong input for a first pass at a mockup or listing tool.

For a short briefing on tools and marketplace rules that affect print-on-demand sellers, subscribe to the newsletter.

Good questions

Is this the same as the built-in browser in the ChatGPT desktop app?

No. The built-in browser in the ChatGPT desktop app is a separate feature, and OpenAI's browser docs say it is not available in Codex CLI or the Codex IDE extension. The flow in this article is Browser Use and Computer Use inside a Codex Cloud task, which run on the cloud computer.

Do I need to install Playwright?

Not for Browser Use or Computer Use. OpenAI's docs say those tools run in the cloud and do not require Playwright. Playwright is an option for repeatable headless tests that do not open an interactive window. If that path is used, the docs say to install Playwright, its browser binaries, system dependencies, and the app's dependencies in the cloud environment.

Can I start without connecting a repository?

Yes, if the default environment is available. OpenAI's Codex Cloud docs say that environment can be selected to start without choosing a repository. A published environment is the path when the same repositories, tools, and access settings should be reused across tasks.

Where should API credentials go?

In the environment settings, not in the prompt. OpenAI's cloud environment docs describe two options. Environment variables are passed directly to programs. Network credentials, labeled HTTP secrets or network secrets in the docs, are meant for a credential sent to a specific HTTPS service: programs receive a placeholder, and a proxy substitutes the real value for allowed destinations on port 443. The docs say that path does not put the raw credential in a local process or file. Personal values can be stored in a Personal vault so a shared environment can request a key without sharing the value.

Take the resources

The video prompts and agent loops are free to copy. Visit the agent skills page for available skill packages.

Keep building your AI POD future.

Company names and logos are trademarks of their respective owners. AI POD Builder is not affiliated with or endorsed by them.

View as Markdown