Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d98b047

Browse files
authored
Merge pull request baijum#77 from pleycpl/patch-1
Added drivers document
2 parents 09abf56 + b313423 commit d98b047

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

source/installation.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ to create isolated Python environments. Python 3.5 has `pyvenv
3737
<https://docs.python.org/3.5/using/scripts.html#scripts-pyvenv>`_
3838
which is almost same as virtualenv.
3939

40+
Drivers
41+
~~~~~~~
42+
43+
Selenium requires a driver to interface with the chosen browser. Firefox,
44+
for example, requires `geckodriver <https://github.com/mozilla/geckodriver/releases>`_, which needs to be installed before the below examples can be run. Make sure it's in your `PATH`, e. g., place it in `/usr/bin` or `/usr/local/bin`.
45+
46+
Failure to observe this step will give you an error `selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.`
47+
48+
Other supported browsers will have their own drivers available. Links to some of the more popular browser drivers follow.
49+
50+
+--------------+-----------------------------------------------------------------------+
51+
| **Chrome**: | https://sites.google.com/a/chromium.org/chromedriver/downloads |
52+
+--------------+-----------------------------------------------------------------------+
53+
| **Edge**: | https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ |
54+
+--------------+-----------------------------------------------------------------------+
55+
| **Firefox**: | https://github.com/mozilla/geckodriver/releases |
56+
+--------------+-----------------------------------------------------------------------+
57+
| **Safari**: | https://webkit.org/blog/6900/webdriver-support-in-safari-10/ |
58+
+--------------+-----------------------------------------------------------------------+
59+
4060

4161
Detailed instructions for Windows users
4262
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)