Get Checkbox Value

Last modified: June 18, 2025

Description

Returns true if the checkbox is checked otherwise false.

Supported Widgets

  • Checkbox

Usage

Pass the name of the checkbox you want to get the value from. Optionally you can provide a WebElement as search context, to narrow down the search for the widget, if there are two or more widgets with the same name.

Input Parameters

NameDatatypeRequiredDescription
Widget NameStringyesThe name of the widget
Search ContextWebElementnoLimit the search to the given WebElement

Return Value

NameDatatypeDescription
ValueBooleanValue of the checkbox. True if checked, otherwise false.