Live data from Hacker News

PhantomJS 2.0 is getting ready for release

github.com

11–20 of 25 posts

Re: PhantomJS 2.0 is getting ready for release

#11

PhantomJS is amazing. We use it to take screenshots of web sites on Neocities: https://neocities.org/browse

Same here! It's saved us a tremendous amount of time for screenshots, especially when dealing with different sized viewports. Happy to see CSS3 is supported in 2.0 :)

A big thanks to PhantomJS devs!

Re: PhantomJS 2.0 is getting ready for release

#12

Excellent! I have used PhantomJS for web scraping but as that is always a gray area of legality. I'd love to hear any other major uses you've seen it used for. I always love it when I find that a tool I'm using can be used for other purposes.

I use it to print out HTML presentations. I did found some very annoying bugs in saving to PDF (I'll have to see if they have got fixed!), but this is the only (scriptable) way I know of saving each slide of a HTML presentation to PDF (which you need sometimes)

Re: PhantomJS 2.0 is getting ready for release

#13

Earlier quoted context omitted.

Yes, my team ran directly into the old webkit version issue as well. Does this 2.0 still use an old WebKit? Having trouble finding out... Edit: it appears to be WebKit 538.1, from May 2014. But this is based on a readme which is pretty old, so it could be outdated info

I have solved this problem by using SlimerJS as an alternative.

Yeah, unfortunately we can't install that one on our build box, I believe because it needs X11. (As the page says it is not "totally headless")

Re: PhantomJS 2.0 is getting ready for release

#14
post #3

Excellent! I have used PhantomJS for web scraping but as that is always a gray area of legality. I'd love to hear any other major uses you've seen it used for. I always love it when I find that a tool I'm using can be used for other purposes.

I once wanted to do automated testing with it. But because PhantomJS used an old webkit version, I couldn't :( But that's one use case where I would love to use phantomJS or any other headless engine to test the frontend. I'm aware that for headless testing to work, there should be a headless browser of every major vendor. Maybe it's an utopia.

I've been using jquerygo (which runs on phantomjs) to do automated UI testing. The familiar jquery selectors are convenient!

Being able to use websockets in my automated testing has been something of a holy grail, so jquerygo and phantomjs have been hugely helpful.

https://github.com/travist/jquery.go.js

Re: PhantomJS 2.0 is getting ready for release

#15
Excellent news.

We, AppNeta, use PhantomJS to perform Synthetic web-app monitoring

http://www.appneta.com/products/appview/

While PhantomJS has some limitation here and there, it is the _only_ headless browser our there AFAIK.

Disclaimer: I work for AppNeta (specifically for the AppView product).

Re: PhantomJS 2.0 is getting ready for release

#20

Excellent! I have used PhantomJS for web scraping but as that is always a gray area of legality. I'd love to hear any other major uses you've seen it used for. I always love it when I find that a tool I'm using can be used for other purposes.

We use it to generate screenshots to use as the images in our open graph tags.
Post reply on HN