pub trait AppiumFind {
    // Required methods
    fn find_by<'life0, 'async_trait>(
        &'life0 self,
        search: By
    ) -> Pin<Box<dyn Future<Output = Result<Element, CmdError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn find_all_by<'life0, 'async_trait>(
        &'life0 self,
        search: By
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Element>, CmdError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn find_by<'life0, 'async_trait>( &'life0 self, search: By ) -> Pin<Box<dyn Future<Output = Result<Element, CmdError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Locates an element by given strategy.

source

fn find_all_by<'life0, 'async_trait>( &'life0 self, search: By ) -> Pin<Box<dyn Future<Output = Result<Vec<Element>, CmdError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Locates all elements matching criteria.

Implementations on Foreign Types§

source§

impl AppiumFind for Client

source§

fn find_by<'life0, 'async_trait>( &'life0 self, search: By ) -> Pin<Box<dyn Future<Output = Result<Element, CmdError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source§

fn find_all_by<'life0, 'async_trait>( &'life0 self, search: By ) -> Pin<Box<dyn Future<Output = Result<Vec<Element>, CmdError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source§

impl AppiumFind for Element

source§

fn find_by<'life0, 'async_trait>( &'life0 self, search: By ) -> Pin<Box<dyn Future<Output = Result<Element, CmdError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source§

fn find_all_by<'life0, 'async_trait>( &'life0 self, search: By ) -> Pin<Box<dyn Future<Output = Result<Vec<Element>, CmdError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§