Replies: 1 comment 1 reply
-
I would really recommend playwright+browserless over selenium |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am able to run changedetection.io inside LXC in Proxmox with Basic fast Plaintext/HTTP Client so without Docker
I am also able to run WebDriver with
/usr/bin/chromedriver --url-base=/wd/hub --port=9515 --verbose
But the webdriver can't start
google-chrome-stable
because of this error:The full executable that webdriver is trying to run is
/usr/bin/google-chrome --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-blink-features=ShadowDOMV0 --enable-logging --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.com.google.Chrome.6vECbs
Indeed there are two args missing to make it work in LXC headless:
--no-sandbox
and--headless
If I run the same command with these two arguments then chrome does not crash (but obviously the session is detached from changedetection.io and completly useless).
Is there a way to make changedetection.io pass these two arguments to the webdriver which in turn will pass down to
google-chrome-stable
?I also took a peek at the source code but I am not familiar with python nor with this repo.
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions