heroku-playwright-example
heroku-playwright-example copied to clipboard
Playwright for API mocking for API Automation
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.