From 2de0624a5e59e6c211561b9571a5879ac96c3c5b Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 21 Jul 2022 23:41:59 +0200 Subject: [PATCH] docs(codegen): fix broken example (#15858) follow-up: 09debb4a550bc2da9dee2488283af3704a0db24f --- docs/src/codegen.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/codegen.md b/docs/src/codegen.md index 33e6467320..9630907811 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.app If 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/test'); +const { chromium } = require('@playwright/test'); (async () => { // Make sure to run headed.