Skip to content

Commit

Permalink
Merge pull request #47 from Shirkanesi/main
Browse files Browse the repository at this point in the history
Update Step 7 of selenium-install-instruction [Windows]
  • Loading branch information
alfonsrv committed Jun 6, 2021
2 parents 9ccd21d + d61e316 commit 02f8a7a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/INSTALL.md
Expand Up @@ -15,9 +15,10 @@ Make sure you have Google Chrome installed.
4. Note the Version (89.0..., 90.0..., 91.0...)
5. Visit the [Selenium WebDriver website](https://sites.google.com/a/chromium.org/chromedriver/downloads)
6. Download the zip-Archive
7. Put the `chromedriver.exe` from the zip-Archive in `C:\Windows\system32`
* you can also put it somewhere else, but you should make sure the folder is in your %PATH%-variable
* or alternatively point the `SELENIUM_PATH` in `settings.py` to the path of the `chromedriver.exe` explicitly
7. Put the `chromedriver.exe` from the zip-Archive in the `impf-botpy` folder after downloading the project (further down) – alternatively you can:
* put it into `C:\Windows` straight away or if you're experiencing issues
* put it somewhere else, but you should make sure the folder is in your %PATH%-variable
* point the `SELENIUM_PATH` in `settings.py` to the path of the `chromedriver.exe` explicitly
8. If you configured this step improperly, the bot will fail with this error - or a similar one
`selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home`
OR `WebDriverException: unknown error: cannot find Chrome binary error with Selenium in Python for older versions of Google Chrome`
Expand Down Expand Up @@ -152,4 +153,4 @@ Configure the project `settings.py` as shown in `README.md` and then type in Tem
cd ~/Downloads/impf-botpy
pip3 install -r requirements.txt
python3 main.py
```
```

0 comments on commit 02f8a7a

Please sign in to comment.