Puppeteer Sharp

Getting ready for Puppeteer-Sharp Firefox

You might not know, but Puppeteer’s team is making good progress on a Puppeteer version for Firefox. That’s a big deal. If we have trouble sometimes trying to get a site look the same in all browsers, imagine trying to use the same debugging protocol. They even had to fork... [Read More]

Puppeteer Sharp Monthly Report - March 2019

We were able to ship v1.12 in February, ok it was in March, but let me count this as February :p Puppeteer v1.12 included quite an interesting refactor, introducing Worlds. This took us some time to adapt our code to that new implementation. What’s next I bet Puppeteer v1.13 is... [Read More]

Puppeteer Sharp Monthly Report - February 2019

We didn’t get a (Google’s) Puppeteer release last month, but that doesn’t mean that we didn’t make good progress on Puppeteer-Sharp. We were working a lot on tech debt. We tried to make our builds more reliable. Many builds tend to fail due to timeouts or race conditions, so we... [Read More]

Puppeteer Sharp Monthly Report - January 2019

Happy new year Puppeteerers! (Is that even a word?) We launched v1.11 during December. The most important feature on v1.11 was drum rolls LINUX SUPPORT! I want to thank Dominic Böttger who setup our Linux CI and made some tweaks to make Puppeteer-Sharp work in Linux. We also worked a... [Read More]

A fairy tale about async voids, events and error handling

Let me tell you a story about async voids, SynchronizationContext, and async programming. A few days ago we got an issue on Puppeteer-Sharp describing two problems: Puppeteer-Sharp crashes with exceptions which cannot be caught. KeyNotFoundException trying to get a Frame The code was pretty simple: var launchOptions = new LaunchOptions()... [Read More]

Happy Birthday Puppeteer Sharp!

One year ago today I pushed my first commit to the Puppeteer-Sharp repo. As most “first commits” it was a small commit, adding the readme and the gitignore, but that commit marked the beginning of a year full of learned lessons. What did we accomplish so far? 18 releases 237... [Read More]

Puppeteer Sharp Monthly Report - July 2018

The World Cup is here, but it didn’t stop is from releasing v1.1 in June! v1.1 is the first version created from a diff between two puppeteer versions: v1.0 and v1.1. This brought about some challenges, but let’s talk about features first. New Features The Downloader class has been improved... [Read More]

Puppeteer Sharp v0.7 Released!

We are shipping Puppeteer Sharp v0.7 with many cool new features: Element selectors and evaluation over elements. But our big challenge on v0.7 was one of the hard things in computer science: Naming Things. Puppeteer has these 5 cool functions: $(selector): It calls document.querySelector and returns an ElementHandle. $$(selector): It... [Read More]

Puppeteer Sharp Monthly Report - May 2018

April was a great month for Puppeteer Sharp. We launched v0.4, which is huge! But not only that, we’ve got two more contributors. That means that I had to spend more time getting the issues and milestones ready for them as well as doing more code review. I wouldn’t have... [Read More]

Puppeteer Sharp v0.4 is here and it's huge!

I’m so excited to announce that Puppetter Sharp v0.4 is ready to download from Nuget. It includes more than 25 Page APIs such as: Full Page.GoToAsync/ReloadAsync support Emulate/EmulateMedia/SetViewport/SetUserAgent Get and Set cookies SetContent Evaluate javascript functions and expressions WaitFor expressions await page.GoToAsync("http://www.mysite.com"); //Do you need to wait for your javascript... [Read More]

Puppeteer Sharp Monthly Report - April 2018

March was an exciting Month for Puppeteer Sharp. CI Server is up an running. Version 0.3 was released, implementing IDisposable, many Puppeteer features (such as User dat dir support) and also fixing many process leaks. We also released v.0.3.1, adding .NET Framework support. We are now working on v0.4, which... [Read More]

Puppeteer Sharp Monthly Report - March 2018

Puppeteer Sharp v0.1 released! I’m super excited to announce that the first usable version of Puppeteer Sharp is ready to download from Nuget. The first milestone on the roadmap is completed. What can you do so far? PDF support You can export any page to PDF file. var browser =... [Read More]