checkly/puppeteer-to-playwright

How to use this on my existing project?

tseday opened this issue · 2 comments

I have cloned this repo but I would like to use this converter on my existing puppeteer project. How can I do that?

ragog commented

You can convert scripts anywhere in your file system by pointing the converter to them, e.g.:

$ npm run convert ../my-project/tests/my-puppeteer-script.js

You can convert entire folders recursively.

$ npm run convert ../my-project/tests

fwiw, I ran into this using pnpm instead of npm