warningUse locator-based locator.fill(value[, options]) instead.
Fill an input, textarea or contenteditable element with the provided value.
Parameter | Type | Default | Description |
---|---|---|---|
selector | string | '' | A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. |
value | string | '' | Value to fill out for the input, textarea or contenteditable element. |
options | object | null |