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

Skip to content

Commit 74e964e

Browse files
committed
avoid long lines
1 parent 76a0229 commit 74e964e

File tree

1 file changed

+27
-16
lines changed

1 file changed

+27
-16
lines changed

source/installation.rst

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,18 @@ Selenium Python bindings provide a convenient API to access Selenium
1515
WebDrivers like Firefox, Ie and Chrome. The current supported Python
1616
versions are 2.6, 2.7, 3.2 and 3.3.
1717

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.
2020

2121

2222
Downloading Python bindings for Selenium
2323
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2424

2525
You can download Python bindings for Selenium from the `PyPI page for
2626
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::
2930

3031
easy_install selenium
3132

@@ -44,13 +45,20 @@ Detailed instructions for Windows users
4445

4546
You should have internet connection to perform this installation.
4647

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>`_.
4850

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
52+
<https://raw.github.com/pypa/virtualenv/master/virtualenv.py>`_
53+
script into that folder.
5054

51-
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``
5258

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.
5462

5563
::
5664

@@ -59,18 +67,21 @@ Detailed instructions for Windows users
5967
C:\Python27\python.exe virtualenv.py selenv
6068

6169

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.
6372

6473
4. Use the ``pip`` command as given below to install `selenium`
6574

6675
::
6776

6877
C:\seltests\selenv\Scripts\pip.exe install selenium
6978

70-
Now installation has been completed! You can proceed to test your Selenium scripts.
79+
Now installation has been completed! You can proceed to test your
80+
Selenium scripts.
7181

72-
Now you can run your test scripts using the virtual Python. For example, if you have a created
73-
script and saved it inside ``C:\seltests\my_selenium_script.py``, you can run it like this.
82+
Now you can run your test scripts using the virtual Python. For
83+
example, if you have a created script and saved it inside
84+
``C:\seltests\my_selenium_script.py``, you can run it like this.
7485

7586
::
7687

@@ -83,11 +94,11 @@ Downloading Selenium server
8394
.. note::
8495

8596
The Selenium server is only required, if you want to use the remote
86-
WebDriver. See the :ref:`selenium-remote-webdriver` section
87-
for more details.
97+
WebDriver. See the :ref:`selenium-remote-webdriver` section for
98+
more details.
8899

89-
Selenium server is a Java program. Java Runtime Environment (JRE)
90-
1.6 or newer version is recommended to run Selenium server.
100+
Selenium server is a Java program. Java Runtime Environment (JRE) 1.6
101+
or newer version is recommended to run Selenium server.
91102

92103
You can download Selenium server 2.x from the `download page of
93104
selenium website <http://seleniumhq.org/download/>`_. The file name

0 commit comments

Comments
 (0)