microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
63.66k stars 3.44k forks source link

[Feature]: Extend codegen languages using plugins #31483

Closed carlosalberto closed 8 hours ago

carlosalberto commented 3 days ago

🚀 Feature Request

There is currently an external project (in the playwright-community organization) that adds support for Golang. And it seems this is not a priority for the core Playwright team, and hence no out-of-the-box codegen support for Golang can be added, it would be great to expose a way to expand languages support (via external dependencies, of course).

Example

npx playwright codegen --target golang

Motivation

Be able to use the fabulous Playwright codegen functionality from Golang land.

carlosalberto commented 3 days ago

Probably related to https://github.com/microsoft/playwright/issues/28474

mxschmitt commented 8 hours ago

Folding into https://github.com/microsoft/playwright/issues/28474