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