问题
Google Developer Tools "Network" Tab clears after redirect to another page and i want to know if there is any way to keep all request?
I want to do this because i want to verify one POST request but it redirects and get cleared.
In firebug we can use the "Persist" option:
(The "Persist" option prevents clearing the console at a page reload. That means, the messages will stay inside the console as long as this option is enabled.) https://getfirebug.com/wiki/index.php/Console_Panel
回答1:
In the network tab of dev tools, on the top left of the dev tools there should be a checkbox labelled Preserve log
. Click that and it will preserve network upon navigation.
(older versions may have the record button in the buttom left, as seen here)
来源:https://stackoverflow.com/questions/10703944/google-developer-tools-network-tab-clears-after-redirect