How to take a screenshot of a webpage in Haskell
It's a widespread need to take a screenshot of a live website. On a project I worked on recently, we had a legal requirement to take screenshots of forms that our users filled, as at the time they filled the forms, for consent documentation purposes.
Posted October 19, 2022 (updated October 23, 2022) by Anthony Alaribe ‐ 4 min read
I migrated to Google Cloud
Google Cloud gives $300 in credits for 3 months for experimenting. And I decided to give it a try, but not because of the free credits.
Posted September 14, 2022 (updated September 14, 2022) by Dmytro Krasun ‐ 4 min read
How to hide chat widgets when taking a screenshot with Puppeteer
When you want to take chat widgets, there are annoying chat widgets that you would love to hide. It is easy to do.
Posted July 28, 2022 by Dmytro Krasun ‐ 1 min read
How to hide cookie banners when taking a screenshot with Puppeteer
When taking a screenshot, you want to ensure that you take a clean screenshot without cookie banners or cookie consent forms. And in this article, I will share with you how you can do it when using Puppeteer.
Posted July 28, 2022 by Dmytro Krasun ‐ 11 min read
Puppeteer: "Execution context was destroyed, most likely because of a navigation"
In this article, I share how to fix the "execution context was destroyed, most likely because of a navigation" error that might happen while using Puppeteer.
Posted July 25, 2022 by Dmytro Krasun ‐ 2 min read
A complete guide on how to take full page screenshots with Puppeteer, Playwright or Selenium
To take full-page screenshots with Puppeteer or Playwright, you only need to set the
fullPage parameter to `true` when taking a screenshot. But there are so many caveats that you may assume by default that the full-page screenshot feature does not work in Puppeteer.
Posted July 20, 2022 (updated October 19, 2022) by Dmytro Krasun ‐ 7 min read
How to create a site thumbnail with Puppeteer
We can consider the screenshot of URL or HTML as a thumbnail, but I write about the thumbnail of a screenshot. How do you take a screenshot within the defined viewport but with different image width and height? Resize!
Posted July 18, 2022 by Dmytro Krasun ‐ 3 min read