Reputation: 413
On my website, an AJAX script makes a lot of requests. I would like to have the network log scroll down to the newest requests automatically without me needing to do this. How would I do this on Chrome DevTools?
Upvotes: 1
Views: 874
Reputation: 168
There is a somewhat cumbersome solution:
devtools-on-devtools
.Open devtools first and switch its Dock side in the menu to a detached (floating) window
in the now detached devtools press Ctrl+Shift+i or ⌘+⌥+i on MacOS, which will open devtools-on-devtools in a new window
devtools-on-devtools
console:setInterval(() => {
let scr = document.querySelector("div.network-waterfall-v-scroll")
scr.scrollTop = scr.scrollHeight
}, 3000);
Upvotes: 4