From afc6b89b4c5d6867dc05a70aeb2dbb8747e5dcd9 Mon Sep 17 00:00:00 2001 From: zephraph Date: Tue, 5 May 2015 09:47:34 -0500 Subject: [PATCH] Fixes #388 --- src/Selenium2Library/keywords/_formelement.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Selenium2Library/keywords/_formelement.py b/src/Selenium2Library/keywords/_formelement.py index 99b23094d..1bc567a53 100644 --- a/src/Selenium2Library/keywords/_formelement.py +++ b/src/Selenium2Library/keywords/_formelement.py @@ -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: @@ -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`. @@ -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):