Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SUPPORT] TEMPLATE MASTERWISHX/BROWSERLESS-v2

Featured Replies

Support thread for masterwishx/browserless-v2   playwright-chrome  -  browserless/chromium ghcr.io image. 

 

browserless is a web-service that allows for remote clients to connect, drive, and execute headless work; all inside of docker. It offers first-class integrations for puppeteer, playwright, selenium's webdriver, and a slew of handy REST APIs for doing more common work. On top of all that it takes care of other common issues such as missing system-fonts, missing external libraries, and performance improvements. We even handle edge-cases like downloading files, managing sessions, and have a fully-fledged documentation site.

If you've been struggling to get Chrome up and running docker, or scaling out your headless workloads, then browserless was built for you.

 

This docker is needed for changedetection.io  , you can find it in Ca Apps .  its like Distill.io tool .

more read here https://github.com/dgtlmoon/changedetection.io/wiki/Fetching-pages-with-WebDriver

and here https://github.com/dgtlmoon/changedetection.io/wiki/Playwright-content-fetcher

 

https://docs.browserless.io/Docker/docker-quickstart

 

add this var to after install to your changedetection.io:

 

PLAYWRIGHT_DRIVER_URL=ws://yourIP:yourPORT/chromium?token=yourtoken&launch={"defaultViewport":{"height":1080,"width":1920},"headless":false,"stealth":true}&blockAds=true

 

Browserless-v2 is designed to always require a token. This means that, if you don't pass a TOKEN env variable, a randomly generated token will be set.

Edited by Masterwishx

  • 3 months later...

Hey @Masterwishx there is a typo in your overview on the unraid app. The PLAYWRIGHT_DRIVER_URL needs another left curly brace before "height".  The current instructions causes the browser to load in portrait. 

 

 

image.thumb.png.8de987369a9a9d52b651d314f8dcf770.png

  • Author
3 hours ago, yoshii-unraid said:

Hey @Masterwishx there is a typo in your overview on the unraid app. The PLAYWRIGHT_DRIVER_URL needs another left curly brace before "height".  The current instructions causes the browser to load in portrait. 

 

 

image.thumb.png.8de987369a9a9d52b651d314f8dcf770.png

Thanks Fixed

  • 2 months later...

Just got this setup to support changedetection.io and it all seems to be working.  :)  Quick question ref Token...  The template seems to have a Token set already but up above I see you wrote "Browserless-v2 is designed to always require a token. This means that, if you don't pass a TOKEN env variable, a randomly generated token will be set."  Does this mean I should remove it and re-setup container or did the template generate a random Token for me the first time?  Thanks! 

  • Author
1 hour ago, RyanRoberts210 said:

Does this mean I should remove it and re-setup container or did the template generate a random Token for me the first time?  Thanks! 

Yes, you need remove one in template for generate new and put the new back for template or use this if you offline or make any new token and just put it back to template

Thanks for the quick reply, sorry I missed it until now...  Can you point me to instructions for how to generate a Token.  I searched and see everyone talking about the Token but nothing about how to generate it.  Maybe I missed it somewhere.  Thanks!

  • 1 month later...
  • Author
On 10/4/2024 at 5:08 PM, RyanRoberts210 said:

Thanks for the quick reply, sorry I missed it until now...  Can you point me to instructions for how to generate a Token.  I searched and see everyone talking about the Token but nothing about how to generate it.  Maybe I missed it somewhere.  Thanks!

https://docs.browserless.io/docker/config#token

18 minutes ago, Masterwishx said:

I believe I understand using this comment and your previous one but still can't get the TOKEN to use to do it.  I remove the TOKEN from the template and restart.  The docker launches and I check the logs, no new TOKEN shows up there.  I try docker exec <containername> env and I try docker inspect <containername> from the Unraid Terminal, no TOKEN shows up there either...  I believe when you say a new TOKEN is created if we don't supply one but I can't find it.  What am I missing?  Once I have it, I understand to put it in the template and then in the changedetection.io template which I have working with your default TOKEN from the template, just wanted to do the right thing and make a new one...  Thanks!

  • Author
28 minutes ago, RyanRoberts210 said:

just wanted to do the right thing and make a new one...  Thanks!

When you remove token from container variable, then restart you should see new generated token by container in log. Then add it to container env. 

If you can't see it somehow, just generate new one in Unraid console by Linux command or by password manager or by any web tool. 

It's just random letters and numbers aA1 etc. 

Edited by Masterwishx

  • Author
35 minutes ago, RyanRoberts210 said:

make a new one

you can use also :

openssl rand -base64 32

 

Hey a few questions because i cant get it to run. which version is best for changedetection v1 or v2?
Even when i change the key manually, the key does not change and when i use the default key i dont get it to run.
I have added the container variable in changedetection:

PLAYWRIGHT_DRIVER_URL with ws://192.168.178.10:25894/chromium?token=xxxxxxxxxx&launch={"defaultViewport":{"height":1440,"width":2560},"headless":false,"stealth":true}&blockAds=true

but always get an error:

WebSocket error: ws://192.168.178.10:25894/chromium 400 BAD REQUEST <!doctype html> <html lang=en> <title>400 Bad Request</title> <h1>Bad Request</h1> <p>The browser (or proxy) has sent a request that this server cannot understand.</p> <p>The browser (or proxy) has sent a request that this server cannot understand.

3 minutes ago, anima said:

...which version is best for changedetection v1 or v2?

I am running this browserless-v2 container.  As for the container variable, I have the same except for four digit port number and 1080 and 1920 for the dimensions...  My combination works well.  I did it all with the "default" TOKEN value in this template and only now changed it in both containers to a newly generated one.

  • Author
2 hours ago, anima said:

which version is best for changedetection v1 or v2?

Both should work fine, not shure if v1 still updated,so just use v2. 

Also both version have different variables in path so you have error somewhere in path... 

  • 1 month later...

I thought I got everything up and running, but I started to have some issues with changedetection. I posted about it on github, and got a reply from the dev (after I explained my configuration) that "browserless is not supposed any more"

 

Now I'm trying to make sense of his reply to me, but I've hit a bit of a wall with regards to my knowledge of things here. Especially since the link he gave me seems to be tweaking the docker-compose.yml file, and I have no idea about that I'm afraid.

 

Should I post this to the changedetection.io app support thread instead?

On 1/10/2025 at 11:44 AM, Chunks said:

I thought I got everything up and running, but I started to have some issues with changedetection. I posted about it on github, and got a reply from the dev (after I explained my configuration) that "browserless is not supposed any more"

 

Now I'm trying to make sense of his reply to me, but I've hit a bit of a wall with regards to my knowledge of things here. Especially since the link he gave me seems to be tweaking the docker-compose.yml file, and I have no idea about that I'm afraid.

 

Should I post this to the changedetection.io app support thread instead?

I'm also trying to get this up and running. If you manage to get it fully working, please post your settings :)

  • Author
On 1/10/2025 at 12:44 PM, Chunks said:

I thought I got everything up and running, but I started to have some issues with changedetection. I posted about it on github, and got a reply from the dev (after I explained my configuration) that "browserless is not supposed any more"

 

Now I'm trying to make sense of his reply to me, but I've hit a bit of a wall with regards to my knowledge of things here. Especially since the link he gave me seems to be tweaking the docker-compose.yml file, and I have no idea about that I'm afraid.

 

Should I post this to the changedetection.io app support thread instead?

Sorry I can't check it right now my server is down for some days, motherboard is broken I'm waiting for new parts for server.. 

 

Basically changedetection has they own container instead browserless you can find more info on they github for setup. 

 

I will check it when my server will be on, I hope this week... 

I think I've solved my problem.

 

I went to the Linuxserver's Discord to see if I could find any info, and I actually found a dev that ran into the same problem as me. He reportedly fixed it, but I guess it's back?

 

In any case, everything works except that changedetection.io, using the linuxserver image, has issues with encoding foreign characters. And my website I'm watching is in Swedish.
 

Here's a link to the discord thread.

For completeness I'll detail it here too. The symptom (screenshot attached showing Encoding errors):

image.thumb.png.9ae6982dc1f16d8073b639faa8f0bf06.png

 

And for me, the fix was to add "-e LC_ALL=en_US.UTF-8" to the "Extra Parameters" field on the Changedetectio.io docker:

image.png.799207ab6b0f2f88018dded9d10311e8.png

I'm not sure if this actually breaks stuff or not, but the errors gone at least!

  • 2 weeks later...
  • 6 months later...

Frankly, things go off with this container. Just checked it's size after a fresh installation of the browserlessv2 docker and it has a size of

3.79 GIGABYTES!

There is something terribly wrong with this app.

  • 1 month later...

Hello,

Just a note if you are using Karakeep. You will need to change the URL: /chromium/playwright?token=XXX

The playwright's path has been moved.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.