Open weuroi578 opened 3 years ago
Ran into the same issue as well. Traced the issue down the Pyppeteer itself, though not sure why it's happening yet:
[Update 1] I did a kludge patch in my install of Pyppeteer, looks like my scan is running now. Basically added to the conditional in that line of code. If I end up with usable screenshots, I might end up opening an issue or PR with Pyppeteer.
[Update 2] It worked. Changing line 1249 of /usr/lib/python3/dist-packages/pyppeteer/page.py to if mimeType == 'image/png' or mimeType == 'image/vnd.mozilla.apng':
What a mess, though I don't think it's a WitnessMe problem.
@weuroi578 in case you're still hoping to use WitnessMe ^ Hope that helps for you.
Recently updated WitnessMe and ran the following command:
witnessme screenshot textFile.txt - the text file has one url per line as 'https://something.com'
It seems the valid urls (I am able to manually verify them) are providing the following error:
[witnessme.headlessbrowser] ERROR - Error navigating to url https://SOMETHING.COM: Unsupported screenshot mime type: image/vnd.mozilla.apng
Thank you in advance for your help.