How to use wait for response using the request body? We can check for the request body as a string and use include. How to use JSON.parse() and pass the body inside and check for a key equals
The body is not getting resolved and throwing an error. How to use await for request body as JSON?
#waitForResponse
This thread is trying to answer question "How to use 'waitForResponse' with a request body as JSON in GraphQL?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].