|
|
пре 5 година | |
|---|---|---|
| at | пре 5 година | |
| bin | пре 5 година | |
| lib | пре 5 година | |
| t | пре 5 година | |
| .gitignore | пре 5 година | |
| Changes | пре 5 година | |
| LICENSE | пре 5 година | |
| MANIFEST.SKIP | пре 5 година | |
| README.md | пре 5 година | |
| api.json | пре 5 година | |
| arg_order.js | пре 5 година | |
| dist.ini | пре 5 година | |
| example.pl | пре 5 година | |
| package.json | пре 5 година | |
| perlcriticrc | пре 5 година | |
| tidyall.ini | пре 5 година | |
| weaver.ini | пре 5 година |
Perl bindings for playwright, the amazing cross browser testing framework from Microsoft
You're writing some acceptance test with Selenium::Remote:Driver, but you figure out selenium is a dead protocol? Finally, a solution!
A little node webserver written in express is spun up which exposes the entire playwright API. We ensure the node deps are installed in a BEGIN block, and then spin up the proxy server. You then use playwright more or less as normal; see the POD in Playwright.pm for more details.
See example.pl for usage examples.
npm i playwright express uuid yargs
perl -Ilib example.pl