fill, this triggers keystroke events for each character - use it for fields that react to individual key presses (search autocomplete, OTP inputs). Python only.
| Parameter | Type | Required | Description |
|---|---|---|---|
selector | str | No | CSS or XPath selector for the input field. |
value | str | No | Text to type character-by-character. |
ai | str | No | Controls AI behavior. Default "fallback" tries the selector first, then AI. |
prompt | str | No | Natural-language description of the target field. |
totp_identifier | str | No | Identifier for a stored TOTP secret. |
totp_url | str | No | otpauth:// URI to generate a one-time password on the fly. |
str - the resolved selector used.
