Hacker News new | ask | show | jobs
by oregondan 3584 days ago
I just discovered that PhantomJS has a built-in web server that serves generic WebKit-based dev tools (basically identical to Chrome's)[0].

It's obviously not helpful in terms of seeing the layout of the site, but it's a helluva lot better than writing Phantom scripts, running it, seeing it's failed for some non-obvious reason, modifying it, running it again, having it fail, etc. If anyone has any other suggestions for avoiding pure trial/error workflows with Phantom, I'd love to hear it.

[0] http://phantomjs.org/troubleshooting.html#remote-debugging