Closed Jpunt closed 10 years ago
Sorry, asked too soon. It's possible to set this using an env-var, like this: PHANTOMJS_EXECUTABLE=/path/to/phantomjs mocha-casperjs test/*
This is enough for me, for now.
Yes what you found is a feature of casper's bin wrappers. In the end it all winds up to a shell execute to phantomjs with parameters to load casper then mocha-casperjs and arguments for all of those.
In our setup, we can't rely on a globally installed PhantomJs. How can I define a custom path to run Phantom from?