docs: fix library code (#15837)
This commit is contained in:
parent
a2d2865f05
commit
09debb4a55
|
|
@ -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');
|
||||
const { chromium } = require('playwright/test');
|
||||
|
||||
(async () => {
|
||||
// Make sure to run headed.
|
||||
|
|
|
|||
Loading…
Reference in a new issue