Re:Ask HN: PhantomJS or Protractor?
by oregondan on Monday August 22, 2016 @10:56AM
(#12336733)
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.
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