File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Puppeteer Sharp is a .NET port of the official [Node.JS Puppeteer API](https://g
88
99## Take screenshots
1010
11- ```
11+ ``` cs
1212await Downloader .CreateDefault ().DownloadRevisionAsync (chromiumRevision );
1313var browser = await Puppeteer .LaunchAsync (new LaunchOptions
1414{
@@ -22,7 +22,7 @@ await page.ScreenshotAsync(outputFile));
2222You can also change the view port before generating the screenshot
2323
2424
25- ```
25+ ``` cs
2626await page .SetViewport (new ViewPortOptions
2727{
2828 Width = 500 ,
@@ -33,7 +33,7 @@ await page.SetViewport(new ViewPortOptions
3333
3434## Generate PDF files
3535
36- ```
36+ ``` cs
3737await Downloader .CreateDefault ().DownloadRevisionAsync (chromiumRevision );
3838var browser = await Puppeteer .LaunchAsync (new LaunchOptions
3939{
You can’t perform that action at this time.
0 commit comments