title: How do I script retrieval of file from memory cache of Firefox?
body: <p>In general I am interested in browser automation with a focus on browser control as opposed to web page interaction. Specifically, I am looking for a macro recorder or a driver (webdriver? or Marionette?) that can be scripted to navigate about:cache on Firefox in the following sequence:</p>
  <p>about:cache/Information about the Network Cache Storage Service&gt;memory/List Cache Entries&gt;Information about the Network Cache Storage Service/[right click on a key, open in new tab]&gt;Cache Entry Information/[right click on the key, Save Link As...]</p>
  <p>The Network tab of the Firefox Web Developer tool often shows transferred files that are cached but invisible to disk viewing utilities. Is there an approach that can automate the process of accessing a file cached in memory and saving it to disk?</p>
  <p>Edit:  It appears that the key given in about:cache?storage=memory does not access memory for retrieving the file, but sends a new HTTP request. The manual method for saving a transferred file described above using the about:cache key does not work when the network connection is disabled. The problem of accessing memory remains.</p>