How to convert HTML to PDF in JavaScript

Nowadays, you have various options to generate PDFs from HTML or any given URL: generating PDF in the browser, on the server-side (Node.js), or even using a modern and friendly API to generate PDF.

Posted January 2, 2023 by Dmytro Krasun ‐ 4 min read

Capture beyond viewport in Puppeteer and Chrome DevTools Protocol

Let's talk about the captureBeyondViewport parameter introduced in Chrome DevTools Protocol which will soon be supported by Puppeteer or even supported now at the time when you are reading the post.

Posted January 1, 2023 by Dmytro Krasun ‐ 3 min read

How to take website screenshots in Python

Today, there are many options to make screenshots of any URL with Python. Let's examine them all and choose which suits you best.

Posted December 22, 2022 by Dmytro Krasun ‐ 4 min read

How to take website screenshots in Ruby

Let's examine what Ruby proposes for us to render HTML or URL as a screenshot dynamically.

Posted December 15, 2022 by Dmytro Krasun ‐ 6 min read

How to record videos with Puppeteer

I gathered everything you need to know about how to record videos with Puppeteer in one place. Enjoy!

Posted December 5, 2022 by Dmytro Krasun ‐ 4 min read

Open Graph images

You can control the preview image rendered when your site is shared on social media, messengers, or apps that support the Open Graph protocol.

Posted November 27, 2022 (updated November 28, 2022) by Dmytro Krasun ‐ 11 min read

What is a screenshot or HTML rendering API?

A screenshot API or a screenshot as a service is usually a cloud or a remote server service that provides the ability to render any website, HTML, Markdown, or even PDF by making a request to the service, be it over HTTP, TCP, or any other protocol.

Posted November 22, 2022 (updated November 27, 2022) by Dmytro Krasun ‐ 2 min read