@@ -64,7 +64,7 @@ possible to test keyboard shortcuts such as those used on GMail. A
6464side-effect of this is that typing something into a text field won't
6565automatically clear it. Instead, what you type will be appended to
6666what's already there. You can easily clear the contents of a text
67- field or textarea with `clear ` method::
67+ field or textarea with the `clear ` method::
6868
6969 element.clear()
7070
@@ -73,7 +73,7 @@ Filling in forms
7373~~~~~~~~~~~~~~~~
7474
7575We've already seen how to enter text into a textarea or text field,
76- but what about the other elements? You can "toggle" the state of
76+ but what about the other elements? You can "toggle" the state of the
7777drop down, and you can use "setSelected" to set something like an
7878`OPTION ` tag selected. Dealing with `SELECT ` tags isn't too bad::
7979
@@ -88,8 +88,8 @@ through each of it's OPTIONs in turn, printing out their values, and
8888selecting each in turn.
8989
9090As you can see, this isn't the most efficient
91- way of dealing with SELECT elements . WebDriver's support classes
92- include one called "Select", which provides useful methods for
91+ way of dealing with SELECT elements. WebDriver's support classes
92+ include one called a "Select", which provides useful methods for
9393interacting with these::
9494
9595 from selenium.webdriver.support.ui import Select
@@ -188,12 +188,12 @@ Popup dialogs
188188~~~~~~~~~~~~~
189189
190190Selenium WebDriver has built-in support for handling popup dialog
191- boxes. After you've triggerd action that would open a popup, you
191+ boxes. After you've triggered action that would open a popup, you
192192can access the alert with the following::
193193
194194 alert = driver.switch_to_alert()
195195
196- This will return the currently open alert object. With this object
196+ This will return the currently open alert object. With this object,
197197you can now accept, dismiss, read its contents or even type into a
198198prompt. This interface works equally well on alerts, confirms,
199199prompts. Refer to the API documentation for more information.
@@ -209,14 +209,14 @@ useful task. To navigate to a page, you can use `get` method::
209209
210210 driver.get("http://www.example.com")
211211
212- To move backwards and forwards in your browser's history::
212+ To move backward and forward in your browser's history::
213213
214214 driver.forward()
215215 driver.back()
216216
217217Please be aware that this functionality depends entirely on the
218218underlying driver. It's just possible that something unexpected may
219- happen when you call these methods if you're used to the behaviour of
219+ happen when you call these methods if you're used to the behavior of
220220one browser over another.
221221
222222
0 commit comments