@serenity-is/corelib / TabsExtensions / selectTab
Function: selectTab()
selectTab(
tabs,tabKey):void
Defined in: src/ui/helpers/tabsextensions.tsx:163
Selects (activates) the tab with the given key or index.
Parameters
tabs
The tabs element (or array-like of elements).
HTMLElement | ArrayLike<HTMLElement>
tabKey
The tab key or index to select.
string | number
Returns
void