webscreenshot icon indicating copy to clipboard operation
webscreenshot copied to clipboard

openSquat

Open atenreiro opened this issue 2 years ago • 1 comments

hey @maaaaz

While searching for Github screenshot libraries, I bumped into this. Can this code be reused for openSquat for multi-platforms?

atenreiro avatar Jun 11 '23 00:06 atenreiro

Hello @atenreiro,

Well technically you can, but even if webscreenshot works, it needs the deprecated phantomjs tool for full option support. Or, headless browsers, but with limited options. You can find info in the FAQ : https://github.com/maaaaz/webscreenshot/wiki/FAQ

Then I recently discovered the playwright library, which should give better results than my current implementation for headless browsers. Maybe one day I will integrate it into webscreenshot.

I also recently discovered this project shot-scraper which implements playwright.

So feel free to test different tools, as some might be better than webscreenshot.

Cheers !

maaaaz avatar Jun 11 '23 08:06 maaaaz