Praman — Agent-First SAP UI5 Test Automation Plugin - v1.3.4
    Preparing search index...

    Interface PageContext

    Full page context snapshot used as AI input for test generation.

    Built by buildPageContext() / discoverPage() after waitForUI5Stable(). All arrays are partitioned views of the same discovered controls.

    Provide structured page state for LLM-driven test authoring.

    pramanAI.buildContext

    const ctx: PageContext = {
    url: 'https://my.fiori.app/launchpad',
    ui5Version: '1.120.3',
    controls: [...],
    formFields: [...],
    buttons: [...],
    tables: [...],
    navigationElements: [...],
    timestamp: new Date().toISOString(),
    };
    interface PageContext {
        ariaSnapshot?: string;
        buttons: DiscoveredControl[];
        controls: DiscoveredControl[];
        formFields: DiscoveredControl[];
        navigationElements: DiscoveredControl[];
        tables: DiscoveredControl[];
        timestamp: string;
        ui5Version?: string;
        url: string;
    }
    Index

    Properties

    ariaSnapshot?: string

    Aria snapshot of the page for AI grounding (Playwright 1.60+). Includes element references ([ref=e2]), <iframe> snapshots (mode:'ai'), and bounding boxes ([box=x,y,w,h]). Absent when Playwright lacks aria snapshots, when ai.includeAriaSnapshot is false, or when capture fails.

    Controls classified as buttons or clickable triggers.

    controls: DiscoveredControl[]

    All discovered controls on the page.

    formFields: DiscoveredControl[]

    Controls classified as form fields (inputs, selects, etc.).

    navigationElements: DiscoveredControl[]

    Controls classified as navigation elements (links, tiles, etc.).

    Controls classified as data tables or lists.

    timestamp: string

    ISO 8601 timestamp when the page context was captured.

    ui5Version?: string

    UI5 framework version detected on the page, if available.

    url: string

    Current page URL at time of discovery.