npm.io
1.0.0 • Published yesterday

@tagit/presentation-playwright

Licence
Version
1.0.0
Deps
2
Size
39 kB
Vulns
0
Weekly
0

@tagit/presentation-playwright

Allowlisted Playwright execution and recording helpers for shared presentation scenarios.

import { recordPresentationScenario } from '@tagit/presentation-playwright';

await recordPresentationScenario(browser, scenario, {
  baseUrl: 'http://127.0.0.1:4173',
  outputDir: 'artifacts/recordings/example',
  setup: async (page) => {
    await page.goto('/demo');
  },
});

Keep credentials and deterministic data setup outside the scenario. Recording failures identify the scenario step, action index, and semantic target and retain visual evidence.