Skip to main content
Version: 1.x

Playwright Compatibility

Praman declares @playwright/test as a peer dependency with the range >=1.57.0 <2.0.0. This page documents which versions are actively tested and recommended.

Playwright Version Matrix

Playwright VersionStatusCI-TestedNotes
1.57.xSupportedYesMinimum supported version
1.58.xSupportedYes
1.59.xSupportedYesScreencast, CLI agents, ariaSnapshotDepth
1.60.xRecommendedYesARIA snapshots, highlight styles, test.abort
2.xNot supportedNoBreaking API changes expected

Praman is tested on every CI run against the Playwright version pinned in package.json devDependencies. The matrix above is updated with each release.

TypeScript Version Matrix

TypeScript VersionStatusCI-TestedNotes
5.5 – 5.9SupportedNoCompatible, not actively tested
6.xSupportedYesPublished types compiled with TS 6.0.3
7.xRecommendedYesFull inference, strict mode validated

Tech Stack

ComponentVersion
Playwright1.60.0 (peer: >=1.57.0)
TypeScript6.0.3 (supports 7.x)
Node.js>=22
ESLint10.4.0 (11 plugins)
Zod4.4.3
Pino10.3.1
Buildtsup 8.5.1 (ESM + CJS)
Test RunnerVitest 4.1.7
AI SDKsAnthropic 0.98.0, OpenAI 6.x
OpenTelemetrySDK 0.218.0 (optional)

Minimum Version Enforcement

At startup, Praman calls assertMinVersion('1.57.0') from the internal compatibility layer. If an older version is detected, a clear error is thrown before any tests execute.

Feature Detection

Praman uses runtime feature detection (not version checks) to enable capabilities introduced in newer Playwright releases:

FeatureRequired VersionDetection Key
Clock API1.45+hasClockAPI
ARIA snapshots1.49+hasAriaSnapshot
Screencast API1.59+hasScreencastAPI
ARIA snapshot depth1.59+hasAriaSnapshotDepth
Set storage state1.59+hasSetStorageState
Locator normalize1.59+hasLocatorNormalize
URL pattern matcher1.59+hasURLPatternMatcher
Test abort1.60+hasTestAbort
getByRole({ description })1.60+hasGetByRoleDescription
Page ARIA snapshot1.60+hasPageAriaSnapshot
ARIA snapshot boxes1.60+hasAriaSnapshotBoxes
Tracing HAR1.60+hasTracingHAR
Locator drop1.60+hasLocatorDrop
Locator highlight style1.60+hasLocatorHighlightStyle
Browser context event1.60+hasBrowserContextEvent

If a feature is unavailable, Praman degrades gracefully rather than failing.

How to Upgrade Playwright

npm install --save-dev @playwright/test@latest
npx playwright install

After upgrading, run your test suite to verify compatibility:

npx playwright test --reporter=list

Reporting Issues

If you encounter a compatibility issue with a specific Playwright version, please open a GitHub issue with:

  • The exact Playwright version (npx playwright --version)
  • The Praman version (npm ls playwright-praman)
  • The error message or unexpected behavior