gbox-sdk
    Preparing search index...

    Interface ActionType

    interface ActionType {
        mode?: "append" | "replace";
        options?: Omit<
            undefined
            | GboxClient.V1.Boxes.ActionCommonOptions,
            "screenshot",
        > & ActionOptionsOverride;
        pressEnter?: boolean;
        screenshotDelay?:
            | `${number}h`
            | `${number}m`
            | `${number}s`
            | `${number}ms`;
        text: string;
    }

    Hierarchy

    Index

    Properties

    mode?: "append" | "replace"

    Text input mode: 'append' to add text to existing content, 'replace' to replace all existing text

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

    Action common options

    pressEnter?: boolean

    Whether to press Enter after typing the text

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

    Text to type