* Dispatch a keybinding to the application. * @param keybinding The keybinding to dispatch, e.g. 'ctrl+shift+p'. * @param accept The acceptance function to await before returning. Wherever * possible this should verify that the keybinding did what was expected, * otherwise it will likely be
(keybinding: string, accept: () => Promise<void>)
| 174 | * like not making it async. |
| 175 | */ |
| 176 | async dispatchKeybinding(keybinding: string, accept: () => Promise<void>): Promise<void> { |
| 177 | await this.driver.sendKeybinding(keybinding, accept); |
| 178 | } |
| 179 | |
| 180 | async didFinishLoad(): Promise<void> { |
| 181 | return this.driver.didFinishLoad(); |