Poltergeist had a network_traffic mode which we found quite useful. (Seeing if requests were made etc)
Does Chrome headless have an equivalent? It's the only thing preventing us from moving across. And if not where should I raise it?
Does Chrome headless have an equivalent? It's the only thing preventing us from moving across. And if not where should I raise it?
Everything you get in the Network inspector in Chrome DevTools should be available in Headless Chrome.
https://chromedevtools.github.io/devtools-protocol/tot/Netwo...
Even with Poltergeist I used to debug a slow test suite with it's `--proxy-server` option.
You can fire up mitmproxy and see the requests flowing in real time. You can even modify them or replay them.