Selects the given tab by clicking on the label. Tab cannot be selected if disabled.
()
| 68 | |
| 69 | /** Selects the given tab by clicking on the label. Tab cannot be selected if disabled. */ |
| 70 | async select(): Promise<void> { |
| 71 | await (await this.host()).click('center'); |
| 72 | } |
| 73 | |
| 74 | /** Gets the text content of the tab. */ |
| 75 | async getTextContent(): Promise<string> { |