Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Change Detection
  3. Web driver / Chrome support?

Web driver / Chrome support?

Scheduled Pinned Locked Moved Solved Change Detection
21 Posts 8 Posters 3.2k Views 9 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ajtatumA Offline
      ajtatumA Offline
      ajtatum
      wrote on last edited by
      #1

      I was excited to see this app in Cloudron as I was planning to install it myself, but when I tried to use web driver it said it couldn't be found. Is there a work around for this? I'm not familiar with the process, but could I upload a docker image to Cloudron and somehow point it to that? If not, then I guess my next options are to either self host or try browserless.io.

      Let me know your thoughts...

      timconsidineT 1 Reply Last reply
      3
      • ajtatumA ajtatum

        I was excited to see this app in Cloudron as I was planning to install it myself, but when I tried to use web driver it said it couldn't be found. Is there a work around for this? I'm not familiar with the process, but could I upload a docker image to Cloudron and somehow point it to that? If not, then I guess my next options are to either self host or try browserless.io.

        Let me know your thoughts...

        timconsidineT Offline
        timconsidineT Offline
        timconsidine
        App Dev
        wrote on last edited by
        #2

        @ajtatum I use ChangeDetection but not tried web driver.
        It's an early release of ChangeDetection of Cloudron, so maybe some more features to come.

        1 Reply Last reply
        0
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #3

          what are the options for running web driver?

          Conscious tech

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @ajtatum @timconsidine Yes, the playwright integration is not done yet.

            ajtatumA 1 Reply Last reply
            1
            • girishG girish

              @ajtatum @timconsidine Yes, the playwright integration is not done yet.

              ajtatumA Offline
              ajtatumA Offline
              ajtatum
              wrote on last edited by
              #5

              @girish How/where can I set the environment variable to be:

              WEBDRIVER_URL="https://apikey@chrome.browserless.io/webdriver"

              I tried in creating a .env but failed.

              1 Reply Last reply
              0
              • ajtatumA Offline
                ajtatumA Offline
                ajtatum
                wrote on last edited by
                #6

                @girish - I went ahead and setup browserless.io self-hosted on another VM and am able to access it directly (with a token) or via Puppeteer via web sockets; however, there doesn't appear to be anyway to supply either an HTTP or WS URL to Change Detection. I've created a .env where I could, but the rest of the folder structure seems locked down and I can't find it when I log in as root onto the server. Any chance you can help out here? Just curious as, for my purposes, the app isn't very useful without webdriver in Cloudron or being able to supply a URL via environment config.

                girishG 1 Reply Last reply
                0
                • ajtatumA ajtatum

                  @girish - I went ahead and setup browserless.io self-hosted on another VM and am able to access it directly (with a token) or via Puppeteer via web sockets; however, there doesn't appear to be anyway to supply either an HTTP or WS URL to Change Detection. I've created a .env where I could, but the rest of the folder structure seems locked down and I can't find it when I log in as root onto the server. Any chance you can help out here? Just curious as, for my purposes, the app isn't very useful without webdriver in Cloudron or being able to supply a URL via environment config.

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by girish
                  #7

                  @ajtatum please hold on πŸ™‚ a new update came out, I am just updating it and also adding .env support.

                  1 Reply Last reply
                  3
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    Unfortunately, even the old package does not run anymore with a recent build. I am debugging as to why.

                    ajtatumA 2 Replies Last reply
                    1
                    • girishG girish

                      Unfortunately, even the old package does not run anymore with a recent build. I am debugging as to why.

                      ajtatumA Offline
                      ajtatumA Offline
                      ajtatum
                      wrote on last edited by
                      #9

                      @girish Oh man, thank you for working on this. I honestly am super stoked about this!

                      1 Reply Last reply
                      2
                      • girishG girish

                        Unfortunately, even the old package does not run anymore with a recent build. I am debugging as to why.

                        ajtatumA Offline
                        ajtatumA Offline
                        ajtatum
                        wrote on last edited by
                        #10

                        @girish Any update by change? I managed to get browserless.io self hosted and have incorporated it into other projects, and would love to use it in Change Detection.

                        1 Reply Last reply
                        1
                        • ajtatumA Offline
                          ajtatumA Offline
                          ajtatum
                          wrote on last edited by
                          #11

                          Sorry to be pestering, but any luck here? Would really love to use this app!

                          3699n3 1 Reply Last reply
                          3
                          • ajtatumA ajtatum

                            Sorry to be pestering, but any luck here? Would really love to use this app!

                            3699n3 Offline
                            3699n3 Offline
                            3699n
                            wrote on last edited by
                            #12

                            Would also love to see web driver support, even if it is via an external service!

                            1 Reply Last reply
                            0
                            • ajtatumA Offline
                              ajtatumA Offline
                              ajtatum
                              wrote on last edited by
                              #13

                              Just wanted to let everyone know that getting this working in Portainer/docker compose is extremely easy and once I setup NGINX Proxy Manager (outside of Cloudron) it's pretty sweet.

                              Here's the docker compose script I used:

                              version: '3.3'
                              x-logging: &default-logging
                                options:
                                  max-size: "200k"
                                  max-file: "10"
                                driver: json-file
                                    
                                changedetection:
                                    image: ghcr.io/dgtlmoon/changedetection.io:latest
                                    container_name: changedetection
                                    hostname: changedetection
                                    volumes:
                                      - changedetection-data:/datastore
                                    environment:
                                      - PORT=5000
                                      - PGID=${PGID}
                                      - PUID=${PUID}
                                      - TZ=${TZ}
                                      - WEBDRIVER_URL=http://browser-chrome:4444/wd/hub
                                      - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true
                                      - BASE_URL=http://192.168.195.150
                                    logging: *default-logging
                                    ports:
                                      - 5000:5000
                                    restart: unless-stopped
                               
                                browser-chrome:
                                  hostname: browser-chrome
                                  image: selenium/standalone-chrome-debug:3.141.59
                                  environment:
                                     - VNC_NO_PASSWORD=1
                                     - SCREEN_WIDTH=1920
                                     - SCREEN_HEIGHT=1080
                                     - SCREEN_DEPTH=24
                                  logging: *default-logging
                                  volumes:
                                     - /dev/shm:/dev/shm
                                  restart: unless-stopped
                               
                                playwright-chrome:
                                    hostname: playwright-chrome
                                    image: browserless/chrome:latest
                                    restart: unless-stopped
                                    environment:
                                        - SCREEN_WIDTH=1920
                                        - SCREEN_HEIGHT=1024
                                        - SCREEN_DEPTH=16
                                        - ENABLE_DEBUGGER=false
                                        - PREBOOT_CHROME=true
                                        - CONNECTION_TIMEOUT=300000
                                        - MAX_CONCURRENT_SESSIONS=10
                                        - CHROME_REFRESH_TIME=600000
                                        - DEFAULT_BLOCK_ADS=true
                                        - DEFAULT_STEALTH=true
                                    logging: *default-logging
                                    
                              volumes:
                                changedetection-data:
                              

                              PGID and PUID are 1000 in my use case. And TZ, for me, is set to America/New_York.

                              andreasduerenA 1 Reply Last reply
                              3
                              • ajtatumA ajtatum

                                Just wanted to let everyone know that getting this working in Portainer/docker compose is extremely easy and once I setup NGINX Proxy Manager (outside of Cloudron) it's pretty sweet.

                                Here's the docker compose script I used:

                                version: '3.3'
                                x-logging: &default-logging
                                  options:
                                    max-size: "200k"
                                    max-file: "10"
                                  driver: json-file
                                      
                                  changedetection:
                                      image: ghcr.io/dgtlmoon/changedetection.io:latest
                                      container_name: changedetection
                                      hostname: changedetection
                                      volumes:
                                        - changedetection-data:/datastore
                                      environment:
                                        - PORT=5000
                                        - PGID=${PGID}
                                        - PUID=${PUID}
                                        - TZ=${TZ}
                                        - WEBDRIVER_URL=http://browser-chrome:4444/wd/hub
                                        - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true
                                        - BASE_URL=http://192.168.195.150
                                      logging: *default-logging
                                      ports:
                                        - 5000:5000
                                      restart: unless-stopped
                                 
                                  browser-chrome:
                                    hostname: browser-chrome
                                    image: selenium/standalone-chrome-debug:3.141.59
                                    environment:
                                       - VNC_NO_PASSWORD=1
                                       - SCREEN_WIDTH=1920
                                       - SCREEN_HEIGHT=1080
                                       - SCREEN_DEPTH=24
                                    logging: *default-logging
                                    volumes:
                                       - /dev/shm:/dev/shm
                                    restart: unless-stopped
                                 
                                  playwright-chrome:
                                      hostname: playwright-chrome
                                      image: browserless/chrome:latest
                                      restart: unless-stopped
                                      environment:
                                          - SCREEN_WIDTH=1920
                                          - SCREEN_HEIGHT=1024
                                          - SCREEN_DEPTH=16
                                          - ENABLE_DEBUGGER=false
                                          - PREBOOT_CHROME=true
                                          - CONNECTION_TIMEOUT=300000
                                          - MAX_CONCURRENT_SESSIONS=10
                                          - CHROME_REFRESH_TIME=600000
                                          - DEFAULT_BLOCK_ADS=true
                                          - DEFAULT_STEALTH=true
                                      logging: *default-logging
                                      
                                volumes:
                                  changedetection-data:
                                

                                PGID and PUID are 1000 in my use case. And TZ, for me, is set to America/New_York.

                                andreasduerenA Offline
                                andreasduerenA Offline
                                andreasdueren
                                wrote on last edited by
                                #14

                                @ajtatum This hasn't been implemented yet, correct?

                                1 Reply Last reply
                                1
                                • girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #15

                                  Looks like @vladimir-d has managed to get this working! Let's see if we can get an update out in the coming days.

                                  imc67I 1 Reply Last reply
                                  3
                                  • nebulonN nebulon marked this topic as a question on
                                  • nebulonN nebulon has marked this topic as solved on
                                  • girishG girish

                                    Looks like @vladimir-d has managed to get this working! Let's see if we can get an update out in the coming days.

                                    imc67I Offline
                                    imc67I Offline
                                    imc67
                                    translator
                                    wrote on last edited by
                                    #16

                                    @girish said in Web driver / Chrome support?:

                                    Looks like @vladimir-d has managed to get this working! Let's see if we can get an update out in the coming days.

                                    Any update?

                                    1 Reply Last reply
                                    0
                                    • imc67I Offline
                                      imc67I Offline
                                      imc67
                                      translator
                                      wrote on last edited by
                                      #17

                                      I see it’s working! Was debugging an URL that resolves to ERR_NAME_NOT_RESOLVED

                                      1 Reply Last reply
                                      0
                                      • girishG Offline
                                        girishG Offline
                                        girish
                                        Staff
                                        wrote on last edited by
                                        #18

                                        Yes, we have been using it for many months now. It's how we detect changes in Minecraft releases page

                                        1 Reply Last reply
                                        2
                                        • nichu42N Offline
                                          nichu42N Offline
                                          nichu42
                                          wrote on last edited by
                                          #19

                                          Is there an idiot's guide to getting web driver running with Change Detection on Cloudron?

                                          Matrix: @nichu42:blueplanet.social

                                          1 Reply Last reply
                                          0
                                          • girishG Offline
                                            girishG Offline
                                            girish
                                            Staff
                                            wrote on last edited by
                                            #20

                                            @nichu42 there is nothing to setup. Just choose "Playwright Chromium" in the Request tab of your URL.

                                            image.png

                                            nichu42N 1 Reply Last reply
                                            1
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes


                                              • Login

                                              • Don't have an account? Register

                                              • Login or register to search.
                                              • First post
                                                Last post
                                              0
                                              • Categories
                                              • Recent
                                              • Tags
                                              • Popular
                                              • Bookmarks
                                              • Search