docs(debug.md): clarify what slowMo number means (#18788)

This commit is contained in:
Tom Sparrow 2022-11-29 20:54:18 +00:00 committed by GitHub
parent 707cb1a0d5
commit 90e3194482
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,7 +251,7 @@ prevent the Playwright script from executing any further.
Playwright runs browsers in headless mode by default. To change this behavior, Playwright runs browsers in headless mode by default. To change this behavior,
use `headless: false` as a launch option. You can also use the [`option: slowMo`] option use `headless: false` as a launch option. You can also use the [`option: slowMo`] option
to slow down execution and follow along while debugging. to slow down execution (by N milliseconds per operation) and follow along while debugging.
```js ```js
await chromium.launch({ headless: false, slowMo: 100 }); // or firefox, webkit await chromium.launch({ headless: false, slowMo: 100 }); // or firefox, webkit