Get the Checked State of a Web Element
Obtain a checkbox or radio element with Get Web Element, Get Similar Web Elements, or Get Related Web Elements. Then read its checked state.
There are five ways to read it:
- Select the element's
checkedfield. - Read
properties.checkedas a Python expression. - Read
properties['checked']as a Python expression. - Read
attributes.checkedas a Python expression. - Read
attributes['checked']as a Python expression.
The first three methods return the element's current state. The last two return the initial state stored in the HTML attribute.
tip
Requires browser extension version 2.1.0 or later.
Requires Runavelo 7.6.0 or later.