pub fn find_elements(&self, by: By) -> WebDriverResult<Vec<WebElement>> {
        let v = self.conn.execute(Command::FindElementsFromElement(
            &self.session_id,
            &self.element_id,
            by,
        ))?;
        unwrap_elements_sync(&self.conn, &self.session_id, &v["value"])
    }
/// Search for all child elements of this WebElement that match the
/// specified selector.
///
/// # Example:
/// ```ignore
/// let child_elems = elem.find_elements(By::Class("some-class"))?;
/// for child_elem in child_elems {
///     println!("Found child element: {}", child_elem);
/// }
/// ```
Search for all child elements of this WebElement that match the
specified selector.
Search for all child elements of this WebElement that match the specified selector .
pub fn find_elements(&self, by: By) -> WebDriverResult<Vec<WebElement>> {
        let v = self.conn.execute(Command::FindElementsFromElement(
            &self.session_id,
            &self.element_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 :: FindElementsFromElement ( & self . session_id , & self . element_id , by , ) ) ? ; unwrap_elements_sync ( & self . conn , & self . session_id , & v [ " " ] ) }
Search for all child elements of this WebElement that match the
specified selector.
Search for all child elements of this WebElement that match the specified selector .
&self
by
By
&self
by
By
example:
```ignore
let child_elems = elem.find_elements(By::Class("some-class"))?;
for child_elem in child_elems {
println!("Found child element: {}", child_elem);
}
```
` ` ` ignore let child_elems = elem . find_elements ( By :: Class ( " some - class " )) ? ; for child_elem in child_elems { println! ( " Found child element : {} " child_elem ) ; } ` ` `