gbox-sdk
    Preparing search index...

    Interface ActionLongPressByElement

    interface ActionLongPressByElement {
        duration?: string;
        options?: ActionCommonOptions & Omit<
            GboxClient.V1.Boxes.ActionCommonOptions,
            "screenshot",
        >;
        target: GboxClient.V1.Boxes.DetectedElement;
    }

    Hierarchy

    Index

    Properties

    duration?: string

    Duration to hold the press (e.g. '1s', '500ms')

    Supported time units: ms (milliseconds), s (seconds), m (minutes), h (hours) Example formats: "500ms", "30s", "5m", "1h" Default: 1s

    options?: ActionCommonOptions & Omit<
        GboxClient.V1.Boxes.ActionCommonOptions,
        "screenshot",
    >

    Detected UI element