PuppeteerSharp 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package PuppeteerSharp --version 1.1.0                
NuGet\Install-Package PuppeteerSharp -Version 1.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PuppeteerSharp" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PuppeteerSharp --version 1.1.0                
#r "nuget: PuppeteerSharp, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PuppeteerSharp as a Cake Addin
#addin nuget:?package=PuppeteerSharp&version=1.1.0

// Install PuppeteerSharp as a Cake Tool
#tool nuget:?package=PuppeteerSharp&version=1.1.0                

Headless Chrome .NET API

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (131)

Showing the top 5 NuGet packages that depend on PuppeteerSharp:

Package Downloads
HeadlessChromium.Puppeteer.Lambda.Dotnet

Package Description

PuppeteerExtraSharp

Package Description

SautinSoft.PdfVision

Designed to help you to convert any complex HTML pages saturated by CSS and Javascript to PDF documents. - Convert HTML to PDF - Get screenshot from HTML - Convert multipage-TIFF to PDF - Generate PDF from JPEG, PNG, GIF, Bitmap, TIFF - Create PDF from pack of images at once, like a Photo Gallery - Compatible on multiple platforms, such as Windows, macOS, and Linux - Deploy to Azure and AWS Requires only .NET Framework 4.6.2 or higher. Can be used in .NET 6.0 and higher. Absolutely standalone library.

Plotly.NET.ImageExport

An easily extensible library to render static images from Plotly.NET charts.

dotNetReport

.Net Embedded Analytics and Report Generator that allows programmers to easily add Report building functionality to their ASP .NET Web Application

GitHub repositories (26)

Showing the top 5 popular GitHub repositories that depend on PuppeteerSharp:

Repository Stars
hardkoded/puppeteer-sharp
Headless Chrome .NET API
dotnetcore/BootstrapBlazor
Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 8 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 18, React 18, Vue 3, BFF with YARP, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, Entity Framework Core, OpenTelemetry, SignalR, Hosted Services, Health Checks, Rate Limiting, Cloud Services (Azure, AWS, GCP).
openbullet/OpenBullet2
OpenBullet reinvented
ariacom/Seal-Report
Database Reporting Tool and Tasks (.Net)
Version Downloads Last updated
20.0.5 20,285 11/7/2024
20.0.4 17,573 10/31/2024
20.0.3 25,967 10/22/2024
20.0.2 126,837 9/20/2024
20.0.1-beta1 3,423 9/4/2024
20.0.0 74,978 9/4/2024
19.0.2 43,731 8/29/2024
19.0.1 63,253 8/20/2024
19.0.0 2,452 8/20/2024
19.0.0-beta2 1,282 8/7/2024
19.0.0-beta1 180 8/1/2024
18.1.0 70,849 8/8/2024
18.1.0-beta1 95 8/5/2024
18.0.5 84,884 7/22/2024
18.0.4 44,612 7/15/2024
18.0.3 85,506 7/3/2024
18.0.2 48,397 6/24/2024
18.0.1 77,576 6/6/2024
18.0.0 127,274 5/20/2024
17.0.0 144,875 4/23/2024
16.0.0 125,739 4/3/2024
15.1.0 104,475 3/20/2024
15.0.0 50,782 3/13/2024
14.1.0 263,254 2/15/2024
14.0.0 133,736 1/25/2024
13.0.2 357,738 12/5/2023
13.0.1 133,009 11/22/2023
13.0.0 1,910 11/22/2023
12.0.0 469,350 9/25/2023
11.0.6 94,922 9/15/2023
11.0.5 57,950 9/4/2023
11.0.4 13,249 8/31/2023
11.0.3 2,867 8/30/2023
11.0.2 40,061 8/23/2023
11.0.1 1,153 8/23/2023
11.0.0 28,935 8/16/2023
10.1.4 96,412 8/15/2023
10.1.2 304,234 7/17/2023
10.1.1 65,158 7/12/2023
10.1.0 237,235 6/20/2023
10.0.0 247,641 5/5/2023
9.1.0 178,659 4/9/2023
9.0.2 655,844 1/26/2023
9.0.1 33,597 1/18/2023
9.0.0 75,183 1/13/2023
8.0.0 716,154 10/6/2022
7.1.0 597,184 7/11/2022
7.0.0 525,195 4/13/2022
6.2.0 604,207 2/15/2022
6.1.0 457,999 12/22/2021
6.0.0 373,686 11/19/2021
5.1.0 413,659 9/27/2021
5.0.0 391,350 7/11/2021
4.0.0 582,618 4/17/2021
3.0.0 135,374 3/22/2021
2.0.4 1,582,451 7/30/2020
2.0.3 450,000 4/16/2020
2.0.2 452,773 3/2/2020
2.0.1 56,180 2/19/2020
2.0.0 496,396 11/6/2019
1.20.0 132,545 9/22/2019
1.20.0-alpha 1,146 10/15/2019
1.19.0 668,305 8/12/2019
1.18.0 40,762 7/15/2019
1.17.2 66,751 6/17/2019
1.17.1 110,518 5/27/2019
1.17.0 2,489 5/27/2019
1.16.0 2,328 5/23/2019
1.15.0 26,145 5/15/2019
1.14.1 34,067 5/6/2019
1.14.0 27,900 4/9/2019
1.13.0 65,543 3/28/2019
1.12.1 53,686 3/7/2019
1.12.0 24,317 3/4/2019
1.11.2 54,215 1/26/2019
1.11.1 225,190 12/18/2018
1.11.0 25,602 12/17/2018
1.10.0 116,644 11/25/2018
1.9.0 48,486 10/28/2018
1.8.0 33,475 10/4/2018
1.7.0 10,169 9/24/2018
1.6.2 2,066 9/15/2018
1.6.0 2,665 9/14/2018
1.5.0 17,480 9/1/2018
1.4.0 10,678 7/27/2018
1.3.0 3,122 7/23/2018
1.2.0 2,431 7/13/2018
1.1.0 3,559 6/28/2018
1.0.2 4,263 6/23/2018
1.0.1 3,621 6/5/2018
1.0.0 2,459 6/4/2018
0.8.0 10,123 5/11/2018
0.7.0 3,840 5/8/2018
0.6.0 1,887 5/4/2018
0.5.0 1,827 4/30/2018
0.4.0 2,441 4/21/2018
0.3.3 1,885 4/12/2018
0.3.2 1,841 3/27/2018
0.3.1 1,821 3/17/2018
0.3.0 1,944 3/14/2018
0.1.1 1,902 2/28/2018
0.1.0 1,876 2/27/2018
0.0.1 5,020 10/2/2017

New Features
* New Chromium version r536395
* Service workers support
* Cache Support
* New WaitFor options
* New BrowserFetcher utility
* Dump IO implementation

New APIs

* Page.SetCacheEnabledAsync
* Page.DOMContentLoaded
* Page.WaitForXPathAsync
* ResponseData.FromServiceWorker
* ExecutionContext.Frame
* Frame.EvaluateExpressionHandleAsync
* Frame.EvaluateFunctionHandleAsync
* Frame.WaitForSelectorAsync
* Frame.WaitForXPathAsync
* Frame.WaitForSelectorOrXPathAsync

Breaking Changes

Downloader changes

The Downloader class was renamed to BrowserFetcher. BrowserFetcher has the following API:

* DefaultRevision
* DownloadsFolder
* DownloadHost
* Platform
* DownloadProgressChanged
* CanDownloadAsync(int revision)
* LocalRevisions()
* Remove(int revision)
* RevisionInfo(int revision)
* DownloadAsync(int revision)
* GetExecutablePath(int revision)
* GetExecutablePath(Platform platform, string folderPath)

If you were using Downloader like this:

await Downloader.CreateDefault().DownloadRevisionAsync(chromiumRevision);

It should be changed to :

await new BrowserFetcher().DownloadAsync(BrowserFetcher.DefaultRevision);


Puppeteer.LaunchAsync breaking change

In order to simplify the API, the revision argument was removed from the `LaunchAsync` method. So this piece of code:

Puppeteer.LaunchAsync(launcherOptions, Downloader.DefaultRevision);


Should be changed to:

Puppeteer.LaunchAsync(launcherOptions);


If you need to launch Puppeteer using another revision you should handle that using the `ExecutablePath` option:

var myRevisionInfo = await new BrowserFetcher().DownloadAsync(myRevision);
var browser = Puppeteer.LaunchAsync(new LaunchOptions
{
  Headless = true,
  ExecutablePath = myRevisionInfo.ExecutablePath
});