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 compilation error in locator filter example (#38493)
Ran Mengb341fa5b77d3
diff --git a/docs/src/locators.md b/docs/src/locators.mdindex 4896ae5b29..8e22965c5f 100644--- a/docs/src/locators.md+++ b/docs/src/locators.md@@ -910,7 +910,7 @@ expect(page.get_by_role("listitem").filter(has_not_text="Out of stock")).to_have```csharp// 5 in-stock items-await Expect(Page.getByRole(AriaRole.Listitem).Filter(new() { HasNotText = "Out of stock" }))+await Expect(Page.GetByRole(AriaRole.Listitem).Filter(new() { HasNotText = "Out of stock" })).ToHaveCountAsync(5);```