From b91c945a4f6e0d1dd9e70d7cd57ec2c7d414b576 Mon Sep 17 00:00:00 2001 From: Harlan T Wood Date: Thu, 21 May 2015 15:36:56 -0700 Subject: [PATCH] .use instead of .driver --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 423cb20..9b6e289 100644 --- a/Readme.md +++ b/Readme.md @@ -15,8 +15,8 @@ npm install x-ray-phantom var phantom = require('x-ray-phantom'); var Xray = require('x-ray'); -var x = Xray() - .driver(phantom()); +Xray('http://google.com') + .use(phantom(options)) x('http://google.com', 'title')(function(err, str) { if (err) return done(err);