You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playwright codegen is a very useful feature especially for beginners. While Playwright is available also with Ruby or Go via community driven projects, codegen only supports official languages at this moment.
So, we have to add Ruby or Go version of codegen into the playwright-core package for supporting community driven project's languages. ( npx playwright codegen --target ruby )
Another idea is preparing something like playwright codegen plugin or extension, and providing another lib just for codegen based on the plugin. ( npx playwright-ruby codegen )
Could you provide any solutiion for this?
Thank you! :)
Example
No response
Motivation
It is actually asked in YusukeIwaki/playwright-ruby-client#300. Although the issue is closed, it is still an important feature for promoting the usage of Playwright in Rails.
The text was updated successfully, but these errors were encountered:
Skn0tt
changed the title
[Feature]: Codegen support (or extensibility) for community driven project's languages
[Feature]: Support community driven language ports in codegen
Dec 3, 2024
🚀 Feature Request
I'm a maintainer of playwright-ruby-client.
Playwright codegen is a very useful feature especially for beginners. While Playwright is available also with Ruby or Go via community driven projects, codegen only supports official languages at this moment.
It seems that current codegen implementation does not accept unknown languages
https://github.com/microsoft/playwright/blob/v1.49.0/packages/playwright-core/src/server/recorder/contextRecorder.ts#L114-L131
So, we have to add Ruby or Go version of codegen into the playwright-core package for supporting community driven project's languages. (
npx playwright codegen --target ruby
)Another idea is preparing something like playwright codegen plugin or extension, and providing another lib just for codegen based on the plugin. (
npx playwright-ruby codegen
)Could you provide any solutiion for this?
Thank you! :)
Example
No response
Motivation
It is actually asked in YusukeIwaki/playwright-ruby-client#300. Although the issue is closed, it is still an important feature for promoting the usage of Playwright in Rails.
The text was updated successfully, but these errors were encountered: