heroku-playwright-example icon indicating copy to clipboard operation
heroku-playwright-example copied to clipboard

Playwright for API mocking for API Automation

Open mjain892 opened this issue 2 years ago • 0 comments

Thanks for the wonderful tool.

How can we mock API for the API automation, not with the UI integration?

Mocking as per the documentation https://playwright.dev/docs/mock works fine when we have the integration with UI but can we do the same for API only, where we can mock the response of APIs and read it. Please suggest.

Thanks in advance.

mjain892 avatar Sep 26 '23 07:09 mjain892