Gets the text content of the tab.
()
| 73 | |
| 74 | /** Gets the text content of the tab. */ |
| 75 | async getTextContent(): Promise<string> { |
| 76 | const contentId = await this._getContentId(); |
| 77 | const contentEl = await this.documentRootLocatorFactory().locatorFor(`#${contentId}`)(); |
| 78 | return contentEl.text(); |
| 79 | } |
| 80 | |
| 81 | protected override async getRootHarnessLoader(): Promise<HarnessLoader> { |
| 82 | const contentId = await this._getContentId(); |
no test coverage detected