php-casperjs
php-casperjs copied to clipboard
Allow custom CasperJS run paths with spaces
Using an instance with a custom path to CasperJS would fail if there were spaces within the pathname, i.e.
$CasperJSpath = '/home/dxdc/my app/node_modules/casperjs/bin/';
$casper = new Casper($CasperJSpath);
This PR fixes it.