mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: fix docs
This commit is contained in:
parent
33852635b7
commit
cccc2ac4bc
@ -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
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
4
types/testReporter.d.ts
vendored
4
types/testReporter.d.ts
vendored
@ -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;
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user