pub trait ElementQueryable {
    // Required method
    fn query(&self, by: By) -> ElementQuery;
}
Expand description

Trait for enabling the ElementQuery interface.

Required Methods§

source

fn query(&self, by: By) -> ElementQuery

Start an element query using the specified selector.

Implementations on Foreign Types§

source§

impl ElementQueryable for Arc<SessionHandle>

source§

fn query(&self, by: By) -> ElementQuery

Return an ElementQuery instance for more executing powerful element queries.

This uses the builder pattern to construct queries that will return one or more elements, depending on the method specified at the end of the chain.

See ElementQuery for more documentation.

Implementors§