From 6142ac96db0427cc2f4618c89548fb92049b55fd Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 17 Jun 2024 14:17:47 +0200 Subject: [PATCH] docs(input): fix pressSequentially typo Signed-off-by: Max Schmitt --- docs/src/input.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/input.md b/docs/src/input.md index 87f92099a7..5e2bb9f5b2 100644 --- a/docs/src/input.md +++ b/docs/src/input.md @@ -397,17 +397,17 @@ page.locator("#area").pressSequentially("Hello World!"); ```python async # Press keys one by one -await page.locator('#area').pressSequentially('Hello World!') +await page.locator('#area').press_sequentially('Hello World!') ``` ```python sync # Press keys one by one -page.locator('#area').pressSequentially('Hello World!') +page.locator('#area').press_sequentially('Hello World!') ``` ```csharp // 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.