Skip to main content
Version: 1.x

Function: getPlaywrightFeatures()

getPlaywrightFeatures(): PlaywrightFeatures

Returns feature flags for the currently installed Playwright version.

Returns

PlaywrightFeatures

Feature flags object.

Example

const features = getPlaywrightFeatures();
if (features.hasClockAPI) { ... }