puppeteer-sharp

Puppeteer Sharp is the official Node.JS Puppeteer API .NET port. Headless Chrome and WebDriver provide browser automation for current Firefox versions using BiDi. It has .NET 8 compatibility with NetStandard 2.0 and supports AOT compilation.

PU

hardkoded · Testing & QA

STARS3.9K
FORKS482
COMMITS0
CONTRIBUTORS0
VERSIONv25.14.0
UPDATEDyesterday
C#.NETAutomationHeadless ChromeMIT

Common commercial products in this category: BrowserStack, Sauce Labs, TestRail

What can it do?
  • You can take a screenshot of web pages by starting a browser running in Headless mode.
  • With SetViewportAsync, you can process the page in any screen size by specifying the width and height of the view area.
  • You can create PDF files from web pages.
User reviews
  • • NeutralGitHub Issue

    stuck at await browser.NewPageAsync()

    “I am just trying to create a simple console app to generate PDF file but program doesn't execute after that line `var page = await browser.NewPageAsync();` also i am not getting any exception as program is just stuck. Any help much appreciated. console app code: **Using .NET…”

Verified against README · Oct 25, 2026 · source

My note

Alternative pages

More in: Testing & QA