While trying to extract information from a web page, I tend to use the console in the web developer tools to write some simple javascript to get the DOM elements and capture the data I need.
I tend to treat the web developer console as an REPL and I would like to save those code snippets for possible re-use in the future. Spark repl has a very useful command :save
which saves all the commands from the session to a file so I can replay it later.
Is there such a feature in firefox web developer console to save the commands in the current console session?
I couldn't find any mention of such thing in the user documents. My google search and stack overflow search also turned empty. Only thing I've come close to is Scratchpad, which can be enabled from the web developer tools settings, but it doesn't seem to fit my need.