You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
With the current API, it is very hard to know what is going on with XHR requests inside the page. You can hook 'xhr' event on the browser/window, but that only gives you eventName (loadstart, load, error, ...) and the url that was accessed. People (like me) who need precise timing information can hook the resource pipeline - only then it is really hard to figure out something is a XHR request.
Ideally, I would like to receive events on a target that is accessible to me, containing more information but at the very least:
xhr instance - so I can interact with it directly and also as a form of 'request identity'
the actual 'event' - not just the eventName
the url requested (works today)
You could for example make this look as follows:
constbrowser=newBrowser()browser.on('xhrDebug',(event,url,xhr)=>{// Do something with the event here: xhr uniquely identifies this request})
I realise that this would be the first such API that is only targeted at zombie users (non-web API). Are you interested in such a contribution at all?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With the current API, it is very hard to know what is going on with XHR requests inside the page. You can hook 'xhr' event on the browser/window, but that only gives you
eventName
(loadstart, load, error, ...) and theurl
that was accessed. People (like me) who need precise timing information can hook the resource pipeline - only then it is really hard to figure out something is a XHR request.Ideally, I would like to receive events on a target that is accessible to me, containing more information but at the very least:
You could for example make this look as follows:
I realise that this would be the first such API that is only targeted at zombie users (non-web API). Are you interested in such a contribution at all?
The text was updated successfully, but these errors were encountered: