Function find_node_with_text

Source
pub fn find_node_with_text(dom: &VDom<'_>, text: &str) -> Option<NodeHandle>
Expand description

Searches for a node whose inner text matches the given text. NOTE that this also includes the inner text of any child nodes! Both strings are trimmed before comparison.