AccessSniff icon indicating copy to clipboard operation
AccessSniff copied to clipboard

Replace phantomjs

Open XhmikosR opened this issue 8 years ago • 7 comments

Since phantom-js is no longer maintained, perhaps jsdom could be used?

XhmikosR avatar Aug 05 '17 11:08 XhmikosR

I should have checked the source first. Since jsdom is there, I'd suggest that is completely removed; too much overhead and jsdom seems to work fine.

XhmikosR avatar Aug 05 '17 11:08 XhmikosR

Hmm, now I remember... With browser: false thus using jsdom, testing is super slow at least on my Windows system.

XhmikosR avatar Aug 05 '17 12:08 XhmikosR

@yargalot i think phantom js should be removed completely because its bloating the node_modules folder by ~60MB.

axten avatar Oct 24 '17 22:10 axten

We could also remove PhantomJS and use Puppeteer along with Chrome Headless. I could help with a PR here is that sounds like a good solution.

gamebox avatar Feb 09 '18 16:02 gamebox

Yeh makes sense to replace phantom with puppeteer. Happy to take that as a pull request

yargalot avatar Feb 09 '18 16:02 yargalot

Awesome, I'll work on that and submit when I get a chance

gamebox avatar Feb 09 '18 16:02 gamebox

any updates here?

axten avatar Jun 07 '18 11:06 axten