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.
答案 0 :(得分:0)
解决方案是:
brew uninstall slimerjs
mkdir ~/forked && cd $_
git clone https://github.com/laurentj/slimerjs.git
export PATH=$PATH:~/forked/slimerjs/src
和下次重新启动终端,因为对我来说,在我重新启动之前它不起作用。
通过输入slimerjs -v
每个人的幸福。