Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(locators): fix missing input id (#18386)

Denis LEce7fc1b9f36d
diff --git a/docs/src/locators.md b/docs/src/locators.md
index b47a56f231..c553b50573 100644
--- a/docs/src/locators.md
+++ b/docs/src/locators.md
@@ -250,7 +250,7 @@ Most form controls usually have dedicated labels that could be conveniently used
For example, consider the following DOM structure.
```html
-<label for="password">Password:</label><input type="password">
+<label for="password">Password:</label><input type="password" id="password">
```
You can fill the input after locating it by the label text: