gbox-sdk
    Preparing search index...

    Scroll capture parameters

    interface ScrollCapture {
        maxHeight?: number;
        scrollBack?: boolean;
    }
    Index

    Properties

    maxHeight?: number

    Maximum height of the screenshot in pixels. Limits the maximum height of the automatically scrolled content. Useful for managing memory usage when capturing tall content like long web pages. Default: 4000px

    scrollBack?: boolean

    Whether to scroll back to the original position after capturing the screenshot