Search code examples
javascriptgoogle-chrome-devtoolsfetch-api

how to replay a fetch in chrome developer tools


In chrome developer tools is very useful to "replay xhr" for a xhr request (network tab). I have started using fetch in my code, and chrome developer tools do not allow to "replay" a fetch request, how is can it be? Am I doing something wrong?


Solution

  • Well, seems it's not supported yet. It's a real disappointment because "replay" is just too useful to stop using it.

    So I followed @wOxxOm advice and I just created a promised version of the standard xhr: https://github.com/max-favilli/helper-xhr