Skip to content

Development & Engineering

Playwright

Free

Automate a real browser from the terminal: navigate, fill forms, take screenshots and debug UI flows.

Difficulty intermediate
Version v1.1

Purpose

Install the original Playwright skill from openai/skills, curated and use it in Codex.

Procedure

--- name: codex-playwright description: Automate a real browser from the terminal: navigate, fill forms, take screenshots and debug UI flows. ---

Playwright

Purpose

Install the original Playwright skill from openai/skills, curated and use it in Codex.

Procedure

Source: https://github.com/openai/skills/tree/main/skills/.curated/playwright Maintainer: OpenAI (openai/skills, curated). Skilling lists this skill; the original lives in that repository.

Install

$skill-installer playwright

Type the line in a Codex chat. Codex downloads the skill from openai/skills. Restart Codex so it picks up the new skill. OpenAI now points new examples to github.com/openai/plugins; the curated skills still install this way.

What it does

  • Uses playwright-cli or a bundled script
  • Screenshots and snapshots
  • Form filling and data extraction

How to use it

Ask Codex to open your app in a browser and check a flow.

Example requests

1. Use Playwright

Request: Ask Codex to open your app in a browser and check a flow. Expected: Uses playwright-cli or a bundled script.

Dependencies

OpenAI Codex with the built-in $skill-installer skill.

Compatibility

This document follows the Agent Skills layout (a folder named codex-playwright containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it.

Example prompts

Use Playwright

Ask Codex to open your app in a browser and check a flow.

Expected: Uses playwright-cli or a bundled script.

Choose the agent

This skill is installed for one agent at a time. Pick the section you are using.

Related

  • Playwright Interactive

    Keep a browser or Electron app open and drive it interactively for fast UI debugging.

  • GH Address Comments

    Work through review comments on the open GitHub PR for your branch using the gh CLI.

  • GH Fix CI

    Debug failing GitHub Actions checks on a PR: read logs, summarize the failure, then fix with your approval.

Reviews

No reviews yet.

    Sign in to review.

    Report a problem

    Inaccurate steps, an unsafe instruction, or a licensing concern.

    Sign in to report.