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
|
```csharp
|
||||||
await page.Keyboard.TypeAsync("Hello"); // types instantly
|
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
|
:::note
|
||||||
|
|||||||
@ -178,7 +178,7 @@ Test that has been started.
|
|||||||
Result of the test run, this object gets populated while the test runs.
|
Result of the test run, this object gets populated while the test runs.
|
||||||
|
|
||||||
### param: Reporter.onStepBegin.step
|
### param: Reporter.onStepBegin.step
|
||||||
- `result` <[TestStep]>
|
- `step` <[TestStep]>
|
||||||
|
|
||||||
Test step instance.
|
Test step instance.
|
||||||
|
|
||||||
@ -197,7 +197,7 @@ Test that has been finished.
|
|||||||
Result of the test run.
|
Result of the test run.
|
||||||
|
|
||||||
### param: Reporter.onStepEnd.step
|
### param: Reporter.onStepEnd.step
|
||||||
- `result` <[TestStep]>
|
- `step` <[TestStep]>
|
||||||
|
|
||||||
Test step instance.
|
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.
|
* Called when a test step started in the worker process.
|
||||||
* @param test Test that has been started.
|
* @param test Test that has been started.
|
||||||
* @param result Result of the test run, this object gets populated while the test runs.
|
* @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;
|
onStepBegin?(test: TestCase, result: TestResult, step: TestStep): void;
|
||||||
/**
|
/**
|
||||||
* Called when a test step finished in the worker process.
|
* Called when a test step finished in the worker process.
|
||||||
* @param test Test that has been finished.
|
* @param test Test that has been finished.
|
||||||
* @param result Result of the test run.
|
* @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;
|
onStepEnd?(test: TestCase, result: TestResult, step: TestStep): void;
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user