(func: (stackFrame: IStackFrame) => boolean, message: string)
| 110 | } |
| 111 | |
| 112 | async waitForStackFrame(func: (stackFrame: IStackFrame) => boolean, message: string): Promise<IStackFrame> { |
| 113 | const elements = await this.code.waitForElements(STACK_FRAME, true, elements => elements.some(e => func(toStackFrame(e)))); |
| 114 | return elements.map(toStackFrame).filter(s => func(s))[0]; |
| 115 | } |
| 116 | |
| 117 | async waitForStackFrameLength(length: number): Promise<any> { |
| 118 | await this.code.waitForElements(STACK_FRAME, false, result => result.length === length); |
nothing calls this directly
no test coverage detected