This walkthrough shows you how to get headless Chrome up and running on OSX and explains in detail how to use the code examples provided by the Chrome team. Headless mode in Chrome is a new way to interact with websites without having to actually have a window up on the screen.
Full article