Tabsvariable
Call this InteractorConstructor to initialize a tabs Interactor.
The tabs interactor can be used to interact with tabs containers on the page and
to assert on their state.
The tabs is located by the aria-label attribute.
Example
await Tab('View modes').click();
await Tab({ value: 'preview' }).exists();
Filters
id: string – Filter by idvisible: boolean – Filter by visibility. Defaults totrue. SeeisVisible.disabled: boolean – Filter by whether the tabs are disabled. Defaults tofalse.value: string – Filter by the active tab.
Actions
click(value: string):Interaction– Click on the specific tab