Skip to main content

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:

  1. Select the element's checked field.
  2. Read properties.checked as a Python expression.
  3. Read properties['checked'] as a Python expression.
  4. Read attributes.checked as a Python expression.
  5. 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.