From 297b23c7dbfa1c43133c296aa4d1a250724cfb1e Mon Sep 17 00:00:00 2001 From: Michael Zedeler Date: Tue, 16 Sep 2014 15:37:17 +0200 Subject: [PATCH] Fixed option name It seems that phantomjs now uses ``binary`` in stead of ``phantomPath``. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba0cea3..7f3410c 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ You may also pass in a custom path if you need to select a specific instance of This can for example be used together with the [PhantomJS package](https://npmjs.org/package/phantomjs) like so: ```javascript -phantom.create(callback,{phantomPath:require('phantomjs').path}) +phantom.create(callback,{binary:require('phantomjs').path}) ``` ### Working with the API