gbox-sdk
    Preparing search index...

    Interface ActionScrollAdvanced

    interface ActionScrollAdvanced {
        options?: Omit<
            undefined
            | GboxClient.V1.Boxes.ActionCommonOptions,
            "screenshot",
        > & ActionOptionsOverride;
        screenshotDelay?:
            | `${number}h`
            | `${number}m`
            | `${number}s`
            | `${number}ms`;
        scrollX: number;
        scrollY: number;
        x: number;
        y: number;
    }

    Hierarchy

    Index

    Properties

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

    Action common options

    screenshotDelay?: `${number}h` | `${number}m` | `${number}s` | `${number}ms`
    scrollX: number

    Horizontal scroll amount. Positive values scroll content rightward (reveals content on the right), negative values scroll content leftward (reveals content on the left).

    scrollY: number

    Vertical scroll amount. Positive values scroll content downward (reveals content below), negative values scroll content upward (reveals content above).

    x: number

    X coordinate of the scroll position

    y: number

    Y coordinate of the scroll position