Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Selenium2Library/keywords/_formelement.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ def select_radio_button(self, group_name, value):
# Public, text fields

def choose_file(self, locator, file_path):
"""Inputs the `file_path` into file input field found by `identifier`.
"""Inputs the `file_path` into file input field found by `locator`.

This keyword is most often used to input files into upload forms.
The file specified with `file_path` must be available on the same host
The file specified with `file_path` must be available on the same host
where the Selenium Server is running.

Example:
Expand Down Expand Up @@ -271,7 +271,7 @@ def textarea_should_contain(self, locator, expected, message=''):
else:
raise ValueError("Element locator '" + locator + "' did not match any elements.")
self._info("Text area '%s' contains text '%s'." % (locator, expected))

def textarea_value_should_be(self, locator, expected, message=''):
"""Verifies the value in text area identified by `locator` is exactly `expected`.

Expand All @@ -290,7 +290,7 @@ def textarea_value_should_be(self, locator, expected, message=''):
else:
raise ValueError("Element locator '" + locator + "' did not match any elements.")
self._info("Content of text area '%s' is '%s'." % (locator, expected))

# Public, buttons

def click_button(self, locator):
Expand Down