Module util

Source

Enums§

TextRetrievalOption
Different options for retrieving text from a node. We generate selectors for every node that yields text that matches the expected attribute value.

Functions§

find_node_with_text
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.
find_root
Find root node handle
get_node_text
Returns the node’s text value, as specified by the given TextRetrievalOptions.

Type Aliases§

TextRetrievalOptions