npm install x-ray-phantomphantom driver for x-ray.
```
npm install x-ray-phantom
`js
var phantom = require('x-ray-phantom');
var Xray = require('x-ray');
var x = Xray()
.driver(phantom());
x('http://google.com', 'title')(function(err, str) {
if (err) return done(err);
assert.equal('Google', str);
done();
})
`
Initialize the phantom driver with options being passed to Nightmare andfn
an optional custom with the signature function(nightmare, done).
```
npm install
make test
MIT