Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: fix csharp type examples (#16888)
campersaua10bd6a7c666
diff --git a/docs/src/api/class-elementhandle.md b/docs/src/api/class-elementhandle.mdindex 21683c3d30..3d4d6a36fb 100644--- a/docs/src/api/class-elementhandle.md+++ b/docs/src/api/class-elementhandle.md@@ -921,7 +921,7 @@ element_handle.type("world", delay=100) # types slower, like a user```csharpawait elementHandle.TypeAsync("Hello"); // Types instantly-await elementHandle.TypeAsync("World", delay: 100); // Types slower, like a user+await elementHandle.TypeAsync("World", new() { Delay = 100 }); // Types slower, like a user```An example of typing into a text field and then submitting the form:diff --git a/docs/src/api/class-frame.md b/docs/src/api/class-frame.mdindex 12a4a7d109..ddf5d09030 100644--- a/docs/src/api/class-frame.md+++ b/docs/src/api/class-frame.md@@ -1484,7 +1484,7 @@ frame.type("#mytextarea", "world", delay=100) # types slower, like a user```csharpawait frame.TypeAsync("#mytextarea", "hello"); // types instantly-await frame.TypeAsync("#mytextarea", "world", delay: 100); // types slower, like a user+await frame.TypeAsync("#mytextarea", "world", new() { Delay = 100 }); // types slower, like a user```### param: Frame.type.selector = %%-input-selector-%%diff --git a/docs/src/api/class-locator.md b/docs/src/api/class-locator.mdindex 7699cf617a..83a8cbc24f 100644--- a/docs/src/api/class-locator.md+++ b/docs/src/api/class-locator.md@@ -984,7 +984,7 @@ element.type("world", delay=100) # types slower, like a user```csharpawait element.TypeAsync("Hello"); // Types instantly-await element.TypeAsync("World", delay: 100); // Types slower, like a user+await element.TypeAsync("World", new() { Delay = 100 }); // Types slower, like a user```An example of typing into a text field and then submitting the form:diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.mdindex fbbec06a45..64b5b53025 100644--- a/docs/src/api/class-page.md+++ b/docs/src/api/class-page.md@@ -3380,7 +3380,7 @@ page.type("#mytextarea", "world", delay=100) # types slower, like a user```csharpawait page.TypeAsync("#mytextarea", "hello"); // types instantly-await page.TypeAsync("#mytextarea", "world"); // types slower, like a user+await page.TypeAsync("#mytextarea", "world", new() { Delay = 100 }); // types slower, like a user```Shortcut for main frame's [`method: Frame.type`].