/ghostjs-chrome-adapter

DEPRECATED. The code has been moved to: http://github.com/kevingrandon/ghostjs

Primary LanguageJavaScript

GhostJS Chrome Adapter

A Chrome/Headless Chrome adapter layer for running GhostJS scripts.

Installation

yarn

Local development in OSX

Start Chrome with remote debugging. If you don't have Canary installed, you should download it and follow the instructions here. Then, fire up a Canary instance using the following command:

/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --remote-debugging-port=9222  http://latest.pinterest.com

In a separate terminal tab, run the test scripts against your local Chrome:

node index.js