Back to all steps

Fill field

Step fields
1 selector (text)
2 value (text)
In a scenario, fields are joined with |.
Fill an input field. Format: selector|value.
Examples: input[name="email"]|test@example.com · #password|MyPass123! · textarea.comment|Hello · E-Mail or Phone|user@example.com (just the field label as shown on the page — label= prefix is optional)
Usage example

Fill in an input field. Format: selector|value.

Selector examples:

  • input[name="email"] — by the name attribute
  • #password — by id
  • textarea.comment — a textarea with a class
  • input[type="search"] — by type
  • Email or Phoneby the field label, as shown on the page (plain text, no markup)

Full examples:

  • input[name="email"]|test@example.com
  • #password|MyPass123!
  • textarea[name=note]|Urgent, handle today
  • Email or Phone|user@example.com

The field label is the simplest way: put the text the user sees next to the field into the selector. The label= prefix is optional — if the string does not look like a CSS selector, it is automatically searched as a label (by <label>, placeholder, aria-label, or text above the field). The explicit form label="Email or Phone" helps when the text matches a tag name or contains special characters.