Interaction
fill
Fill an input field with a value. React/Vue compatible -- uses the native setter and dispatches input + change events.
Usage
$ cdpilot fill <selector> <value>Arguments
| Name | Required | Description |
|---|---|---|
selector | required | CSS selector of the input element |
value | required | Text value to fill |
Examples
Fill an email input
$ npx cdpilot fill "#email" "[email protected]"Fill a search field by attribute
$ npx cdpilot fill "input[name=search]" "cdpilot"