mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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:
parent
2e2698fa9d
commit
ce7fc1b9f3
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user