(...modifiersAndKeys: any[])
| 172 | */ |
| 173 | async sendKeys(modifiers: ModifierKeys, ...keys: (string | TestKey)[]): Promise<void>; |
| 174 | async sendKeys(...modifiersAndKeys: any[]): Promise<void> { |
| 175 | const args = modifiersAndKeys.map(k => (typeof k === 'number' ? keyMap[k as TestKey] : k)); |
| 176 | typeInElement(this.element as HTMLElement, ...args); |
| 177 | await this._stabilize(); |
| 178 | } |
| 179 | |
| 180 | /** |
| 181 | * Gets the text from the element. |
nothing calls this directly
no test coverage detected