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(locator): fix #locate-by-test-id link (#19095)
Simon Legner43cde2db1080
diff --git a/docs/src/locators.md b/docs/src/locators.mdindex 8f9126ad35..5de045109b 100644--- a/docs/src/locators.md+++ b/docs/src/locators.md@@ -16,7 +16,7 @@ These are the recommended built in locators.- [`method: Page.getByPlaceholder`](#locate-by-placeholder) to locate an input by placeholder.- [`method: Page.getByAltText`](#locate-by-alt-text) to locate an element, usually image, by its text alternative.- [`method: Page.getByTitle`](#locate-by-title) to locate an element by its title attribute.-- [`method: Page.getByTestId`](#locate-by-testid) to locate an element based on its `data-testid` attribute (other attributes can be configured).+- [`method: Page.getByTestId`](#locate-by-test-id) to locate an element based on its `data-testid` attribute (other attributes can be configured).```jsawait page.getByLabel('User Name').fill('John');