This is, by itself, an interesting topic to explore: how much did the code have to change to get it working in Deno. Together with great documentation and an engaged community, Puppeteer has been one of the best solutions when it comes to writing applications connecting with headless browsers.Ī few months ago, Luca Casonato, one of Deno’s core team members, ported Puppeteer into Deno.Īnnouncing Puppeteer for Deno: a framework to control headless Chromium or Firefox Nightly from Deno.Ĭreate UI tests, take screenshots, generate PDFs, or test Chrome Extensions, all with the same API you are familiar with from Puppeteer in Node. It enabled developers to directly use JavaScript to control their headless browser of choice (Chrome & Firefox) without all the burden that it used to be. Puppeteer was a changing piece of technology. We’ll demonstrate how Deno can make it even simpler to write puppeteer scripts and applications. Today we’ll explore deno-puppeteer, a port of puppeteer to deno. We previously explored some of Deno’s premises and how it addresses specific Node.js problems. We’ll go from CLIs to scrapping tools, among others. This blog post is part of a a blog post series where we use Deno to build different applications. Learning as we go Using Puppeteer with Deno □
0 Comments
Leave a Reply. |