Get Active Tab Caption

Last modified: June 18, 2025

Description

Returns the caption of the active tab page.

Supported Widgets

  • TabContainer

Usage

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

Input Parameters

NameDatatypeRequiredDescription
Widget NameStringyesThe name of the tab widget
Search ContextWebElementnoLimit the search for the DataGrid row to the given WebElement

Return Value

NameDatatypeDescription
Active Tab CaptionStringCaption of the currently active tab.