|
|
|
|
|
by maemre
4083 days ago
|
|
Which means that it can handle scripts that rely on browser features like DOM whereas node can't handle that. So, you can use it to test the client-side code automatically (with a CI tool of course). You can't do that in node if your code accesses DOM (e.g. calls something like document.getElementById or uses jQuery). Btw, it is just a CLI wrapper around PhantomJS[1] I guess. [1]: https://github.com/ariya/phantomjs |
|
(And piss off people who hate JS "apps" or still desire the HTTP/HTML document ideal, for better or for worse.)