Member Junction
    Preparing search index...

    Structured input to the controller LLM.

    Contains everything the LLM needs to decide the next action(s). Layer 1 builds this from RunContext; Layer 2 may add MJ-specific data before rendering via AIPromptRunner templates.

    Index

    Constructors

    Properties

    ApplicationContext?: string

    Free-form application context — typically markdown — that gives the controller LLM a head-start on the app being tested (navigation landmarks, common gotchas, route conventions). Sourced from TestSuite.Configuration. applicationContext at the suite level; tests can append per-test notes.

    The engine renders this into the controller prompt's system message under an "## Application Context" heading so the LLM doesn't waste steps rediscovering app structure on every test.

    CurrentScreenshot: string = ''

    Current screenshot as base64 PNG

    CurrentUrl: string = ''

    Current URL the browser is on

    FormLoginCredentials?: FormLoginCredentials

    FormLogin credentials to inject into the controller context. Only populated when a BasicAuthMethod with Strategy='FormLogin' matches the current domain. The controller LLM uses these to fill login forms rather than having headers set automatically.

    Goal: string = ''

    The natural-language goal being pursued

    JudgeFeedback?: string

    Feedback from the judge on the previous step (if available)

    MaxSteps: number = 0

    Maximum steps for this run

    PreviousStepSummary?: string

    Previous actions and their results for context

    ScreenshotHistory: string[] = []

    Recent screenshots as base64 PNGs (bounded ring buffer)

    StepNumber: number = 0

    Current step number

    ToolDefinitions: ToolDefinition[] = []

    Available tool definitions for the LLM to call