Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It's possible to save page page with Firefox CLI?

Something like:

firefox -new-tab -save-page /path/
share|improve this question
Any particular reason to use firefox? there are other CLI alternatives that are great for saving web pages. Even whole sites. – Martín Canaval Jan 25 '13 at 18:50
Any alternatives are welcome, single requirement they must available on Linux – cetver Jan 25 '13 at 18:53
up vote 0 down vote accepted

I'm not aware of any really simple way to do this. You might consider looking into a browser automation tool like Selenium. Alternatively, a more general automation tool like Sikuli might be workable as well (this is actually likely to be easier than using Selenium, depending on exactly what you want to do).

share|improve this answer

According to the list of Firefox command line arguments, there is no such thing.

There is a command line tool called wget (link is for Windows version, I suppose you are using Windows? If not, it's already included in every Linux distribution) which was made for exactly this purpose. Run it like this:

wget.exe -P /path
share|improve this answer
wget cannot execute javascript – cetver Jan 25 '13 at 18:45
I didn't know that was a requirement, I don't know then. – chrki Jan 25 '13 at 18:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.