From 5f74f3344b10b1fd6d441b2dd3807c85c88550e3 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 17 Jun 2024 15:22:25 +0200 Subject: [PATCH] Update docs/src/input.md Signed-off-by: Max Schmitt --- docs/src/input.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/input.md b/docs/src/input.md index 5e2bb9f5b2..b6fab7d005 100644 --- a/docs/src/input.md +++ b/docs/src/input.md @@ -407,7 +407,7 @@ page.locator('#area').press_sequentially('Hello World!') ```csharp // 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.