'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
where the Selenium Server is running.
Example:
| Choose File | my_upload_field | /home/user/files/trades.csv |'

@keyword
def choose_file(self, locator, file_path):

    if (not os.path.isfile(file_path)):
        raise AssertionError(("File    '%s'    does    not    exist    on    the    local    file    system" % file_path))
    self.find_element(locator).send_keys(file_path)
