pub async fn simulate_keypress( key_event_injector: &KeyEventInjectorProxy, key: Key, ) -> Result<()>