gbox-sdk
    Preparing search index...

    Interface ActionLongPressByNaturalLanguage

    interface ActionLongPressByNaturalLanguage {
        duration?: string;
        options?: ActionCommonOptions & Omit<
            GboxClient.V1.Boxes.ActionCommonOptions,
            "screenshot",
        >;
        screenshotDelay?: | `${number}h`
        | `${number}m`
        | `${number}s`
        | `${number}ms`;
        target: string;
    }

    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",
    >
    screenshotDelay?: `${number}h` | `${number}m` | `${number}s` | `${number}ms`
    target: string

    Describe the target to operate using natural language, e.g., 'Chrome icon', 'login button'