Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

save har dump of network responses while in headless mode

  • No replies
  • 1 has this problem
  • 4 views
more options

hello.. i am trying to set up some performance monitoring of various HLS/DASH streams using firefox in headless mode. i'll run firefox in various cloud locations at 45s intervals, then kill/stop the session.

something like ++

  1. !/bin/bash

firefox --devtools --headless 'moz-extension://8ac79fd1-0657-4e29-90c2-4715fe801fec/index.html#http://fqdn/path-to-playlist.m3u8' & sleep 45 killall firefox ++

my question is, how do i automatically dump the HAR file generated from the devtool network pane? i can generate the HAR file with no problems if i have to interact with the browser.. since these firefox instances are more for monitoring, i cant babysit and click 'save HAR' after each run. so basically i want to automate this step of dumping the firefox network monitor stats into a har file.

see attached for the devtool panel in question.

thanks!

Attached screenshots

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.