(selector: string, retryCount: number = 200)
| 307 | } |
| 308 | |
| 309 | async waitForActiveElement(selector: string, retryCount: number = 200): Promise<void> { |
| 310 | await this.poll(() => this.driver.isActiveElement(selector), r => r, `is active element '${selector}'`, retryCount); |
| 311 | } |
| 312 | |
| 313 | async waitForTitle(accept: (title: string) => boolean): Promise<void> { |
| 314 | await this.poll(() => this.driver.getTitle(), accept, `get title`); |
no test coverage detected