Constructor
new Tab()
A Tab object
Methods
isSelected() → {Promise.<boolean>}
Checks if the tab is selected.
Returns:
a promise that is fulfilled with an indication of whether the tab is selected or not.
- Type
- Promise.<boolean>
text() → {Promise.<string>}
Gets the text of the tab.
Returns:
a promise that is fulfilled with the text of the tab.
- Type
- Promise.<string>