Skip links

How to Test Web Apps with Codex: A Practical Guide for Manual Testers

Most QA teams have more test cases than hours. Regression checks pile up before every release, bug reports arrive without clear reproduction steps, and automated test suites need an engineer to write and maintain them. So manual testers click through the same login form and the same contact record again and again.

Codex, OpenAI’s coding agent, can now operate a web browser. You describe a user journey in plain language, and Codex opens the pages, clicks through the flow, enters test data and reports what it saw. No coding is required. A tester who can describe a user journey, provide a safe test URL and judge whether the result makes sense has everything Codex needs.

There are two ways to set it up. Codex can test in its own built-in browser, the safest place to start, or it can work in a browser where you’re already signed in, such as a Salesforce Trailhead playground or an internal staging environment.

The setup steps below were checked against the ChatGPT desktop app (version 26.930.21537 on macOS) on October 6, 2026, using OpenAI’s official documentation. We ran both example tests ourselves in that version, and the recordings show each run from prompt to report.

Two Ways to Test Web Apps with Codex

Pick the browser that matches how your app handles sign-in.

Option Best for Sign-in and data Main limits
Codex built-in browserMention @Browser in a Codex chatStart here Public sites, local builds and test environments you can sign in to directly Separate browser profile; doesn’t use your everyday tabs, cookies, saved passwords or sign-ins Can’t automate file uploads
Your signed-in ChromeMention @Chrome in a Codex chat Apps behind SSO, MFA, a company VPN or an existing session, such as Salesforce Uses your own browser profile, including open tabs and existing sign-ins Without the ChatGPT extension, Codex works in the visible Chrome window; the extension adds background work and Edge, Brave, Opera and Vivaldi

Sources: OpenAI browser, Computer Use and browser extension documentation, and ENWAY test runs, October 6, 2026.

What Codex Can and Can’t Do in Web Testing

In browser testing, Codex works as an agent: AI that carries out a series of steps on its own, such as opening a page, filling in a form and checking the result. It can open pages, click buttons, enter test data, move through multi-step flows, read what’s on the screen, take screenshots and compare the outcome with the expectations you give it.

That makes it useful for smoke testing, exploratory testing, checking acceptance criteria, reproducing a reported UI bug and running a small regression check after a change.

Its weak spot is business logic you haven’t described. Codex can’t guess a business rule nobody gave it, and it may misread vague wording or miss an edge case. It also sometimes reports a pass with more confidence than the evidence supports. Read its report the way you’d read a new colleague’s test notes: as evidence you check before anyone approves a release.

Who Does What in an AI-Assisted Test

The tester sets the rules and makes the call. Codex does the clicking.

Stage The tester Codex
Running the test Provides the URL, goal, test account or safe test data, expected results and forbidden actions Navigates the UI, runs the stated flow, observes the result and records evidence
Judging the result Brings product context and risk assessment, and makes the final pass/fail decision Repeats routine checks and helps find unexpected behavior

ENWAY recommendation, October 2026.

Before Your First Test

Prepare four things before you open Codex:

  1. A safe target. Use a staging, sandbox, demo or Trailhead environment, and make sure the URL loads in the browser you plan to use.
  2. A clear goal. For example: “A new user can create a contact and sees a validation message when the email is invalid.”
  3. Expected results. Describe what success looks like at each important checkpoint. “The Save button becomes enabled” gives Codex something concrete to check, while “check that it works” leaves it guessing. When the product has fixed message text, paste that text into the prompt so Codex compares against the real wording.
  4. Safety boundaries. List what Codex must never do: submit, delete, change permissions, send external messages, pay for anything or touch production data.

Use test data and non-production environments wherever you can. Don’t give Codex permission to send emails, make purchases, delete records, change user permissions or work with real customer data unless the test requires it and you’re watching the action live.

Keep the first task small, such as one screen or one user journey. Move on to a larger exploratory test once you trust the workflow.

How to Write a Testing Prompt for Codex

The prompt decides most of the test’s quality. A useful one covers six parts.

The Six Parts of a Testing Prompt

Cover each part, and Codex has what it needs to run the test and report back.

Part What to include Example
Where The exact URL or the open browser tab to use https://www.saucedemo.com/
Who The role or test account, if it matters Trailhead playground admin
What to test The user flow or feature The login form
Expected behavior Visible success and error states at each checkpoint The address changes to /inventory.html and the page shows the heading “Products”
Boundaries Forbidden actions and actions that need your confirmation Stop before Submit. Don’t delete any record.
Report format The evidence you want back Pass/fail per checkpoint, the exact error text seen, a screenshot for every failure

ENWAY prompt structure for browser testing with AI agents.

Copy this template and fill in the brackets:

Use [@Browser / @Chrome] to test this feature: [short name].

Target: [URL or open browser tab]
Test role/context: [for example: guest user, Trailhead playground admin]

Goal:
[Describe the user journey in plain language.]

Expected behavior:
1. [Checkpoint and expected result]
2. [Checkpoint and expected result]
3. [Checkpoint and expected result]

Explore one or two sensible negative cases as well.

Safety rules:
- Use only test data.
- Do not send, purchase, delete, publish, change permissions, or alter real records.
- Stop and ask me before any irreversible or external action.

At the end, provide a concise report with:
- steps performed;
- pass/fail for every checkpoint;
- actual result for each failure;
- URLs/screenshots or other evidence where available;
- suspected defect severity and a short reproduction path.

Scenario 1: Test a Web Form in Codex’s Built-in Browser

Start here when the page is public, runs locally or sits in a test environment you can sign in to separately. The built-in browser has its own profile, so it doesn’t use your normal browser’s tabs, history, cookies, saved passwords or existing sign-ins (OpenAI browser documentation). That separation makes it the safest starting point.

One-Time Setup

  1. Install and open the ChatGPT desktop app, then switch to Codex. The app switcher also offers ChatGPT and Work. Computer Use, the feature that lets Codex see and operate the browser, works in Work and in Codex.
  2. If the app asks, open Plugins > Computer Use and select Install plugin. Turn on the Computer Use server and skill toggles, then select Try now.
  3. On macOS, approve Screen Recording and Accessibility when asked. If Codex later can’t see the screen, open System Settings > Privacy & Security and grant both permissions to the Codex Computer Use app (Computer Use setup).
  4. Open a new browser tab in the app (or press Cmd+T) and enter the test URL. You can also mention @Browser in your prompt and let Codex open the page.
  5. When Codex asks to use a site, choose Allow once or allow only the test domain.

Website Access Choices in the Built-in Browser

Codex asks before it opens a site. Here’s how we recommend answering.

Choice When to use it
Allow onceRecommended Your first runs on a test domain. The arrow next to the button opens more options.
Allow for all sites Only on a machine dedicated to controlled testing
Deny Any domain the test shouldn’t touch, or any request you didn’t expect

Labels as shown in the ChatGPT desktop app on October 6, 2026. OpenAI’s documentation also lists Allow for this site, which suits a test domain you return to often. Review or change these choices later in Settings > Computer Use > Manage (browser extension) or Settings > Browser (built-in browser). Allowlists and blocklists are shared across the supported browsers. Source: OpenAI browser, Computer Use and browser extension documentation, checked October 6, 2026.

Example: Test the Login Form on SauceDemo

SauceDemo is a public practice store built for this kind of exercise. It needs no real account and lists its test credentials on the login page. Its validation messages are fixed text, so Codex can compare them word for word.

  • URL: https://www.saucedemo.com/
  • Test accounts: standard_user, locked_out_user, problem_user, performance_glitch_user, error_user and visual_user, all listed on the page itself. The password for every account is secret_sauce.
  • Successful login: the address changes to /inventory.html and the page shows the heading Products.

For a first run, start with a two-check smoke test. This is the prompt from the recording below:

@Browser open https://www.saucedemo.com/ and run this short login smoke test.

1. Sign in with the practice credentials standard_user / secret_sauce.
2. Confirm that the URL ends in /inventory.html and the page heading says "Products".
3. Log out.
4. Try standard_user with the wrong password "wrong-password".
5. Confirm that the login page remains open and shows exactly:
   "Epic sadface: Username and password do not match any user in this service".

Use only this public practice site. Do not create an account, buy anything, or visit another site.
Return pass/fail for the two checks and quote the visible result.

Watch Codex Test the SauceDemo Login in Its Built-in Browser

A two-check smoke test: a valid login and a wrong password.

Recorded by ENWAY in the ChatGPT desktop app 26.930.21537 on macOS, October 6, 2026, with GPT-6 Luna on Medium and the approval mode set to Ask for approval. No sound.

Codex first asks for permission to open saucedemo.com, and we chose Allow once. The built-in browser then opens next to the chat. Codex signs in, checks the Products page, logs out, tries the wrong password and reports both checks as passed, quoting the error message word for word.

Run the Full Login Test

Once the smoke test passes, extend it to all five fixed cases, plus one negative case Codex picks itself.

SauceDemo Login Test Cases

Five fixed checks plus one negative case Codex picks itself.

Case Input Expected result
1 standard_user / secret_sauce Signs in and reaches /inventory.html with the heading “Products”
2 standard_user / wrong password Stays on the login page and shows: “Epic sadface: Username and password do not match any user in this service”
3 Both fields empty Shows: “Epic sadface: Username is required”
4 Username only Shows: “Epic sadface: Password is required”
5 locked_out_user / secret_sauce Shows: “Epic sadface: Sorry, this user has been locked out.” and doesn’t sign in
6 Codex’s choice, such as a leading or trailing space or a 256-character username Codex reports what actually happens

Test accounts and messages as published on saucedemo.com, October 2026.

Start a Codex chat and paste this prompt:

@Browser open https://www.saucedemo.com/ and test the login form.

Use only the practice credentials published on that page:
standard_user and locked_out_user, password secret_sauce. These are test data, not real accounts.

Check these cases:
1. standard_user with secret_sauce signs in and reaches /inventory.html with the heading "Products".
2. standard_user with a wrong password stays on the login page and shows exactly:
   "Epic sadface: Username and password do not match any user in this service".
3. Submitting with both fields empty shows exactly:
   "Epic sadface: Username is required".
4. Submitting with only the username filled shows exactly:
   "Epic sadface: Password is required".
5. locked_out_user with secret_sauce shows exactly:
   "Epic sadface: Sorry, this user has been locked out." and does not sign in.

Explore one extra negative case of your own, such as a leading or trailing space in the username,
or a 256-character username, and report what happens.

Safety rules:
- Use only this practice site and the accounts published on it.
- Do not create accounts, do not send messages, and do not touch any other site.

For every case report the exact input used, expected result, actual result (quote the exact
message text you saw), pass/fail, and a screenshot for any failure.

Codex should open the page, work through each case and quote the validation text it actually saw. If it runs into a CAPTCHA or a login wall, take over for that step or test through another route.

To test your own form, keep the same prompt structure, swap in your URL and list your product’s exact expected messages. Vague expectations such as “the form validates the email” produce vague reports.

Run an Exploratory Pass

Once the basic flow passes, ask Codex to explore the same site:

@Browser explore https://www.saucedemo.com/ as a careful first-time user for up to 10 minutes.
Look for confusing labels, buttons that do nothing, unexpected navigation, broken validation,
visible layout problems, and keyboard-navigation issues. Do not create accounts or send anything.
Return only evidence-backed findings. For each finding, give severity, the shortest reproduction
steps, expected and actual behavior, and a screenshot if available.

Exploratory passes find issues nobody thought to put in a checklist. They don’t replace a defined acceptance test, so we recommend running both.

Limits of the Built-in Browser

Check these before you plan a test around the built-in browser:

  • File uploads: the built-in browser can’t automate them. If the flow needs an attachment, use the @Chrome approach in Scenario 2.
  • Sessions: it keeps its own profile and history and won’t reuse your everyday browser session. Sign in directly when a task needs an account.
  • Downloads: files go to your system Downloads folder by default. In Settings > Browser you can change the location or turn on Ask where to save downloads.
  • Developer mode: console, network and performance checks need Chrome DevTools Protocol (CDP) access, which you’ll find in Settings > Browser under Developer mode > Enable full CDP access. It’s off by default, needs your approval each time it’s used, and your administrator can turn it off (managed browser and Computer Use controls).

Best for: public pages, local builds and test environments with a simple login, and a tester’s first AI-assisted tests.

AI in software development

Want AI Testing Set Up for Your Whole Team?

ENWAY helps companies bring AI agents such as Codex and Claude into software delivery. We set up safe access to test environments and write prompt templates your testers can reuse.

OpenAIpartner
Salesforceconsulting partner

Scenario 2: Test in Your Signed-In Browser Session

Use this option when the app needs single sign-on (SSO), multi-factor authentication (MFA), a company VPN, a browser extension or an existing session you can’t recreate in the built-in browser. Salesforce is a common example.

Codex can work in your signed-in Chrome in two ways. With nothing extra installed, it uses Computer Use to operate the Chrome window on your screen, clicking and typing the way a person would. With the ChatGPT browser extension, it works in your Chrome tabs in the background without interrupting you, and it also supports Edge, Brave, Opera and Vivaldi (supported browsers and setup). Our Trailhead recording below uses the first way.

Option A: Let Codex Operate Chrome on Your Screen

This works as soon as Computer Use is set up (see Scenario 1).

  1. Open Chrome and sign in to your test environment yourself. Never paste a password or one-time code into the chat.
  2. Start a new Codex chat and begin the prompt with @Chrome.
  3. Codex shows an Elevated Risk prompt asking to use Google Chrome. It warns about prompt injection, meaning instructions hidden in a web page that try to redirect the agent, which can lead to data theft or loss. Select Allow this conversation. Keep Always allow for a machine dedicated to testing.
  4. Let Codex finish before you use the Chrome window, because it’s clicking and typing in that window as it works.

Option B: Install the ChatGPT Browser Extension

The extension lets Codex work in your Chrome tabs in the background, so you can keep using your computer. After our Trailhead run, the ChatGPT app suggested it with a Let ChatGPT use your Chrome tabs in the background card. To install it yourself:

  1. In the ChatGPT desktop app, open Settings > Computer Use.
  2. Select your browser. If it isn’t listed, expand More browsers.
  3. Select Install and add the ChatGPT browser extension to the same browser profile you use for testing. Follow any prompt to install the plugin that browser control needs.
  4. Go back to Settings > Computer Use and check that the browser now shows Manage. The toggle next to the browser controls whether it appears in the @ mention menu.
  5. Review the extension’s permissions carefully. It needs broad browser access to read and operate pages, but Codex still asks for site access according to your approval settings.
  6. Sign in to your test environment yourself. Never paste a password or one-time code into the chat.
  7. Start a new Codex chat and type @Chrome (or the browser you selected) in the prompt, or mention the open tab.

Two details about the extension catch people out. It works only in the profile where it’s installed, and Opera doesn’t support side chat, so start Opera tasks from the desktop app.

Whichever option you use, we recommend a dedicated testing browser profile and a test-only account. It keeps personal browsing out of test work and makes it much easier to control what Codex can see.

Example: Test a Contact Flow in a Salesforce Trailhead Playground

Trailhead playgrounds are sandbox-style Salesforce learning environments, which makes them a good place to practice. Open Chrome, sign in to your Trailhead playground yourself and go to the Salesforce page you want to test. Then start a new Codex chat with a prompt like this:

@Chrome use my currently signed-in Salesforce Trailhead playground.

Test this flow as a sales operations user:
1. Open the Contacts area.
2. Create a contact with the name AI Test Contact and email ai.test@example.invalid.
3. Confirm that the new contact appears in the Contacts list and that its details page contains
   the same name and email.
4. Edit the phone number to 555-0100 and confirm the update is visible after refreshing the page.

This is a Trailhead playground and the named record is test data. Do not delete any existing
record. Do not change org settings, user permissions, automation, or integrations. Stop and ask
me if the page asks to connect another account or perform any action outside this playground.

Return a test report with the steps, expected and actual results, pass/fail, and screenshots for
any failure. At the end, leave the test contact in place and tell me its record URL.

Watch Codex Run the Trailhead Contact Test in Chrome

Codex operates the signed-in Chrome window through Computer Use, without the browser extension.

Recorded by ENWAY in the ChatGPT desktop app 26.930.21537 on macOS, October 6, 2026, with GPT-6 Luna on Medium and the approval mode set to Ask for approval. No sound.

After we allowed Chrome for the conversation, Codex opened Contacts, created the record, found it in the list after a refresh, edited the phone number and checked it again after reloading the page. It worked for 1 minute 13 seconds and returned this report:

Codex’s Test Report from Our Trailhead Run

The report Codex returned at the end of the recording above.

Step Expected result Actual result Status
Open Contacts Contacts area loads Contacts list opened in the signed-in Trailhead playground ✓ Pass
Create contact “AI Test Contact” is saved with ai.test@example.invalid Salesforce confirmed creation; the record page showed the requested name and email ✓ Pass
Verify list and details Contact appears in Contacts; details show the same name and email After refreshing the list, “AI Test Contact” appeared as item 21. Its record page showed the requested name and email ✓ Pass
Update phone and refresh Phone is 555-0100 after refreshing the record Saved the phone update, refreshed the page, and verified 555-0100 alongside the same email ✓ Pass

Codex also noted that no failures occurred, left the test contact in place and linked to the record. ENWAY test run, October 6, 2026.

The same prompt structure works in any internal system that’s already open and signed in, such as a CRM, an admin console, a CMS, a help desk or an app behind a corporate login.

How to Stay in Control

Allow access one site at a time. The extension lets you allow a single use, allow a site or decline, and Settings > Computer Use > Manage holds the shared allowlist and blocklist. Removing a domain from the allowlist makes Codex ask again next time (how website access works).

Stay at the screen for actions with business impact. Ask Codex to stop before it submits, sends, deletes, changes access or publishes anything. If it heads somewhere it shouldn’t, interrupt with a direct instruction such as: “Stop. Do not save anything. Return to the contact list and report what you changed.”

Best for: Salesforce orgs and other apps behind SSO, MFA or a VPN, as long as you test from a dedicated browser profile with a test-only account.

Turn a Feature Requirement into a Test Plan

You can give Codex a requirement written in ordinary product language and ask it to propose test cases before it starts clicking:

@Browser open [URL]. Here is the feature requirement:
[paste the requirement]

Before testing, create a small test plan with happy path, validation, permissions, and one
unusual but realistic edge case. Show me the plan and wait for my approval. Once approved,
execute it using only test data. Do not perform irreversible actions. Return a defect report for
every failure.

With this two-stage approach, you can fix the plan before any records change. It also makes the final report easier to trace, because each result maps to a checkpoint you approved.

What to Ask Codex to Check

What to Ask Codex to Check in a Form or Workflow

Pick the areas that carry the most risk for the feature you’re testing.

Test area What to ask Codex to check
Happy path A valid user finishes the intended flow
Required fields Blank values show an understandable error
Format validation Email, date, phone, number, length and special characters
Boundaries The shortest, longest and just-over-the-limit values
Error handling Invalid input never gets silently accepted
Navigation Back, Cancel, refresh and opening a page directly by URL
Permissions What a user without the required role can see or do
Visual and usability Visible labels, disabled and enabled states, overlapping elements and keyboard navigation

ENWAY testing checklist for AI-assisted browser tests.

Avoid asking Codex to “test everything.” Give it a time limit and priorities instead, for example: “Spend 15 minutes on the checkout address form. Prioritize incorrect totals, lost data after back navigation, and validation errors. Do not place an order.”

A Test Report Format Your Team Can Use

Ask for a structured report every time. This lightweight format works for most teams:

Feature:
Environment and URL:
Browser and test role:

Result summary: X passed / Y failed / Z blocked

Test case:
Steps:
Expected result:
Actual result:
Status: Pass / Fail / Blocked
Evidence: screenshot, URL, or visible error text

Defect candidate (only if failed):
Title:
Severity: Critical / High / Medium / Low
Shortest reproduction steps:
Expected vs actual:
Notes and evidence:

Tell Codex to mark a result as “blocked” when it can’t verify it. For example, it shouldn’t report that a confirmation email arrived if it has no safe test mailbox to check.

Common Problems and How to Fix Them

Codex Can’t Sign In

In the built-in browser, sign in yourself when Codex pauses and asks you to. Never put credentials in the prompt. If the app depends on an existing company session, test in your signed-in Chrome instead (Scenario 2).

Codex Asks for Access to an Unexpected Site

Decline the request, stop the task and review the page. Web pages are untrusted input, and a page can contain misleading text written to steer an AI agent. Keep the scope narrow and allow only the domains the test needs (OpenAI’s browser safety guidance).

Codex Is About to Take a Consequential Action

Tell it to stop before the action. Better still, put the boundary in the first prompt: “Stop before Submit,” “Do not send” or “Do not delete.” Codex asks for confirmation before sensitive actions, but the tester stays responsible for reviewing what it proposes.

The Test Needs a CAPTCHA, a Hardware Key or 2FA

Take over the browser, complete the step yourself and hand control back. Where possible, ask the product team for a test account or a test-only route that skips the obstacle.

Codex Reports a Pass You Don’t Trust

Ask it to show the exact page state, URL, screenshots and steps, then reproduce the critical path yourself. Keep a human tester as the final sign-off for any release decision.

The Browser Extension Won’t Connect

Work through these checks in order:

  1. Update the ChatGPT desktop app.
  2. Restart the browser and reopen ChatGPT from its toolbar.
  3. Check that the browser still shows Manage in Settings > Computer Use.
  4. Make sure you’re in the browser profile where the extension is installed.
  5. Start a new Codex chat.
  6. Restart the desktop app.
  7. If it still fails, reinstall the extension from Settings > Computer Use and report the problem with /feedback.

If you have more than one copy of the ChatGPT or Codex desktop app installed, update all of them or remove the ones you don’t use. Duplicate installs are a common reason the extension shows as installed but never connects.

Codex vs Gemini in Chrome vs Claude in Chrome

The testing method carries over to other AI browser agents. You still give the agent a safe URL, exact expected results, clear boundaries and a report format. Setup screens and availability differ.

Codex vs Gemini in Chrome vs Claude in Chrome

Three AI browser agents a tester can use with the same prompts.

Tool Browsers Where you start a task Availability
CodexIn the ChatGPT desktop app Built-in browser; your signed-in Chrome through Computer Use; Chrome, Edge, Brave, Opera and Vivaldi through the ChatGPT extension A Codex chat, with @Browser or @Chrome in the prompt Codex comes with every ChatGPT plan; admins can manage browser and Computer Use access
Gemini in ChromeAuto browse Chrome only Chrome’s Ask Gemini entry point; you review the plan and select Start Task Experimental at the time of writing, with account, country, language and subscription requirements
Claude in ChromeAnthropic’s browser extension Google Chrome only; other Chromium-based browsers aren’t supported The Chrome side panel, or Claude Cowork and Claude Code in Claude Desktop All paid Claude plans (Pro, Max, Team, Enterprise); beta in the Chrome side panel; admin-controlled on Team and Enterprise

Sources: OpenAI, Google and Anthropic help pages, October 2026. Google changes Gemini’s requirements often, so check its help page before you plan a rollout.

Gemini in Chrome

Gemini in Chrome can use auto browse to operate your local Chrome browser, including sites where you’re already signed in. Start from Chrome’s Ask Gemini entry point, describe the task, review the plan Gemini proposes and select Start Task. You can take over, resume or stop the task at any point (Google’s setup and safety guide).

At the time of writing, auto browse was an experimental feature that required a personal Google account, a US location, an English device language and eligible Google AI Pro or Ultra access. Google changes these requirements often, so check its help page before you plan a team rollout. Gemini works in your signed-in Chrome profile, so apply the same test-account rules you’d use with Codex and give it access only to what the test needs.

Claude in Chrome

Claude in Chrome is Anthropic’s browser extension, available on all paid Claude plans (Pro, Max, Team and Enterprise). It’s generally available in Claude Cowork and Claude Code, and in beta in the Chrome side panel. Claude can read, click, type, navigate and fill in forms, and it can also read the browser console, including errors and network requests, which helps when a bug report needs technical detail (Anthropic’s setup guide).

To connect it in Claude Desktop, click your initials, open Settings > Connectors, find Claude in Chrome, select Configure, turn it on and install the extension if you haven’t already. The connector is off by default in each conversation, so turn it on in the chat where you need it. For tests that need a login, Claude can request credentials from 1Password, which fills them in directly so Claude never sees the password. 1Password for Claude is in beta on macOS.

Two restrictions matter for test teams. Claude in Chrome supports Google Chrome only. Other Chromium-based browsers aren’t supported. On Team and Enterprise plans, an administrator decides whether the extension is available and which sites it can reach.

Claude Desktop also has a built-in browser in Claude Cowork, which you can select under Settings > Cowork > Preferred browser. It acts on websites too, so use the same safeguards: a separate test profile, a safe environment, narrowly scoped prompts and human review before any consequential action.

Optional: Browser Control Through MCP

MCP stands for Model Context Protocol, a standard way to give an AI app extra tools. For browser testing, an MCP server can give Codex tools to open pages, read page content, click elements and take screenshots.

You don’t need MCP to start testing with Codex, and the built-in browser and browser extension are simpler for a manual tester. MCP starts to pay off when a team wants a shared, repeatable browser setup, richer developer diagnostics or a browser tool that an automation engineer maintains for everyone.

The Simplest Safe Setup

We recommend asking an automation engineer or IT administrator to configure the browser MCP server once. After that, a tester only needs a short prompt:

Use the browser testing tools to test [feature] at [URL].
Follow this test plan and report the results. Do not make irreversible changes.

In the ChatGPT desktop app, you add custom MCP servers under Settings > MCP servers > Add server. Enter a name and choose STDIO for a server that runs as a local process on your computer or Streamable HTTP for one reached at a web address. Then enter the command or URL, save and select Restart. Servers that use OAuth, a standard way for apps to sign in to each other, show an Authenticate action. To see the connected servers, type /mcp in a Codex chat.

The desktop app, the Codex command-line tool (CLI) and the code editor extension share one settings file, ~/.codex/config.toml, so a server you configure once works in all three (official MCP setup for Codex).

Playwright MCP for Teams

Playwright is a widely used browser automation tool. Its MCP server connects Codex to a controlled browser and exposes browser actions to it. For signed-in Chrome or Edge sessions, Playwright also has an extension mode (--extension, plus --profile-dir-name to pick a profile) that reuses your tabs, cookies and installed extensions, which helps with SSO and 2FA (Playwright browser connection options).

This setup installs software and gives broad access to a browser session, so it should belong to someone who knows your company’s security rules. Don’t copy a command from a blog onto a corporate test machine. Before anyone starts, agree on:

  • which test domains and accounts are allowed
  • whether the browser is isolated or uses a shared test profile
  • which actions need human approval
  • where screenshots and reports are stored
  • how the team turns off the connection when it’s no longer needed

Best for: teams with an automation engineer who can own the setup and want the same browser tooling for every tester.

How to Roll Out AI Browser Testing in Your Team

We recommend a six-step rollout:

  1. Start with one form and one tester. Pick a low-risk form in staging.
  2. Run Scenario 1 with a reviewed prompt. Keep the prompt short and don’t let Codex submit the final form yet.
  3. Compare results. Check Codex’s report against the tester’s own manual run and tighten the prompt wherever it was vague.
  4. Build prompt templates. Write three or four for common work: a smoke test, an exploratory pass, a bug reproduction and an acceptance-criteria check.
  5. Move to Scenario 2. Set up a dedicated test browser profile and a test-only Salesforce or CRM account.
  6. Add MCP only if needed. Bring it in when the team needs a maintained, repeatable integration beyond the browser options built into Codex.

Keep a person responsible for every release decision, and keep asking Codex for evidence with every result, even after the prompts are stable.

Why Work with ENWAY on AI in Software Development

ENWAY is an OpenAI partner and a Salesforce consulting partner, with 150+ Salesforce and automation projects delivered across Europe, the UK, the UAE and the US since 2016.

Through our AI in software development services, we help companies choose between Codex, Claude and other AI tools for their delivery teams, set up safe access to test environments and Salesforce sandboxes, write shared prompt templates and train testers to review what AI agents report.

Frequently Asked Questions

Do I Need to Know How to Code to Test with Codex?

No. You describe the test in plain language and Codex handles the clicks. What you do need is a safe test URL, exact expected results and the judgment to decide whether Codex’s report is right.

Is Codex Included in ChatGPT Business?

Yes. Codex is included in every ChatGPT plan, from Free to Enterprise, with usage limits that depend on the plan. A standard ChatGPT Business seat gets the same Codex limits as ChatGPT Plus. Our ChatGPT for Business pricing guide covers the seat types in detail.

Can Codex Test Pages Behind SSO or MFA?

Yes, in a browser where you’re already signed in. Codex can operate your signed-in Chrome on screen through Computer Use, or work in your tabs through the ChatGPT browser extension. Sign in yourself and never paste passwords or one-time codes into the chat. For a CAPTCHA or a hardware key, take over the browser for that step.

Can Codex Upload Files During a Test?

The built-in browser can’t automate file uploads. For flows that need an attachment, test in your own browser with @Chrome.

Do I Need the ChatGPT Browser Extension to Test in Chrome?

No. Once Computer Use is set up, Codex can operate your signed-in Chrome window after you allow it for the conversation. The extension lets Codex work in your tabs in the background without interrupting you, and it adds support for Edge, Brave, Opera and Vivaldi.

Is It Safe to Let Codex Use My Signed-In Browser?

The risk stays manageable when you limit what Codex can reach. Use a dedicated test browser profile and a test-only account, allow only the test domain, list forbidden actions in the prompt and stay at the screen for anything with business impact. Treat every web page as untrusted input, because a page can contain text written to steer an AI agent.

Can Codex Replace Automated Tests?

Codex browser testing works best for smoke tests, exploratory passes, acceptance checks and bug reproduction that a person reviews. Teams that need the same checks to run on every build usually keep a scripted test suite, such as Playwright tests, maintained by an automation engineer.

Summary: Which Setup Should You Use?

  • Public pages, local builds and test environments with a simple login: start with Codex’s built-in browser.
  • Apps behind SSO, MFA, a VPN or an existing session, such as Salesforce: test in your signed-in Chrome with a dedicated test profile and a test-only account, and add the ChatGPT browser extension if you want Codex to work in the background.
  • Teams already on a paid Claude plan and working in Chrome can run the same prompts through Claude in Chrome.
  • A shared, repeatable browser setup for the whole team calls for Playwright MCP, owned by an automation engineer.
  • Every setup needs exact expected results, a list of forbidden actions and a human tester on the final pass/fail decision.

Related reading: ChatGPT for Business: Plans & Pricing 2026 · AI in Software Development · AI for Workflow Automation

Free consultation

Ready to Bring AI into Your Testing?

Book a free AI consultation with ENWAY’s AI team.

OpenAIpartner
Salesforceconsulting partner