Find/Assert Widget

Last modified: June 18, 2025

Description

Finds/Asserts a Mendix widget by its given name or value. It is possible to use a sequence of names as a path.

Supported Widgets

  • All widgets

Usage

  • Provide the name of the widget.
  • Optionally search the widget by value and filter only visible widgets.
  • You can also 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
ValueStringnoThe value of the widget
Visible OnlyBooleannoLimit the possible return value to only visible widgets
Search ContextWebElementnoLimit the search to the given WebElement

Return Value

NameDatatypeDescription
WidgetWebElementThe Widget as a Web Element.