har-to-playwright-mock

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i har-to-playwright-mock

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.7 kB

Total Files

3

Last publish

Collaborators

  • flav