YusukeIwaki / playwright-ruby-client

Playwright client for Ruby
https://playwright-ruby-client.vercel.app/
MIT License
336 stars 34 forks source link

Codegen support #300

Closed db0sch closed 3 months ago

db0sch commented 3 months ago

It seems that one of Playwright cool feature is the Codegen: Writing the test cases by clicking around in the browser directly. I'm not sure this is supported by this library.

Do you have any plan in supporting this (if technically possible)?

Thank you for you work on this gem 🙂

YusukeIwaki commented 3 months ago

playwright codegen is provided by Playwright (Node.js) package. For example, Python's code generator is here: https://github.com/microsoft/playwright/blob/v1.45.3/packages/playwright-core/src/server/recorder/python.ts

We have to contribute to official Playwright for supporting Ruby of codegen. Could you ask it in https://github.com/microsoft/playwright/issues ?

db0sch commented 3 months ago

Thank you for your reply 🙂 Will close the issue, and will eventually post an issue on Playwright's repo. Thanks a lot