har-to-playwright-mock
v1.0.1
Published
Script cli with the ability to generate mockApi route for Playwright from har file (http archive)
Downloads
5
Maintainers
Readme
har-to-playwright-mock
This script cli have the ability to generate mockApi route for Playwright from har file (http archive).
Installation
Make sure you have Node.js installed on your machine.
Use npm to install the script globally.
npm install -g har-to-playwright-mock
Usage
For now the usage is basic and limited to cli.
har-to-playwright-mock <path_har_file>
Examples
https://github.com/Flavien-Pensato/har-to-playwright-mock/assets/7447983/40f4249f-a02a-415b-a8f1-62d8ed02742e
Contributing
You are welcome to pull request.