When reading a webpage in Firefox/Chrome, one can press Ctrl+S to download the webpage with its contents (including CSS, JavaScript, images, etc...) for reading it offline later. I wonder if there is a way to immitate this task using command line that gives the same downloading result.

I know that there are wget and curl. However, as I tried them out, they don't crawl the same amout (with using Firefox and Ctrl+S of files that are needed to render the page to read offline later.

Can anyone tell me if there is any cmd tool (maybe the command line version of Firefox, Chromium?) for this purpose?

  • I want to keep all source files that are needed to render the page. And Ctrl+P is not a cmdline tool though. Sep 13, 2018 at 0:41
  • right, sorry, I missed the point. Sep 13, 2018 at 0:43
  • and Chromium is not a command line version of firefox: it is the open source version of Chrome. Sep 13, 2018 at 0:44
  • I think Chromium does have an CLI, doesn't it? Like headless browsing with Firefox cmd. Sep 13, 2018 at 0:45


You must log in to answer this question.

Browse other questions tagged .