News for hackers. Stuff that matters.
Re:Show HN: Nightmare – Simple browser automation by pkrein on Monday October 06, 2014 @12:22PM (#8416695)
Quick example of how we use this at Segment... for each integration (https://segment.io/integrations) we need to create a vector logo. This got a bit tedious after the first 50 :) so we built nightmare + nightmare-swiftly so that our chat bot could "auto-generate" vector logos: https://cloudup.com/cEA-dTd3glM

Hope it's helpful!

Re:Show HN: Nightmare – Simple browser automation by baudehlo on Monday October 06, 2014 @06:05PM (#8418599)
Please note that because you used the base "phantom" library from npm it won't ever work with cluster (because node doesn't do the right thing with port=0 under cluster).

You'd have to switch to node-phantom-simple. Which might be worthwhile anyway because the phantom library you've used proved massively unstable at scale for us - I wrote it because of the need to work under cluster, and because dnode communication was bloated and unstable.

Re:Show HN: Nightmare – Simple browser automation by dhotson on Monday October 06, 2014 @08:39PM (#8419167)
Hey Peter,

Swiftly lead dev here. Just wanted to say this is very cool! I was a little bit surprised to see us in your examples.

We've been looking into improving our end-to-end testing tools, but it looks like you guys have already taken care of it. Nice work! ;-)

Re:Show HN: Nightmare – Simple browser automation by bennyg on Monday October 06, 2014 @02:13PM (#8417241)
Is it doing this by checking colored pixel areas and making SVG shapes for them? If so, whatever you use should replace Illustrator's Image Trace functionality, cause that is so bad at creating crisp vector copies of things.
Re:Show HN: Nightmare – Simple browser automation by aarondf on Monday October 06, 2014 @02:23PM (#8417306)
Looks like they are submitting it to Swiftly, and then a human does it.
Re:Show HN: Nightmare – Simple browser automation by bennyg on Tuesday October 07, 2014 @09:33AM (#8420976)
:( - I was hoping for a cool algorithm to determine that. Haha maybe I'll write one.
Re:Show HN: Nightmare – Simple browser automation by pkrein on Monday October 06, 2014 @02:45PM (#8417424)
yep this