Detects available Playwright features for a given version.
Parsed Playwright version.
Feature flags object.
const features = detectFeatures({ major: 1, minor: 58, patch: 0, raw: '1.58.0' });features.hasClockAPI; // true Copy
const features = detectFeatures({ major: 1, minor: 58, patch: 0, raw: '1.58.0' });features.hasClockAPI; // true
Detects available Playwright features for a given version.