tag:blogger.com,1999:blog-4622775563416752930.post4503242357953646820..comments2022-09-01T20:53:27.194+01:00Comments on Mark's stream of verbiage: Headless web browsers: PhantomJS and SlimerJSMark Robsonhttp://www.blogger.com/profile/15864507044869250062noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4622775563416752930.post-31722199075020866992016-05-31T05:36:13.682+01:002016-05-31T05:36:13.682+01:00Hi Mark,
Your observations are interesting, as I ...Hi Mark,<br /><br />Your observations are interesting, as I have been testing various platforms and open-source screenshot utilities over the past couple of weeks. I am considering to add a failover or fallback to my existing, proprietary capture code powering my automated screenshot service.<br /><br />In my testing, PhantomJS performs very quickly and captures almost twice as fast as my own code (very impressive!). However, I've just run a few captures back-to-back and haven't really stress tested it yet. So, even though I'm testing with v2.1.1, I'm wondering if I'll see the memory leak and crash issues you encountered (and I've read about from others as well). My service currently captures about 100 million screenshots a month and needs something extremely stable. And the fact that PhantomJS removed support for Flash, back in v1.5, means that I cannot consider it anyway. Workarounds for Flash support are too troublesome to bother with.<br /><br />So, I've considered to add SlimerJS to my short list, but as you mentioned; it's not completely headless. The most suprising part of your post is that you found SlimerJS to perform "much better" than PhantomJS. Now, I really want to try it out!<br /><br />Thanks for sharing your results!<br /><br />Cheers,<br /><br />BrandonAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4622775563416752930.post-57077111435734799652016-04-26T11:26:34.641+01:002016-04-26T11:26:34.641+01:00Since I wrote this post, both PhantomJS and Slimer...Since I wrote this post, both PhantomJS and SlimerJS have improved, but I think the core issues are still the same.<br /><br />Hopefully there is a new release of SlimerJS soon (which contains a little bit of my code)Mark Robsonhttps://www.blogger.com/profile/15864507044869250062noreply@blogger.comtag:blogger.com,1999:blog-4622775563416752930.post-73613584266859861682015-10-06T04:06:34.132+01:002015-10-06T04:06:34.132+01:00I couldn't agree with you more, I've been ...I couldn't agree with you more, I've been working on something with PhantomJS for over 2 weeks and got tired of applying workarounds, hacks and endless testing to get what I wanted, the online resources and docs were so many that I thought "this is it"... 2 hrs ago I downloaded SlimerJS and I'm already getting better results and stability on the tests I'm running.<br />+performance +flash rendering and with Xvfb headless usage is not an issue.Juan Renoldihttps://www.blogger.com/profile/03823901227148801560noreply@blogger.com