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

Signed-off-by: Denis LE <ledenis@users.noreply.github.com>
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Denis LE 2022-10-31 05:05:24 +01:00 committed by GitHub
parent 2e2698fa9d
commit ce7fc1b9f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: