Trait appium_client::commands::keyboard::PressesKey
source · pub trait PressesKey: AppiumClientTrait {
// Provided methods
fn press_key<'life0, 'async_trait>(
&'life0 self,
event: KeyEvent
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn long_press_key<'life0, 'async_trait>(
&'life0 self,
event: KeyEvent
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Send key presses to device