gbox-sdk
    Preparing search index...

    Interface ActionLongPressByNaturalLanguage

    interface ActionLongPressByNaturalLanguage {
        duration?: string;
        options?: Omit<
            undefined
            | GboxClient.V1.Boxes.ActionCommonOptions,
            "screenshot",
        > & ActionOptionsOverride;
        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?: Omit<
        undefined
        | GboxClient.V1.Boxes.ActionCommonOptions,
        "screenshot",
    > & ActionOptionsOverride

    Action common options

    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'