Updated Fetching pages with WebDriver (markdown)

master
dgtlmoon 2022-03-26 10:15:26 +01:00
rodzic b3a48fa2ef
commit 74946bb627
1 zmienionych plików z 13 dodań i 1 usunięć

@ -50,7 +50,19 @@ Known to work with RaspberryPi-4 Use the `seleniarm/standalone-chromium:4.0.0-20
## Microsoft Windows
@todo - fill this in
Tested with Chrome version 99.0
1. Install Chrome Web Browser https://www.google.com/chrome/
2. Install the correct Chromium WebDriver https://chromedriver.chromium.org/downloads for the version of Chrome you installed.
3. Unpack and run the WebDriver, this will talk/drive Chrome to get the results
![image](https://user-images.githubusercontent.com/275001/160232808-9796464b-197d-4b09-8e31-61c43ab618da.png)
4. Set system wide or `cmd` level environmental variable for Changedetection.io to know where to find the ChromeDriver, from the commandline `set WEBDRIVER_URL=http://localhost:9515`
5. Run the app from the same window using the `changedetection.py`
![image](https://user-images.githubusercontent.com/275001/160232891-51c69279-8e2e-40d7-a0ef-56f495cf2bdf.png)
6. Don't forget to enable chrome fetching for those sites that require Javascript, or any site you prefer to fetch via your Chrome, the user interface should show "`http://localhost:9515`" if you set the environmental variable correctly.
![image](https://user-images.githubusercontent.com/275001/160232926-70fee16f-634b-42cd-86c3-0ffaa5a0aa22.png)
## There's a few things left todo