ApplesauceOS
Read Markdown ↗Download .md

Element.isEnabled

Check whether interaction is enabled.

js
element.isEnabled()

Arguments

No arguments.

Returns

Boolean.

Example

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

Notes

Stale elements throw; reacquire after navigation. Read several fields with getAttributes() in one call.

All JavaScript APIs · Automation playbook