gbox-sdk
    Preparing search index...

    Interface DetectedElement

    Detected UI element

    interface DetectedElement {
        centerX: number;
        centerY: number;
        height: number;
        id: string;
        label: string;
        path: string;
        source: string;
        type: string;
        width: number;
        x: number;
        y: number;
    }
    Index

    Properties

    centerX: number

    Element center x coordinate relative to screen

    centerY: number

    Element center y coordinate relative to screen

    height: number

    Element height

    id: string

    Element id

    label: string

    A human-readable identifier generated from the element's visible attributes to help understand what this element represents. For images, it uses alt text or filename; for links, it uses text content or href; for buttons, it uses text content or aria-label; for inputs, it uses placeholder or value; etc.

    path: string

    Element path

    source: string

    Element source

    type: string

    Element type

    width: number

    Element width

    x: number

    Element x coordinate relative to screen

    y: number

    Element y coordinate relative to screen