Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: fix docs

Pavel Feldmancccc2ac4bceb
diff --git a/docs/src/api/class-keyboard.md b/docs/src/api/class-keyboard.md
index f03afddaf7..d2284500f7 100644
--- a/docs/src/api/class-keyboard.md
+++ b/docs/src/api/class-keyboard.md
@@ -326,7 +326,7 @@ page.keyboard.type("World", delay=100) # types slower, like a user
```csharp
await page.Keyboard.TypeAsync("Hello"); // types instantly
-await page.Keyboard.TypeAsync("World"); // types slower, like a user
+await page.Keyboard.TypeAsync("World", new KeyboardTypeOptions { Delay = 100 }); // types slower, like a user
```
:::note
diff --git a/docs/src/test-reporter-api/class-reporter.md b/docs/src/test-reporter-api/class-reporter.md
index c2ac634148..3587e5f515 100644
--- a/docs/src/test-reporter-api/class-reporter.md
+++ b/docs/src/test-reporter-api/class-reporter.md
@@ -178,7 +178,7 @@ Test that has been started.
Result of the test run, this object gets populated while the test runs.
### param: Reporter.onStepBegin.step
-- `result` <[TestStep]>
+- `step` <[TestStep]>
Test step instance.
@@ -197,7 +197,7 @@ Test that has been finished.
Result of the test run.
### param: Reporter.onStepEnd.step
-- `result` <[TestStep]>
+- `step` <[TestStep]>
Test step instance.
diff --git a/types/testReporter.d.ts b/types/testReporter.d.ts
index cae0ed58bd..4e5a61a77e 100644
--- a/types/testReporter.d.ts
+++ b/types/testReporter.d.ts
@@ -394,14 +394,14 @@ export interface Reporter {
* Called when a test step started in the worker process.
* @param test Test that has been started.
* @param result Result of the test run, this object gets populated while the test runs.
- * @param result Test step instance.
+ * @param step Test step instance.
*/
onStepBegin?(test: TestCase, result: TestResult, step: TestStep): void;
/**
* Called when a test step finished in the worker process.
* @param test Test that has been finished.
* @param result Result of the test run.
- * @param result Test step instance.
+ * @param step Test step instance.
*/
onStepEnd?(test: TestCase, result: TestResult, step: TestStep): void;
/**