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 another Java compilation error in Locator chaining example (#38403)
Ran Meng76a57c2807ae
diff --git a/docs/src/locators.md b/docs/src/locators.mdindex 4907f3451f..9e4bc42a8b 100644--- a/docs/src/locators.md+++ b/docs/src/locators.md@@ -858,7 +858,7 @@ page.getByRole(AriaRole.LISTITEM).filter(new Locator.FilterOptions().setHasText(Pattern.compile("Product 2"))).getByRole(AriaRole.BUTTON,- new Page.GetByRoleOptions().setName("Add to cart"))+ new Locator.GetByRoleOptions().setName("Add to cart")).click();```