Interface: ExtensionContext
Context provided to extension factories during handler creation.
Remarks
Each test gets its own context with a fresh handler instance.
The page and handler are test-scoped; config is worker-scoped
and frozen.
Example
extendUI5Handler('myExt', (ctx: ExtensionContext) => ({
async myMethod() {
const btn = await ctx.handler.control({ id: 'btn1' });
await btn.press();
},
}));
Properties
config
readonlyconfig:Readonly<PramanConfig>
Validated, frozen Praman configuration.
handler
readonlyhandler:UI5Handler
The base UI5Handler instance for control discovery and interaction.
page
readonlypage:Page
Playwright Page for direct browser interactions.