How can I create a single executable for Playwright tests

47 Views Asked by At

Is it possible to create a single executable from a Playwright test using PKG or something similar ?

pkg requires a command line such as

pkg index.js

but to run Playwright tests one would use npx playwright test.js

How would one use pkg to create a single executable that will automatically run the scrip ?

0

There are 0 best solutions below