Skip to content

[Feature]: Playwright Test Agents support for Python (planner / generator / healer) #38610

Description

🚀 Feature Request

Hi Playwright team,

First of all, thank you for releasing Playwright Test Agents (planner / generator / healer).
This is an amazing step toward AI-assisted test authoring and maintenance.

However, Playwright Test Agents currently support only the JS/TS Playwright Test runner.
Many teams, including ours, primarily use Playwright for Python, and we would really like to use the same agentic workflow:

planner → explore the app and produce a Markdown test plan
generator → convert the plan into Playwright Python test files
healer → execute pytest/unittest and automatically repair failing tests

Request
Would the team consider adding official Python support for Playwright Test Agents?

Specifically:

Agent definitions tailored for Python (planner / generator / healer)
Python test generation templates
A "healer" loop that integrates with pytest or python-based runners
playwright init-agents --loop=python (similar to existing vscode / claude / opencode loops)

Example

No response

Motivation

Playwright Python is widely adopted in QA automation (especially in enterprise environments).
Many Python teams want to leverage AI-driven test creation and self-healing.
Currently, the only way is to convert JS/TS output into Python manually or build custom agents.
Having first-class Python support would make the new agentic workflow accessible to a much larger community.

Thanks for considering this!

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions