@elysiumoss/ui-capture - v0.3.0
    Preparing search index...

    Interface ScriptedStateRunnerOptions

    interface ScriptedStateRunnerOptions {
        defaultStepTimeoutMs?: number;
        preconditionTimeoutMs?: number;
        isAllowedRequestUrl?: (url: URL) => boolean;
    }
    Index
    defaultStepTimeoutMs?: number

    Action default when a step omits timeoutMs.

    preconditionTimeoutMs?: number

    Budget for the precondition probe; a state may override it.

    isAllowedRequestUrl?: (url: URL) => boolean

    The authoritative origin gate for request steps, applied to the URL each step resolves to from the live page URL.

    validateStates checks request origins before Chromium launches too, but against the state's configured URL; a script that navigates first resolves its paths against an origin that pass never saw. Left unset, the runner falls back to "same origin as the page", which is the property the path form is supposed to guarantee — fail closed, so a caller that forgets to pass a gate gets the narrow one rather than none.