Hacker News new | ask | show | jobs
by AlexNeoNomad 4079 days ago
Why not to execute a js code in Chrome or Fifefox in Javascript console?
1 comments

I imagine this is to be used for something like automated testing.
You would be able to do it with Selenium, which drives a real browser not a fake one.
BooJS uses PhantomJS. In Selenium, if you want to go headless you will use PhantomJS again [1].

[1] http://code.tutsplus.com/tutorials/headless-functional-testi...

just run it with Xvfb, and you got a headless browser.
Not everyone wants to install x-server and friends on their servers
why wouldn't you?
This is headless.