video
constvideo:Video
Defined in: video.ts:570
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.
Example
Section titled “Example”Basic usage:
import { createNarration, video, voices } from 'screenci'
const narration = createNarration({ voice: { name: voices.Ava }, en: { homepage: 'User navigates to homepage.', signup: 'Clicks the sign up button.', },})
video('Tutorial', async ({ page }) => { await page.goto('https://example.com') await narration.homepage()
await page.click('text=Sign up') await narration.signup()})