Tabvariable
Call this InteractorConstructor to initialize a tab Interactor.
The tab interactor can be used to interact with tabs on the page and
to assert on their state.
The tab is located by the text of its label or by text content.
Example
await Tab('Preview').click();
await Tab({ id: 'preview-tab' }).exists();
Filters
id: string – Filter by idvisible: boolean – Filter by visibility. Defaults totrue. SeeisVisible.disabled: boolean – Filter by whether the tab is disabled. Defaults tofalse.active: boolean – Filter by whether the tab is active.
Actions
click():Interaction– Click on the tab