Playwright in Codex? (Possible Feature Request)

One of the things I like most about Claude Code on my machine is I have plugged it into the Playwright MCP and it is able to spin up a local dev server (or just use my dev server, already running on port 4000), and test its changes, including taking screenshots to make sure they look good.

Has anyone succeeded in doing something like that with Codex? I feel like it would give Codex a huge boost in competition with Claude Code, and probably upgrade its ability to design decent looking UI/UX.

1 Like

I’d love to see Playwright support too.

I tried to install it during my Codex setup script and it said the security policy prevented it.

Instruction:

npx playwright install

Error:

â ¹npm error code E403
â ¹npm error 403 403 Forbidden - GET https://registry.npmjs.org/playwright
â ¹npm error 403 In most cases, you or one of your dependencies are requesting
npm error 403 a package version that is forbidden by your security policy, or
npm error 403 on a server you do not have access to.