xvrh / puppeteer-dart

A Dart library to automate the Chrome browser over the DevTools Protocol. This is a port of the Puppeteer API
BSD 3-Clause "New" or "Revised" License
236 stars 59 forks source link

Add parameter #216

Closed kendalsickels-wf closed 1 year ago

kendalsickels-wf commented 1 year ago

@xvrh while upgrading dependencies in a few repos we maintain we noticed an issue where the page would rerender when taking a screenshot which resulted in some unexpected differences. We can work around the issue by setting captureBeyondViewport to false.

Looking at the the TS version of puppeteer it appears this parameter is already exposed to the user. Making the same change here and would appreciate releasing as 2.9.3. I will also make a follow-up change off of master.

xvrh commented 1 year ago

I published v2.9.3 with this change.

robbecker-wf commented 1 year ago

Thank you so much for your quick response time!