chore: fix indentation in readme snippet (#13947)

This commit is contained in:
Andrey Lushnikov 2022-05-04 16:10:35 -06:00 committed by GitHub
parent 95f7acf1e4
commit 9a43d946b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,8 +97,8 @@ This code snippet navigates to whatsmyuseragent.org and saves a screenshot.
import { test } from '@playwright/test';
test('Page Screenshot', async ({ page }) => {
await page.goto('http://whatsmyuseragent.org/');
await page.screenshot({ path: `example.png` });
await page.goto('http://whatsmyuseragent.org/');
await page.screenshot({ path: `example.png` });
});
```