You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/installation.rst
+27-16Lines changed: 27 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,17 +15,18 @@ Selenium Python bindings provide a convenient API to access Selenium
15
15
WebDrivers like Firefox, Ie and Chrome. The current supported Python
16
16
versions are 2.6, 2.7, 3.2 and 3.3.
17
17
18
-
This documentation explains using Selenium 2 WebDriver API.
19
-
Selenium 1 / Selenium RC API is not covered here.
18
+
This documentation explains using Selenium 2 WebDriver API. Selenium
19
+
1 / Selenium RC API is not covered here.
20
20
21
21
22
22
Downloading Python bindings for Selenium
23
23
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24
24
25
25
You can download Python bindings for Selenium from the `PyPI page for
26
26
selenium package <http://pypi.python.org/pypi/selenium>`_. You can
27
-
also use `easy_install <http://python-distribute.org/distribute_setup.py>`_
28
-
or `pip <http://pypi.python.org/pypi/pip>`_ to install the bindings::
27
+
also use `easy_install
28
+
<http://python-distribute.org/distribute_setup.py>`_ or `pip
29
+
<http://pypi.python.org/pypi/pip>`_ to install the bindings::
29
30
30
31
easy_install selenium
31
32
@@ -44,13 +45,20 @@ Detailed instructions for Windows users
44
45
45
46
You should have internet connection to perform this installation.
46
47
47
-
1. Install Python 2.7 using the `MSI available in python.org download page <http://www.python.org/download>`_.
48
+
1. Install Python 2.7 using the `MSI available in python.org download
49
+
page <http://www.python.org/download>`_.
48
50
49
-
2. Create a folder named ``C:\seltests`` and download `virtualenv.py <https://raw.github.com/pypa/virtualenv/master/virtualenv.py>`_ script into that folder.
51
+
2. Create a folder named ``C:\seltests`` and download `virtualenv.py
If you have downloaded and saved the program properly, please make sure ``virtualenv.py`` file exists at this location in your system: ``C:\seltests\virtualenv.py``
55
+
If you have downloaded and saved the program properly, please make
56
+
sure ``virtualenv.py`` file exists at this location in your system:
57
+
``C:\seltests\virtualenv.py``
52
58
53
-
3. Start a command prompt (using the ``cmd.exe`` program), then change to the ``C:\seltests`` folder and run the ``virtualenv.py`` script as given below.
59
+
3. Start a command prompt (using the ``cmd.exe`` program), then change
60
+
to the ``C:\seltests`` folder and run the ``virtualenv.py`` script
61
+
as given below.
54
62
55
63
::
56
64
@@ -59,18 +67,21 @@ Detailed instructions for Windows users
59
67
C:\Python27\python.exe virtualenv.py selenv
60
68
61
69
62
-
This step will create a folder named ``C:\seltests\selenv`` which contains a virtual Python.
70
+
This step will create a folder named ``C:\seltests\selenv`` which
71
+
contains a virtual Python.
63
72
64
73
4. Use the ``pip`` command as given below to install `selenium`
0 commit comments