ApplesauceOS
Read Markdown ↗Download .md

Element.clear

Clear a supported UIKit text field/view.

js
element.clear()

Arguments

No arguments.

Returns

The same element.

Example

js
const element = UIHelper.waitForElement({id: "target", visible: true, enabled: true}, 5000);
element.clear();

Also available as

Element.clearValue.

All JavaScript APIs · Automation playbook