zap-cdk
    Preparing search index...

    Interface ISpiderAjax

    Interface representing the parameters for an AJAX spider configuration. ISpiderAjax

    interface ISpiderAjax {
        browserId?: string;
        clickDefaultElems?: boolean;
        clickElemsOnce?: boolean;
        context?: string;
        elements?: string[];
        eventWait?: number;
        excludedElements?: IExcludedElement[];
        inScopeOnly?: boolean;
        maxCrawlDepth?: number;
        maxCrawlStates?: number;
        maxDuration?: number;
        numberOfBrowsers?: number;
        randomInputs?: boolean;
        reloadWait?: number;
        runOnlyIfModern?: boolean;
        scopeCheck?: "Flexible" | "Strict";
        tests?: ITest[];
        url?: string;
        user?: string;
    }
    Index

    Properties

    browserId?: string

    Browser ID to use.

    clickDefaultElems?: boolean

    Click only default elements.

    clickElemsOnce?: boolean

    Click each element only once.

    context?: string

    Name of the context to spider.

    elements?: string[]

    List of HTML elements to click.

    eventWait?: number

    Time to wait after a client-side event.

    excludedElements?: IExcludedElement[]

    List of HTML elements to exclude.

    inScopeOnly?: boolean

    Ignore out of scope URLs.

    maxCrawlDepth?: number

    Max depth the crawler can reach.

    maxCrawlStates?: number

    Maximum number of crawl states.

    maxDuration?: number

    Max time in minutes the AJAX spider will run.

    numberOfBrowsers?: number

    Number of browsers to use.

    randomInputs?: boolean

    Enter random values into input elements.

    reloadWait?: number

    Time to wait after the URL is loaded.

    runOnlyIfModern?: boolean

    Run only if a "modern app" alert is raised.

    scopeCheck?: "Flexible" | "Strict"

    Scope check type.

    tests?: ITest[]

    List of tests to perform.

    url?: string

    URL to start spidering from.

    user?: string

    Optional user for authentication.