Skip to content

Commit 1d16762

Browse files
committed
Merge pull request #385 from zephraph/fix-#388
Fixes #388
2 parents 8fc2134 + afc6b89 commit 1d16762

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Selenium2Library/keywords/_formelement.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ def select_radio_button(self, group_name, value):
165165
# Public, text fields
166166

167167
def choose_file(self, locator, file_path):
168-
"""Inputs the `file_path` into file input field found by `identifier`.
168+
"""Inputs the `file_path` into file input field found by `locator`.
169169
170170
This keyword is most often used to input files into upload forms.
171-
The file specified with `file_path` must be available on the same host
171+
The file specified with `file_path` must be available on the same host
172172
where the Selenium Server is running.
173173
174174
Example:
@@ -271,7 +271,7 @@ def textarea_should_contain(self, locator, expected, message=''):
271271
else:
272272
raise ValueError("Element locator '" + locator + "' did not match any elements.")
273273
self._info("Text area '%s' contains text '%s'." % (locator, expected))
274-
274+
275275
def textarea_value_should_be(self, locator, expected, message=''):
276276
"""Verifies the value in text area identified by `locator` is exactly `expected`.
277277
@@ -290,7 +290,7 @@ def textarea_value_should_be(self, locator, expected, message=''):
290290
else:
291291
raise ValueError("Element locator '" + locator + "' did not match any elements.")
292292
self._info("Content of text area '%s' is '%s'." % (locator, expected))
293-
293+
294294
# Public, buttons
295295

296296
def click_button(self, locator):

0 commit comments

Comments
 (0)