Collect browser network logs for every test run
For better test diagnosis, we plan to collect all browser network logs and present them with the test run.
Related ticket https://feedback.bugbug.io/p/collect-browser-console-logs-for-each-test-run
For better test diagnosis, we plan to collect all browser network logs and present them with the test run.
Related ticket https://feedback.bugbug.io/p/collect-browser-console-logs-for-each-test-run
Log in to comment and vote
Comments4
May 6
PinnedFeature has arrived!
Mar 19
PinnedWe have started working on this.
Thank goodness for LLMs!
Marius COJOCARIU
Aug 19, 2024
Hey @Paweł Bylina , not sure if you already have something in mind for this, but I recently discovered that it’s possible to upload .har files inside the browser network inspector, which will load the api call(s) of that har file for debugging.
So maybe a solution could be to save a .har file per each step executed.
Of course, you’ll need to take into consideration storage. Maybe only save har files for cloud executions? Only for failed steps? And delete har file logs automatically for tests older than x days/weeks? Have this behind a subscription tier?
Paweł Bylina
Aug 19, 2024
The general problem is how to get the HAR file from the browser. It's not available to download by default from the browser. We have to add our own network log collector and prepare our own HAR file. We know how to do this, but other features are of higher priority right now.