For the complete documentation index, see llms.txt. This page is also available as Markdown.

Clear

Clear the text in an input Element.

Clear removes the current value from an input. Use it before Set value when the field may already contain text, or when you need an empty field for the next assertion.

Clear Test Step

When to use it

  • Empty a search box or form field before typing a new value.

  • Prefer the Clear Value option on Set value when you clear and type in one step.

Configure

Basics

Field
What to set

Element

The input Element to clear

Advanced

Field
What to set

Status on fail

When should screenshots be taken?

Always (default) or On Failures

Tags: action, input, clear, clearValue

Last updated