Browser action

Fill Input Block

Fill Input targets an input with a CSS selector, writes text into it, and can optionally submit after typing.

At a glance

Best for
Search boxes and forms
Required setting
CSS selector
Variables
Text and selectors accept variables
Error handle
Yes

What it does

Fill Input writes a value into a form field on the current page. The value can be text written directly in the Block or a value read from an existing variable.

Use it for search terms, login fields, filters, and other forms that need typed input.

Use it when

  • Enter a search term before clicking Search.
  • Fill a form field from a variable.
  • Submit a form immediately after typing.

Do not use it when

  • You need to select from a dropdown; use the dedicated selection Block when available.
  • You only need to click a button; use Click Element.
  • The value is a generated template string; consider Template before Fill Input.

Settings

Fill Input requires a CSS selector. It can type literal text, use a variable value, clear the field first, and submit after typing.

CSS selector

Required: Yes
Variables
Yes
Description
Selector for the input or textarea to fill.

Text to type

Required: No
Variables
Yes
Description
Text written into the field when Use variable is off.

Use variable

Required: No
Variables
Variable name
Description
Reads an existing variable by name and types its value into the field.

Clear input first

Required: No
Variables
No
Description
Clears the existing field value before typing. Enabled by default.

Submit after typing

Required: No
Variables
Submit selector accepts variables
Description
Submits after typing. If a submit selector is configured, Scrapeer clicks it; otherwise it presses Enter.

Outputs

Fill Input does not create a reusable variable. Its run output records the target and typed value length.

selectorstring

The input selector used by the Block.

valueLengthnumber

The character length of the value sent to the field.

submittedboolean

Included when Submit after typing is enabled.

Example Flow

Fill Input is commonly paired with Click Element or a submit action after opening a search or form page.

  1. Open a page with Go To URL.
  2. Fill the search or form field.
  3. Submit and wait for the resulting page state.

Errors and fixes

Start with symptoms visible in the editor or Inspector, then check the earliest Block that produced the wrong page state, variable, or output.

The field is not filled.

Check
Check that the selector points to an editable input in the current page state.
Fix
Use the correct selector and add Wait For Element if the input appears after loading.

The typed value is empty.

Check
If Use variable is enabled, verify the variable exists before this Block runs.
Fix
Create the variable earlier in the Flow or type the value directly.

Local and cloud runs

Local and cloud runtimes both wait for the input selector, fill or append the value, and optionally submit.

Cloud currently applies a 30000ms default selector timeout in the worker. The schema does not expose this as a normal Fill Input setting.