Skip to content

Commit 83fdffc

Browse files
authored
Fix code in examples apge (#931)
1 parent f33e5fd commit 83fdffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docfx_project/examples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ await page.ScreenshotAsync(outputFile);
2020
You can also change the view port before generating the screenshot
2121

2222
```cs
23-
await page.SetViewport(new ViewPortOptions
23+
await page.SetViewportAsync(new ViewPortOptions
2424
{
2525
Width = 500,
2626
Height = 500

0 commit comments

Comments
 (0)