Skip to content

Commit 2e1ba8a

Browse files
committed
docs(selectors): name the covered refusal's reason
Refs #3734
1 parent 5c8f01c commit 2e1ba8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎website/docs/docs/selectors.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Tips:
5858
- `find ... focus` and `find ... type` aim at a text field. If the match is a field or sits inside one, that field is the target, even when it is not hittable or has other fields beside it. Otherwise the target is the one enabled on-screen field inside the match.
5959
- Several enabled on-screen fields inside the match refuse with `AMBIGUOUS_MATCH` and the field candidates.
6060
- A disabled target refuses with `COMMAND_FAILED` and reason `target_disabled`. This includes a match whose only on-screen fields are disabled.
61-
- A match or field covered by another visible element refuses with `COMMAND_FAILED`.
61+
- A match or field covered by another visible element refuses with `COMMAND_FAILED` and reason `target_covered`.
6262
- Web text boxes are not recognized as text fields, so a web match keeps its own aim.
6363
- Use `fill` to find a field and replace its text in one step. To append to the text in the focused field, use `click` or `press`, then `type`.
6464

0 commit comments

Comments
 (0)