pub struct AxTreeResult {
pub tree: String,
pub nodes: Vec<Value>,
pub node_count: usize,
pub named_count: usize,
}Fields§
§tree: StringIndented role "name" outline. Populated in compact mode only.
nodes: Vec<Value>Raw CDP AX nodes. Populated in raw mode only.
node_count: usizeTotal AX nodes the browser returned.
named_count: usizeNon-ignored nodes carrying a non-empty accessible name. A low ratio of
named_count to node_count signals a thin/poor AX tree — prefer
falling back to HTML, screenshot, or CSS selectors on such pages.
Trait Implementations§
Source§impl Debug for AxTreeResult
impl Debug for AxTreeResult
Source§impl JsonSchema for AxTreeResult
impl JsonSchema for AxTreeResult
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for AxTreeResult
impl RefUnwindSafe for AxTreeResult
impl Send for AxTreeResult
impl Sync for AxTreeResult
impl Unpin for AxTreeResult
impl UnsafeUnpin for AxTreeResult
impl UnwindSafe for AxTreeResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more