From d2e9acb8d665b3cd0706b9c06662efcee498d727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Tue, 6 Dec 2022 14:50:03 +0100 Subject: [PATCH] changedetection: add playwright --- changedetection.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/changedetection.yml b/changedetection.yml index f0c60b5..0f486cc 100644 --- a/changedetection.yml +++ b/changedetection.yml @@ -11,6 +11,7 @@ - TZ=${TZ} - BASE_URL=changes.kucharczyk.xyz - WEBDRIVER_URL="http://selenium:4444/wd/hub" + - PLAYWRIGHT_DRIVER_URL="ws://browserless:3100/?stealth=1&--disable-web-security=true" volumes: - "${DOCKER_STORAGE_PATH}/changedetection/data:/datastore" ports: @@ -22,4 +23,12 @@ ports: - "4444:4444" shm_size: '2g' + browserless: + image: browserless/chrome:1.53-chrome-stable + shm_size: '2g' + environment: + - DEFAULT_LAUNCH_ARGS=[\"--window-size=1920,1080\"] + ports: + - "3100:3000" + \ No newline at end of file