Skip to main content
Version: 1.x

Variable: screencastTest

const screencastTest: TestType<PlaywrightTestArgs & PlaywrightTestOptions & ScreencastFixtures, PlaywrightWorkerArgs & PlaywrightWorkerOptions & ScreencastWorkerDeps>

Playwright test object extended with the screencast fixture.

Remarks

Extends the base Playwright test with a screencast test-scoped fixture wrapping the Playwright 1.59 page.screencast API.

Compose with coreTest via mergeTests() to inject rootLogger:

const test = mergeTests(coreTest, screencastTest);

Intent

Provide structured video recording with real-time AI frame streaming

Capability

ui5.inspect

Example

import { screencastTest } from 'playwright-praman';

screencastTest('UI5 form workflow', async ({ screencast }) => {
await screencast.showChapter('Open form');
await screencast.showActions({ position: 'bottom' });
});