Method
waitForQuickInputElements
(accept: (names: string[]) => boolean)
Source from the content-addressed store, hash-verified
| 38 | } |
| 39 | |
| 40 | async waitForQuickInputElements(accept: (names: string[]) => boolean): Promise<void> { |
| 41 | await this.code.waitForElements(QuickInput.QUICK_INPUT_ENTRY_LABEL, false, els => accept(els.map(e => e.textContent))); |
| 42 | } |
| 43 | |
| 44 | async waitForQuickInputClosed(): Promise<void> { |
| 45 | await this.code.waitForElement(QuickInput.QUICK_INPUT, r => !!r && r.attributes.style.indexOf('display: none;') !== -1); |