Filtering requests in browser dev tools
Sometimes when I’m using developer tools to inspect network requests in my browser, I find myself wanting to filter out certain types of requests that I know are not relevant to what I’m looking for.
To do this, you can enter certain keywords prepended by a minus (-
) in the network tab’s search box. To filter out OPTIONS
requests, for example, enter -method:OPTIONS
. This will prevent OPTIONS
requests from showing up in the list of network requests, which can help filter out noise and make it easier to spot what you’re looking for. This works with other parts of a request too such as status-code
or domain
.
A full list of keywords you can use in Firefox is here. A similar list for Chrome can be found here.