Expand description
DOM extraction and manipulation module
This module provides functionality for extracting and working with the DOM structure of web pages. It includes:
- ElementNode: Representation of DOM elements
- DomTree: Complete DOM tree with indexing for interactive elements
- SelectorMap: Mapping of indices to element selectors
Re-exports§
pub use element::BoundingBox;pub use element::ElementNode;pub use selector_map::ElementSelector;pub use selector_map::SelectorMap;pub use tree::DomTree;
Modules§
Functions§
- extract_
dom - Extract the DOM tree from a browser tab
- extract_
simplified_ dom - Extract and simplify the DOM tree