What is phantomjs!
Full web stack and No browser required
PhantomJS is a headless WebKit scriptable with a JavaScript API.
If:
> phantomjs --version
-bash: /usr/local/bin/phantomjs: No such file or directory
Then:
> whereis phantomjs
phantomjs: /usr/bin/phantomjs /usr/lib/phantomjs /usr/bin/X11/phantomjs
> sudo ln -s /usr/bin/phantomjs /usr/local/bin/phantomjs
Check If it works:
> phantomjs --version
1.9.0
That's all!
No comments:
Post a Comment