diff --git a/docfx_project/examples/index.md b/docfx_project/examples/index.md index 3d1ba0c69..25a45d85f 100644 --- a/docfx_project/examples/index.md +++ b/docfx_project/examples/index.md @@ -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