Skip to content

Commit 6731fee

Browse files
docs(webdriver): specify the unsupported pre-tap route
1 parent 913266c commit 6731fee

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.changeset/webdriver-fill-replacement.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'agent-device': patch
33
---
44

5-
Make hosted WebDriver `fill` replace existing text by clearing the confirmed focused element before sending replacement text to that same element. An empty replacement clears without typing. A failed clear prevents replacement text from being sent. Unsupported focused-element lookup refuses before tapping; keyboard visibility alone never authorizes a fill. Keep `type` append-only.
5+
Make hosted WebDriver `fill` replace existing text by clearing the confirmed focused element before sending replacement text to that same element. An empty replacement clears without typing. A failed clear prevents replacement text from being sent. An unsupported `/element/active` route refuses before tapping; keyboard visibility alone never authorizes a fill. Keep `type` append-only.

‎website/docs/docs/device-clouds.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ AWS Device Farm reads the AWS CLI credential chain instead, so this check does n
5454

5555
On BrowserStack, AWS Device Farm, and TestMu AI, `fill` replaces existing text after it confirms which element received focus. It clears and sends replacement text to that same element. An empty replacement clears the field without sending keys. If clearing fails, no replacement text is sent.
5656

57-
Use `snapshot -i` to confirm the target. If the driver does not support focused-element lookup, `fill` refuses before tapping. Keyboard visibility alone cannot identify the element to clear. `type` remains append-only. Use `press <target>` followed by `type <text>` only when you want to append text without confirming where it lands.
57+
Use `snapshot -i` to confirm the target. If the driver does not support the `/element/active` route, `fill` refuses before tapping. Keyboard visibility alone cannot identify the element to clear. `type` remains append-only. Use `press <target>` followed by `type <text>` only when you want to append text without confirming where it lands.
5858

5959
## Retrieve artifacts after close
6060

0 commit comments

Comments
 (0)