Member Junction
    Preparing search index...

    One human-takeover input the surface emits to the channel while the user "drives" the live view. Mirrors the server's RemoteBrowserHumanInput union (flattened for transport): pointer moves/clicks/down/up and scrolls carry VIEWPORT coordinates, a scroll also carries wheel deltas, a key carries the pressed key string. Pointer clicks/down/up and keys also carry any held modifiers.

    interface RemoteBrowserHumanInputEvent {
        button?: "left" | "middle" | "right";
        deltaX?: number;
        deltaY?: number;
        key?: string;
        kind:
            | "text"
            | "scroll"
            | "key"
            | "pointer-move"
            | "pointer-click"
            | "pointer-down"
            | "pointer-up";
        modifiers?: RemoteBrowserModifier[];
        text?: string;
        x?: number;
        y?: number;
    }
    Index

    Properties

    button?: "left" | "middle" | "right"

    Mouse button (pointer-click / -down / -up only).

    deltaX?: number

    Horizontal wheel delta in pixels (scroll kind only; positive = right).

    deltaY?: number

    Vertical wheel delta in pixels (scroll kind only; positive = down).

    key?: string

    The pressed key (key kind only).

    kind:
        | "text"
        | "scroll"
        | "key"
        | "pointer-move"
        | "pointer-click"
        | "pointer-down"
        | "pointer-up"

    Which input occurred.

    modifiers?: RemoteBrowserModifier[]

    Modifier keys held during the input (pointer-click / -down / -up and key kinds).

    text?: string

    The pasted clipboard text (text kind only) — inserted into the remote page's focused element.

    x?: number

    Viewport X (pointer + scroll kinds only).

    y?: number

    Viewport Y (pointer + scroll kinds only).