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

Skip to content

Commit 6a8866a

Browse files
committed
whitespace fixes
1 parent 513415f commit 6a8866a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

source/getting-started.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ Using Selenium to write tests
9696

9797
Selenium is mostly used for writing test cases. The `selenium` package itself
9898
doesn't provide a testing tool/framework. You can write test cases using
99-
Python's unittest module. The other options for a tool/framework are `pytest <https://docs.pytest.org/en/stable/>`_
100-
and `nose <https://nose.readthedocs.io/en/latest/>`_.
99+
Python's unittest module. The other options for a tool/framework are `pytest
100+
<https://docs.pytest.org/en/stable/>`_ and `nose
101+
<https://nose.readthedocs.io/en/latest/>`_.
101102

102103
In this chapter, we use `unittest` as the framework of choice. Here is the
103104
modified example which uses unittest module. This is a test for `python.org`
@@ -140,8 +141,8 @@ You can run the above test case from a shell like this::
140141

141142
The above result shows that the test has been successfully completed.
142143

143-
Note: To run the above test in IPython or Jupyter, you should pass a couple of arguments to the `main` function as shown below:
144-
::
144+
Note: To run the above test in IPython or Jupyter, you should pass a couple of
145+
arguments to the `main` function as shown below::
145146

146147
unittest.main(argv=['first-arg-is-ignored'], exit=False)
147148
@@ -190,7 +191,7 @@ to the driver object created in `setUp` method.
190191

191192
The `driver.get` method will navigate to a page given by the URL. WebDriver
192193
will wait until the page has fully loaded (that is, the "onload" event has
193-
fired) before returning control to your test or script. *Be aware that if your
194+
fired) before returning control to your test or script. *Be aware that if your
194195
page uses a lot of AJAX on load then WebDriver may not know when it has
195196
completely loaded*::
196197

source/page-objects.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Test case
1919
~~~~~~~~~
2020

2121
Here is a test case that searches for a word on the `python.org` website and
22-
ensures some results. The following section will introduce the `page` module
22+
ensures some results. The following section will introduce the `page` module
2323
where the page objects will be defined.
2424

2525
::

0 commit comments

Comments
 (0)