From 0ea36966b5c1e613a4bd3c398613176b6de7a19e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 9 Jan 2026 16:09:53 +0100 Subject: [PATCH] Revise PLAYWRIGHT_DRIVER_URL and connection instructions Updated the PLAYWRIGHT_DRIVER_URL format in the README to include launch arguments and clarified instructions for connecting to Browserless Chrome. --- changedetection.io/README.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/changedetection.io/README.md b/changedetection.io/README.md index 5af4fad6f..7f45e2b87 100644 --- a/changedetection.io/README.md +++ b/changedetection.io/README.md @@ -67,30 +67,17 @@ PGID: 0 PUID: 0 TZ: "Europe/London" BASE_URL: "https://changedetection.mydomain.com" -PLAYWRIGHT_DRIVER_URL: "ws://db21ed7f-browserless-chrome:3000/chromium?headless=true&blockAds=true&stealth=true" +PLAYWRIGHT_DRIVER_URL: "ws://db21ed7f-browserless-chrome:3000/chromium?headless=true&stealth=true&blockAds=true&launch={"args":["--no-sandbox","--disable-dev-shm-usage"]}" TIMEOUT: 60000 ``` ### Connect to browserless Chrome (from @RhysMcW) -Install and start the Browserless Chrome add-on, then use the `PLAYWRIGHT_DRIVER_URL` option to connect to it. This option must be filled with the Browserless Chrome URL: -In HA, use the File Editor add-on (or Filebrowser) and edit the Changedetection.io config file at `/homeassistant/addons_config/changedetection.io/config.yaml`. - -Add the following line to the end of it: -```yaml -PLAYWRIGHT_DRIVER_URL: ws://db21ed7f-browserless-chrome:3000/chromium?headless=true&blockAds=true&stealth=true -``` - -Remember to add a blank line at the end of the file too according to yaml requirements. +Install and start the Browserless Chrome add-on, then use the `PLAYWRIGHT_DRIVER_URL` option to connect to it. This option must be filled with the Browserless Chrome URL: "ws://db21ed7f-browserless-chrome:3000/chromium?headless=true&stealth=true&blockAds=true&launch={"args":["--no-sandbox","--disable-dev-shm-usage"]}" The `db21ed7f-browserless-chrome` hostname is displayed in the UI, on the Browserless Chromium addon page: ![image](https://github.com/user-attachments/assets/a63514f6-027a-4361-a33f-0d8f87461279) -You can also fetch it: -* By using SSH and running `docker exec -i hassio_dns cat "/config/hosts"` -* From the CLI in HA, using arp -* You should also be able to use your HA IP address. - Then restart the Changedetection.io add-on - after that you can use the browser options in Changedetection.io. ## Installation