Identify the built-in standard backup and restore tool for the Mac OS X operating system. As of November 2015, Google is no longer supporting or providing Chrome updates, for the XP, Vista, and MAC OS X 10.6, 10.7, and 10.8 operating systems as these system have reached EOF (tech speak.
I've been looking at the following article about Headless Chrome: I just upgraded Chrome on Windows 10 to version 60, but when I run either of the following commands from the command line, nothing seems to happen: chrome -headless -disable-gpu -dump-dom chrome -headless -disable-gpu -print-to-pdf And I'm running all of these commands from the following path (the default installation path for Chrome on Windows): C: Program Files (x86) Google Chrome Application When I run the commands, something seems to process for a second, but I don't actually see anything. What am I doing wrong? Edit: As noted by Mark Rajcok, if you add -enable-logging to the -dump-dom command, it works. Also, the -print-to-pdf command works as well in Chrome 61.0.3163.79, but you'll probably have to specify a different path for the output file in order to have the necessary permissions to save it.
As such, the following two commands worked for me: 'C: Program Files (x86) Google Chrome Application chrome' -headless -disable-gpu -enable-logging -dump-dom 'C: Program Files (x86) Google Chrome Application chrome' -headless -disable-gpu -print-to-pdf=D: output.pdf I guess the next step is being able to step through the dumped DOM like PhantomJS with DOM selectors and whatnot, but I suppose that's a separate question. With Chrome 61.0.3163.79, if I add -enable-logging then -dump-dom produces output: 'C: Program Files (x86) Google Chrome Application chrome.exe' -enable-logging -headless -disable-gpu -dump-dom. If you want to programatically control headless Chrome, here's one way to do it with Python3 and Selenium: In an Admin cmd window, install Selenium for Python: C: Users Mark pip install -U selenium ChromeDriver v2.32 and extract it. I put the chromedriver.exe in C: Users Mark, which is where I put this headless.py Python script: from selenium import webdriver options = webdriver.ChromeOptions options.addargument('headless') # remove this line if you want to see the browser popup driver = webdriver.Chrome(chromeoptions = options) driver.get('print(driver.pagesource) driver.quit # don't miss this, or chromedriver.exe will keep running! Run it in a normal cmd window: C: Users Mark python headless.py
Uses the specified directory instead of the default one, which is likely already in use by your regular browser. However, if you're trying to make a PDF from HTML, then this is fairly useless, since you can't remove header and footer (containing text like file:///.) and the only viable solution is to use. I know this question is for Windows, but since Google gives this post as the first search result, here's what works on Mac: Mac OS X /Applications/Google Chrome.app/Contents/MacOS/Google Chrome -headless -dump-dom 'Note you MUST put the http or it won't work. Further tips To indent the html (which is highly desirable in real pages that are bloated), use tidy: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome -headless -dump-dom ' tidy You can get tidy with: brew install tidy.