From b18b733d6201cb1c84f28cdfc72557f532d8af15 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 27 Jan 2022 21:25:24 +0100 Subject: [PATCH] Updated Fetching pages with WebDriver (markdown) --- Fetching-pages-with-WebDriver.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Fetching-pages-with-WebDriver.md b/Fetching-pages-with-WebDriver.md index 575bc35..8ad5e19 100644 --- a/Fetching-pages-with-WebDriver.md +++ b/Fetching-pages-with-WebDriver.md @@ -17,19 +17,22 @@ The backend can be configured to fetch pages via Chrome using the built in [WebD If using docker (instead of docker-compose) the following will get ChangeDetection.io and the chromium WebDriver up and running: ``` +docker run -d \ + --name selenium \ + --restart unless-stopped \ + -p 4444:4444 \ + --shm-size="2g" \ + seleniarm/standalone-chromium + docker run -d \ --name changedetection.io \ - --restart always \ + --restart unless-stopped \ + --link selenium \ -p 5000:5000 \ -e WEBDRIVER_URL="http://localhost:4444/wd/hub" \ -v datastore-volume:/datastore \ dgtlmoon/changedetection.io -docker run -d \ - --name selenium \ - -p 4444:4444 \ - --shm-size="2g" \ - seleniarm/standalone-chromium ``` Then visit `/settings` and `[Fetching]` tab and enable the WebDriver/Chrome option