/// Search for all elements on the current page that match the specified
/// selector.
///
/// # Example:
/// ```ignore
/// let elems = driver.find_elements(By::Class("some-class"))?;
/// for elem in elems {
///     println!("Found element: {}", elem);
/// }
/// ```
Search for all elements on the current page that match the specified
selector.
Search for all elements on the current page that match the specified selector .
pub fn find_elements(&self, by: By) -> WebDriverResult<Vec<WebElement>> {
        let v = self
            .conn
            .execute(Command::FindElements(&self.session_id, by))?;
        unwrap_elements_sync(&self.conn, &self.session_id, &v["value"])
    }
pub fn find_elements ( & self , by : By ) -> WebDriverResult < Vec < WebElement > > { let v = self . conn . execute ( Command :: FindElements ( & self . session_id , by ) ) ? ; unwrap_elements_sync ( & self . conn , & self . session_id , & v [ " " ] ) }
Search for all elements on the current page that match the specified
selector.
Search for all elements on the current page that match the specified selector .
&self
by
By
example:
```ignore
let elems = driver.find_elements(By::Class("some-class"))?;
for elem in elems {
println!("Found element: {}", elem);
}
```
` ` ` ignore let elems = driver . find_elements ( By :: Class ( " some - class " )) ? ; for elem in elems { println! ( " Found element : {} " elem ) ; } ` ` `