Wirebrowser Automation Script API Referece
    Preparing search index...

    Interface ReturnFollowedHookContext

    interface ReturnFollowedHookContext {
        functionSource?: string;
        phase: "returnFollowed";
        stackTrace: HookStackFrame[];
        variables: Record<string, any>;
        eval(expression: string): void;
        log(message: string): void;
        send(message: any): void;
        setVariable(name: string, value: any): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    functionSource?: string
    phase: "returnFollowed"
    stackTrace: HookStackFrame[]
    variables: Record<string, any>

    Local variables.

    Methods

    • Schedules an expression to be evaluated on the current call frame. The result is later exposed as result.evalResult in handleResult.

      Parameters

      • expression: string

      Returns void

    • Collects log messages that are displayed on the Node-side once the handler execution is completed.

      Parameters

      • message: string

      Returns void

    • Sends a structured message to the Node-side result handler. Collected into result.messages.

      Parameters

      • message: any

      Returns void