php-casperjs icon indicating copy to clipboard operation
php-casperjs copied to clipboard

Allow custom CasperJS run paths with spaces

Open dxdc opened this issue 8 years ago • 0 comments

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.

dxdc avatar Aug 19 '17 01:08 dxdc