(element: puppeteer.ElementHandle<Element>, classname: string)
| 485 | } |
| 486 | |
| 487 | async waitForClass(element: puppeteer.ElementHandle<Element>, classname: string) { |
| 488 | await this.waitForFunction(async () => { |
| 489 | return await this.hasClass(element, classname); |
| 490 | }, undefined, `Waiting for element to have class '${classname}'`); |
| 491 | } |
| 492 | |
| 493 | waitForTextNotMatching(element: puppeteer.ElementHandle<Element>, regex: RegExp): Promise<string> { |
| 494 | return this.waitForFunction(async () => { |
no test coverage detected