Skip to main content

automata_windows/
element_info.rs

1/// Properties of a UI element probed at a point.
2#[derive(Debug, Clone)]
3pub struct ElementInfo {
4    pub name: String,
5    pub role: String,
6    pub class: String,
7    pub automation_id: String,
8    pub value: String,
9    pub enabled: bool,
10    pub focusable: bool,
11    pub x: i32,
12    pub y: i32,
13    pub w: i32,
14    pub h: i32,
15}