Skip to content

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

Revert "chore(driver): roll driver to recent Node.js LTS version (#18… (#18791)

Yury Semikhatsky70065ba6ddcd
diff --git a/utils/build/build-playwright-driver.sh b/utils/build/build-playwright-driver.sh
index b477ead7f9..b50c6dd248 100755
--- a/utils/build/build-playwright-driver.sh
+++ b/utils/build/build-playwright-driver.sh
@@ -4,7 +4,7 @@ set -x
trap "cd $(pwd -P)" EXIT
SCRIPT_PATH="$(cd "$(dirname "$0")" ; pwd -P)"
-NODE_VERSION="18.12.1" # autogenerated via ./update-playwright-driver-version.mjs
+NODE_VERSION="16.18.0" # autogenerated via ./update-playwright-driver-version.mjs
cd "$(dirname "$0")"
PACKAGE_VERSION=$(node -p "require('../../package.json').version")
diff --git a/utils/docker/Dockerfile.focal b/utils/docker/Dockerfile.focal
index 6eebb33f16..f6db13a34a 100644
--- a/utils/docker/Dockerfile.focal
+++ b/utils/docker/Dockerfile.focal
@@ -7,9 +7,9 @@ ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright:v%version%-focal"
# === INSTALL Node.js ===
RUN apt-get update && \
- # Install node18
+ # Install node16
apt-get install -y curl wget gpg && \
- curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
+ curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs && \
# Feature-parity with node.js base images.
apt-get install -y --no-install-recommends git openssh-client && \
diff --git a/utils/docker/Dockerfile.jammy b/utils/docker/Dockerfile.jammy
index 908c671e74..63868afbdd 100644
--- a/utils/docker/Dockerfile.jammy
+++ b/utils/docker/Dockerfile.jammy
@@ -7,9 +7,9 @@ ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright:v%version%-jammy"
# === INSTALL Node.js ===
RUN apt-get update && \
- # Install node18
+ # Install node16
apt-get install -y curl wget gpg && \
- curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
+ curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs && \
# Feature-parity with node.js base images.
apt-get install -y --no-install-recommends git openssh-client && \
diff --git a/utils/linux-browser-dependencies/inside_docker/process.sh b/utils/linux-browser-dependencies/inside_docker/process.sh
index 2fa85035c5..be813f52e0 100755
--- a/utils/linux-browser-dependencies/inside_docker/process.sh
+++ b/utils/linux-browser-dependencies/inside_docker/process.sh
@@ -5,7 +5,7 @@ set +x
# Install Node.js
apt-get update && apt-get install -y curl && \
- curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
+ curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs
# Install apt-file