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.
This commit is contained in:
Alexandre
2026-01-09 16:09:53 +01:00
committed by GitHub
parent 2217dc985e
commit 0ea36966b5

View File

@@ -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