2 points · by alistproducer2 · 10y ago · 1 comment
Anyways, for debugging convenience I'm using Protractor but ultimately I don't know how feasible Protractor will be when it comes time to dockerize the server stack on a minimal linux distro.
The PhontomJS binary is going to be easier to manage in the long run, but while I'm working out the kinks I want the comfort of a headed browser.
What should I do?
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