Interface: PlaywrightFeatures
Feature flags indicating available Playwright APIs.
Example
const features: PlaywrightFeatures = detectFeatures(version);
if (features.hasClockAPI) { ... }
Properties
hasAriaSnapshot
readonlyhasAriaSnapshot:boolean
hasAriaSnapshotBoxes
readonlyhasAriaSnapshotBoxes:boolean
hasAriaSnapshotDepth
readonlyhasAriaSnapshotDepth:boolean
hasBoxedStep
readonlyhasBoxedStep:boolean
hasBrowserContextEvent
readonlyhasBrowserContextEvent:boolean
hasClockAPI
readonlyhasClockAPI:boolean
hasCustomExpect
readonlyhasCustomExpect:boolean
hasFilterLocator
readonlyhasFilterLocator:boolean
hasGetByRoleDescription
readonlyhasGetByRoleDescription:boolean
hasLocatorAssertions
readonlyhasLocatorAssertions:boolean
hasLocatorDrop
readonlyhasLocatorDrop:boolean
hasLocatorHighlightStyle
readonlyhasLocatorHighlightStyle:boolean
hasLocatorNormalize
readonlyhasLocatorNormalize:boolean
hasPageAriaSnapshot
readonlyhasPageAriaSnapshot:boolean
hasRouteFromHAR
readonlyhasRouteFromHAR:boolean
hasScreencastAPI
readonlyhasScreencastAPI:boolean
hasScreencastTimestamp
readonlyhasScreencastTimestamp:boolean
hasScreenshotCaret
readonlyhasScreenshotCaret:boolean
hasSetStorageState
readonlyhasSetStorageState:boolean
hasSoftPoll
readonlyhasSoftPoll:boolean
hasTestAbort
readonlyhasTestAbort:boolean
hasTracingHAR
readonlyhasTracingHAR:boolean
hasURLPatternMatcher
readonlyhasURLPatternMatcher:boolean
hasVideoRetainModes
readonlyhasVideoRetainModes:boolean
hasWebAuthnCredentials
readonlyhasWebAuthnCredentials:boolean
hasWebStorageAPI
readonlyhasWebStorageAPI:boolean