Update docs/src/input.md
Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
6142ac96db
commit
5f74f3344b
|
|
@ -407,7 +407,7 @@ page.locator('#area').press_sequentially('Hello World!')
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
// Press keys one by one
|
// Press keys one by one
|
||||||
await page.Locator("#area").PressSequentiallyAsync("Hello World!");
|
await Page.Locator("#area").PressSequentiallyAsync("Hello World!");
|
||||||
```
|
```
|
||||||
|
|
||||||
This method will emit all the necessary keyboard events, with all the `keydown`, `keyup`, `keypress` events in place. You can even specify the optional `delay` between the key presses to simulate real user behavior.
|
This method will emit all the necessary keyboard events, with all the `keydown`, `keyup`, `keypress` events in place. You can even specify the optional `delay` between the key presses to simulate real user behavior.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue