Skip to content

Commit

Permalink
Fix code in examples apge (hardkoded#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
kblok authored Feb 25, 2019
1 parent f33e5fd commit 83fdffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docfx_project/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ await page.ScreenshotAsync(outputFile);
You can also change the view port before generating the screenshot

```cs
await page.SetViewport(new ViewPortOptions
await page.SetViewportAsync(new ViewPortOptions
{
Width = 500,
Height = 500
Expand Down

0 comments on commit 83fdffc

Please sign in to comment.