Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: set minimum version to Node.js 14 (#13469)

Max Schmitt37bee74ae5c4
diff --git a/docs/src/library-js.md b/docs/src/library-js.md
index fbb5e59639..c731c4718a 100644
--- a/docs/src/library-js.md
+++ b/docs/src/library-js.md
@@ -97,7 +97,7 @@ let page: import('playwright').Page;
## System requirements
-Playwright requires Node.js version 12 or above. The browser binaries for Chromium,
+Playwright requires Node.js version 14 or above. The browser binaries for Chromium,
Firefox and WebKit work across the 3 platforms (Windows, macOS, Linux):
### Windows
diff --git a/docs/src/troubleshooting-js.md b/docs/src/troubleshooting-js.md
index 7665637939..06f084c280 100644
--- a/docs/src/troubleshooting-js.md
+++ b/docs/src/troubleshooting-js.md
@@ -30,7 +30,7 @@ await page.evaluate(`(async() => {
### ReferenceError: URL is not defined
-Playwright requires Node.js 12 or higher. Node.js 8 is not supported, and will cause you to receive this error.
+Playwright requires Node.js 14 or higher. Node.js 8 is not supported, and will cause you to receive this error.
# Please file an issue
diff --git a/package.json b/package.json
index 077bfba52a..c56aec477c 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
"engines": {
- "node": ">=12"
+ "node": ">=14"
},
"author": {
"name": "Microsoft Corporation"
diff --git a/packages/playwright-chromium/package.json b/packages/playwright-chromium/package.json
index c5fc0ec7db..9693d95e77 100644
--- a/packages/playwright-chromium/package.json
+++ b/packages/playwright-chromium/package.json
@@ -5,7 +5,7 @@
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
"engines": {
- "node": ">=12"
+ "node": ">=14"
},
"author": {
"name": "Microsoft Corporation"
diff --git a/packages/playwright-core/package.json b/packages/playwright-core/package.json
index da20f75e18..7ee76439aa 100644
--- a/packages/playwright-core/package.json
+++ b/packages/playwright-core/package.json
@@ -5,7 +5,7 @@
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
"engines": {
- "node": ">=12"
+ "node": ">=14"
},
"author": {
"name": "Microsoft Corporation"
diff --git a/packages/playwright-firefox/package.json b/packages/playwright-firefox/package.json
index 94371b89bc..6b2e61699c 100644
--- a/packages/playwright-firefox/package.json
+++ b/packages/playwright-firefox/package.json
@@ -5,7 +5,7 @@
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
"engines": {
- "node": ">=12"
+ "node": ">=14"
},
"author": {
"name": "Microsoft Corporation"
diff --git a/packages/playwright-test/package.json b/packages/playwright-test/package.json
index e5c637a3b7..d12a44a4fd 100644
--- a/packages/playwright-test/package.json
+++ b/packages/playwright-test/package.json
@@ -5,7 +5,7 @@
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
"engines": {
- "node": ">=12"
+ "node": ">=14"
},
"main": "index.js",
"exports": {
diff --git a/packages/playwright-webkit/package.json b/packages/playwright-webkit/package.json
index 10de80842c..2767a13363 100644
--- a/packages/playwright-webkit/package.json
+++ b/packages/playwright-webkit/package.json
@@ -5,7 +5,7 @@
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
"engines": {
- "node": ">=12"
+ "node": ">=14"
},
"author": {
"name": "Microsoft Corporation"
diff --git a/packages/playwright/package.json b/packages/playwright/package.json
index e7ead46af9..82a0316f8f 100644
--- a/packages/playwright/package.json
+++ b/packages/playwright/package.json
@@ -5,7 +5,7 @@
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
"engines": {
- "node": ">=12"
+ "node": ">=14"
},
"author": {
"name": "Microsoft Corporation"