Wirebrowser Automation Script API Reference
    Preparing search index...

    Interface HookLocation

    interface HookLocation {
        col?: number;
        file: string;
        line: number;
    }
    Index

    Properties

    Properties

    col?: number

    1-based. Optional: when omitted, the hook targets the function that starts on line.

    file: string

    URL of the script, as shown in the Sources tab. Scripts without a URL (eval, new Function, dynamically injected code) are listed as scriptId://<id>: their id changes on every page reload.

    line: number