-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request issued by cy.request
cannot be captured
#59
Comments
Any update on this question? |
@Kanapriya the plugin must capture all requests inside your browser session including those which have been sent by |
Hey @derevnjuk, I've created a sample repo for your reference. With the spec, you can see that I've made multiple My only question is, the har file generated by the chrome browser shows all the requests that were made during the session whereas the har file generated by |
@pranavj1001 I am not a developer in this project but have written similar tools for other languages so have experience with the concepts. Hopefully the owners of this project won't mind me answering this question. This plugin uses the Chrome DevTools Protocol (https://chromedevtools.github.io/devtools-protocol/) to subscribe to events triggered by chrome when HTTP requests are made and received. By keeping track of these events (there are multiple events associated to one request/response), a HAR file can be generated from the available data. As a result, only requests made by the browser generate these events, hence requests made by the node process such as I guess that in theory as the process that is subscribing to the CDP events is the same process that makes the Whether it is possible for HAR generation code to access a log of Just to also say, there may be some confusion over the term
|
xhr type request are available in the json file though it not display by importing any of the har file viewer. tried with chrome dev tools, and etc.. |
cy.request
cannot be captured
In generated har file, couldn't see the request/data between a web browser and a web server (XHR) (access token endpoint request, scim endpoint and etc). Is this the limitation of this plugin?
Appreciate any input/workaround to capture the details of the xhr type of request in the har file.
The text was updated successfully, but these errors were encountered: