everyone!
When I trying to run one test in casper: casperjs --engine=slimerjs test.js
and got this msg
SLIMERJSLAUNCHER environment variable is missing. Set it with the path to Firefox or XulRunner
XulRunner, Firefox is installed. I'm using using Mac OS.
The solution is:
brew uninstall slimerjs
mkdir ~/forked && cd $_
git clone https://github.com/laurentj/slimerjs.git
export PATH=$PATH:~/forked/slimerjs/src
and next reboot terminal , because for me it doesn't worked until I did a reboot.
Check this our by typing slimerjs -v
Happiness to everyone.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.