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 multiple syntax errors in locator filters example (#38536)
Ran Meng425e45a4aaa6
diff --git a/docs/src/locators.md b/docs/src/locators.mdindex 5ff7e91e81..a556162368 100644--- a/docs/src/locators.md+++ b/docs/src/locators.md@@ -1031,9 +1031,9 @@ await expect(pageassertThat(page.getByRole(AriaRole.LISTITEM).filter(new Locator.FilterOptions()- .setHas(page.GetByRole(AriaRole.LIST)- .GetByRole(AriaRole.HEADING,- new Page.GetByRoleOptions().setName("Product 2")))))+ .setHas(page.getByRole(AriaRole.LIST)+ .getByRole(AriaRole.HEADING,+ new Locator.GetByRoleOptions().setName("Product 2"))))).hasCount(1);```