Skip to main content

browser_commander/elements/
mod.rs

1//! Element operations for browser automation.
2//!
3//! This module provides utilities for:
4//! - Working with CSS selectors
5//! - Checking element visibility
6//! - Extracting element content
7
8pub mod content;
9pub mod selectors;
10pub mod visibility;
11
12pub use content::{
13    get_attribute, input_value, is_element_empty, text_content, truncate_for_preview,
14    ElementLogInfo,
15};
16pub use selectors::{
17    build_text_selector, escape_selector_value, extract_text_from_selector, has_nth_of_type,
18    is_text_selector, normalize_selector, parse_nth_of_type, ParsedSelector,
19};
20pub use visibility::{count, is_enabled, is_in_viewport, is_visible, needs_scrolling};