Function silkenweb_test::try_html_element

source ·
pub fn try_html_element(id: &str) -> Option<HtmlElement>
Expand description

Find an element by id

This returns None if the element is not found.

§Panics

This panics if the element is found, and is not an HtmlElement