|
1 |
| -## Before installing SeleniumBase, you need: |
| 1 | +## Installation instructions for Chromedriver, Firefox's Geckodriver, and other drivers |
2 | 2 |
|
3 |
| -#### **Step 0a:** Setup your [Python](https://docs.python.org/2/)/pip environment: |
4 |
| - |
5 |
| -* To install ``python``, ``pip``, ``git``, and either ``virtualenv`` or ``virtualenvwrapper``, **[follow these instructions](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/requirements_installation.md)**. |
6 |
| - |
7 |
| - |
8 |
| -#### **Step 0b:** Install web browsers to run automation on: |
9 |
| - |
10 |
| -* Download & install web browsers such as [Chrome](https://www.google.com/chrome/browser/desktop/index.html) and/or [Firefox](https://www.mozilla.org/firefox/new/). |
11 |
| - |
12 |
| - |
13 |
| -#### **Step 0c:** Get web drivers for each browser you intend to run automation on: |
14 | 3 |
|
15 | 4 | To run automation on various web browsers, you'll need to download a driver file for each one and place it on your System **[PATH](http://java.com/en/download/help/path.xml)**. On a Mac, ``/usr/local/bin`` is a good spot. On Windows, make sure you set the System Path under Environment Variables to include the location where you placed the driver files:
|
16 | 5 |
|
17 |
| -* For Chrome, get [Chromedriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) on your System Path. (**[Version 2.33](https://chromedriver.storage.googleapis.com/index.html?path=2.33/) or above is recommended!**) |
| 6 | +* For Chrome, get [Chromedriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) on your System Path. (**[Version 2.36](https://chromedriver.storage.googleapis.com/index.html?path=2.36/) or above is recommended!**) |
18 | 7 |
|
19 | 8 | * For Firefox, get [Geckodriver](https://github.com/mozilla/geckodriver/releases) on your System Path.
|
20 | 9 |
|
|
30 | 19 |
|
31 | 20 | ```bash
|
32 | 21 | brew install chromedriver
|
| 22 | + |
| 23 | +brew install geckodriver |
33 | 24 | ```
|
34 | 25 |
|
35 |
| -(NOTE: If your existing version of chromedriver is less than 2.33, **upgrading is recommended!**) |
| 26 | +(NOTE: If your existing version of chromedriver is less than 2.36, **upgrading is recommended!**) |
36 | 27 |
|
37 | 28 | ```bash
|
38 | 29 | brew upgrade chromedriver
|
| 30 | + |
| 31 | +brew upgrade geckodriver |
39 | 32 | ```
|
40 | 33 |
|
41 | 34 | Linux:
|
42 | 35 |
|
43 | 36 | ```bash
|
44 |
| -wget http://chromedriver.storage.googleapis.com/2.33/chromedriver_linux64.zip |
| 37 | +wget http://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip |
45 | 38 | unzip chromedriver_linux64.zip
|
46 | 39 | mv chromedriver /usr/local/bin/
|
47 | 40 | chmod +x /usr/local/bin/chromedriver
|
|
0 commit comments