瀏覽代碼

ENH : point webdriver to 127.0.0.1:4444/wd/hub instead of browser-chrome:4444/wd/hub (#1349)

ka2er 2 年之前
父節點
當前提交
1e23eb23be
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      install/changedetection-install.sh

+ 1 - 0
install/changedetection-install.sh

@@ -34,6 +34,7 @@ After=network-online.target
 [Service]
 Type=simple
 WorkingDirectory=/opt/changedetection
+Environment="WEBDRIVER_URL=http://127.0.0.1:4444/wd/hub"
 ExecStart=changedetection.io -d /opt/changedetection -p 5000
 [Install]
 WantedBy=multi-user.target