Praman — AI-First SAP UI5 Test Automation Platform - v1.0.1
    Preparing search index...

    Interface FETestLibraryPage

    Minimal page interface required by the FE Test Library.

    Abstracts Playwright's Page to the subset needed for script injection and WorkZone detection. This allows unit testing with lightweight mocks.

    const page: FETestLibraryPage = playwrightPage;
    await initializeFETestLibrary(page, config);
    interface FETestLibraryPage {
        evaluate<TResult>(pageFunction: string, arg?: unknown): Promise<TResult>;
        locator(selector: string): { count(): Promise<number> };
    }
    Index

    Methods

    • Parameters

      • selector: string

      Returns { count(): Promise<number> }