Web driver / Chrome support?
-
wrote on Jul 17, 2022, 7:10 PM last edited by
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...
-
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...
@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. -
wrote on Jul 17, 2022, 8:20 PM last edited by
what are the options for running web driver?
-
@ajtatum @timconsidine Yes, the playwright integration is not done yet.
-
@ajtatum @timconsidine Yes, the playwright integration is not done yet.
wrote on Jul 18, 2022, 10:43 PM last edited by@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.
-
wrote on Aug 3, 2022, 6:20 AM last edited by
@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.
-
@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.
-
Unfortunately, even the old package does not run anymore with a recent build. I am debugging as to why.
-
Unfortunately, even the old package does not run anymore with a recent build. I am debugging as to why.
wrote on Aug 8, 2022, 4:33 PM last edited by@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.
-
wrote on Aug 20, 2022, 4:30 AM last edited by
Sorry to be pestering, but any luck here? Would really love to use this app!
-
wrote on Oct 26, 2022, 5:23 PM last edited by
Would also love to see web driver support, even if it is via an external service!
-
wrote on Oct 29, 2022, 5:08 PM last edited by
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.
-
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.
wrote on Jan 7, 2023, 2:54 AM last edited by@ajtatum This hasn't been implemented yet, correct?
-
N nebulon marked this topic as a question on Oct 5, 2023, 11:11 AM
-
N nebulon has marked this topic as solved on Oct 5, 2023, 11:11 AM
-
Looks like @vladimir-d has managed to get this working! Let's see if we can get an update out in the coming days.
@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?
-
I see itโs working! Was debugging an URL that resolves to ERR_NAME_NOT_RESOLVED
-
wrote on Apr 17, 2024, 1:24 PM last edited by
Is there an idiot's guide to getting web driver running with Change Detection on Cloudron?