Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs(writing-tests): fix syntax error (#20123)
Simon Siefke23948c53b749
diff --git a/docs/src/writing-tests-js.md b/docs/src/writing-tests-js.mdindex c7c483389e..4f6e65aff8 100644--- a/docs/src/writing-tests-js.md+++ b/docs/src/writing-tests-js.md@@ -32,7 +32,7 @@ timeouts and racy checks in their tests altogether.Take a look at the following example to see how to write a test.```js-import { test, expect } = require('@playwright/test');+import { test, expect } from '@playwright/test';test('has title', async ({ page }) => {await page.goto('https://playwright.dev/');