title: Selenium issue in using a function argument for send_keys value
body: <p>My issue involves using Selenium to take the values of a list and passing them to a WebElement with send_keys. </p>
  
  <p>assuming <code>list_item_1</code> and <code>list_item_2</code> were imported via spreadsheet and <code>arg_1</code> and <code>arg_2</code> are a specific item of each list:</p>
  
  <pre><code>def run(arg_1, arg_2):
    driver.get(URL_TO_SITE)
    form_element_1 = driver.find_element_by_id('ELEMENT_ID')
    form_element_2 = driver.find_element_by_id('ELEMENT_ID')
  
    form_element_1.send_keys(arg_1)
    form_element_2.send_keys(arg_2)
    ...
    action.perform()
  </code></pre>
  
  <p>Running this gives the error:</p>
  
  <blockquote>
    <p>File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/selenium/webdriver/remote/webelement.py", </p>
    
    <p>line 326, in send_keys
    for i in range(len(val)):</p>
    
    <p>TypeError: object of type 'WebElement' has no len()</p>
  </blockquote>
  
  <p>This seems to be a problem isolated to using function arguments as the <code>send_keys</code> argument. Is there a workaround here?</p>