dimanche 29 septembre 2019

Testcafe - Intercept HTTP request made by iframe of different origin

In puppeteer, page.on('response', respHandler) triggers for all the requests/responses from the page irrespective of the origin.

However I am unable to achieve the same using Testcafe, tried using the docs here https://devexpress.github.io/testcafe/documentation/test-api/intercepting-http-requests/logging-http-requests.html#logger-methods

In my case, i need to check the response of a request initiated by iframe of different origin.

Aucun commentaire:

Enregistrer un commentaire