Goose Phantom Environment
Environment for Goose Parser which allows to run it in PhantomJS
PhantomEnvironment
That environment is used for running Parser on node.
var env = new PhantomEnvironment({
url: 'http://google.com',
});
The main and only required parameter is url
. It contains an url address of the site, where Parser will start.
This environment allows to perform snapshots, use proxy lists, custom proxy rotator, white and black lists for loading resources and more sweet features. Find more info about options in here.
Tests
To run tests use command:
npm test