PhantomJS, but not headless?
headless-browser, phantomjs
Solution
No, there is no such thing. SlimerJS has the same API as PhantomJS, but runs the Gecko engine. You can see directly what is going on and run it headlessly with xvfb-run.
You will not be able to interact with it. You may want to use a screengrabber to record a video of the interaction when the tests are long and you don't want to run the test suite again if you didn't catch the problem in the test case.
The obvious way to debug PhantomJS scripts is to render many screenshots using `page.render()` and logging some objects to the console with
console.log(JSON.stringify(yourObj, undefined, 4));
with nice formatting.
Problem
Is there a way to get a realtime view of what PhantomJS (or similar) is rendering? I would like to develop my automation script while interacting with (or at least seeing a screencap of) the page it's targeted to.