Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: fix indentation in readme snippet (#13947)

Andrey Lushnikov9a43d946b054
diff --git a/README.md b/README.md
index bf3b83cc2f..d5e59886c4 100644
--- a/README.md
+++ b/README.md
@@ -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` });
});
```