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: fix library code (#15837)
Debbie O'Brien09debb4a550b
diff --git a/docs/src/codegen.md b/docs/src/codegen.mdindex ab3b4f1a9d..33e6467320 100644--- a/docs/src/codegen.md+++ b/docs/src/codegen.md@@ -85,7 +85,7 @@ pwsh bin\Debug\netX\playwright.ps1 codegen --load-storage=auth.json my.web.appIf you would like to use codegen in some non-standard setup (for example, use [`method: BrowserContext.route`]), it is possible to call [`method: Page.pause`] that will open a separate window with codegen controls.```js-const { chromium } = require('playwright');+const { chromium } = require('playwright/test');(async () => {// Make sure to run headed.