Skip to content

video

const video: Video

Defined in: video.ts:666

ScreenCI video recording test fixture.

Extended Playwright test that automatically records browser interactions as video. Configure recording options globally with video.use() or in your config file.

Basic usage:

import { video, caption } from 'screenci'
video('Tutorial', async ({ page }) => {
await page.goto('https://example.com')
caption('User navigates to homepage')
await page.click('text=Sign up')
caption('Clicks sign up button')
})