mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(input): fix pressSequentially typo (#31333)
This commit is contained in:
parent
6fb214de23
commit
b62af828c3
@ -397,17 +397,17 @@ page.locator("#area").pressSequentially("Hello World!");
|
|||||||
|
|
||||||
```python async
|
```python async
|
||||||
# Press keys one by one
|
# Press keys one by one
|
||||||
await page.locator('#area').pressSequentially('Hello World!')
|
await page.locator('#area').press_sequentially('Hello World!')
|
||||||
```
|
```
|
||||||
|
|
||||||
```python sync
|
```python sync
|
||||||
# Press keys one by one
|
# Press keys one by one
|
||||||
page.locator('#area').pressSequentially('Hello World!')
|
page.locator('#area').press_sequentially('Hello World!')
|
||||||
```
|
```
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
// Press keys one by one
|
// Press keys one by one
|
||||||
await page.Locator("#area").TypeAsync("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…
x
Reference in New Issue
Block a user