From 433064a93f075044ced4b3a96c12c417ddea258f Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Fri, 11 Sep 2026 07:39:20 +0200 Subject: [PATCH] changedetection: fix: pin browserless (#17163) --- ct/changedetection.sh | 1 + install/changedetection-install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ct/changedetection.sh b/ct/changedetection.sh index 07702c399..cd42bbf95 100644 --- a/ct/changedetection.sh +++ b/ct/changedetection.sh @@ -69,6 +69,7 @@ function update_script() { $STD git -C /opt/browserless/ reset --hard origin/main $STD npm update --prefix /opt/browserless $STD npm ci --include=optional --include=dev --prefix /opt/browserless + $STD npm install --save-exact playwright-core@1.62.1 --prefix /opt/browserless $STD /opt/browserless/node_modules/playwright-core/cli.js install --with-deps # Update Chrome separately, as it has to be done with the force option. Otherwise the installation of other browsers will not be done if Chrome is already installed. $STD /opt/browserless/node_modules/playwright-core/cli.js install --force chrome diff --git a/install/changedetection-install.sh b/install/changedetection-install.sh index f323c53ac..e59c3a4e6 100644 --- a/install/changedetection-install.sh +++ b/install/changedetection-install.sh @@ -62,6 +62,7 @@ mkdir /opt/browserless $STD /opt/changedetection/.venv/bin/python -m pip install playwright $STD git clone https://github.com/browserless/chrome /opt/browserless $STD npm ci --include=optional --include=dev --prefix /opt/browserless +$STD npm install --save-exact playwright-core@1.62.1 --prefix /opt/browserless $STD /opt/browserless/node_modules/playwright-core/cli.js install --with-deps &>/dev/null $STD /opt/browserless/node_modules/playwright-core/cli.js install --force chrome &>/dev/null $STD /opt/browserless/node_modules/playwright-core/cli.js install chromium firefox webkit &>/dev/null