Skip to content

Commit

Permalink
When passing in text to send_keys, make sure we send a string not a…
Browse files Browse the repository at this point in the history
…rray
  • Loading branch information
AutomatedTester committed Mar 28, 2017
1 parent 340486c commit f465781
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/selenium/webdriver/remote/webelement.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,8 @@ def send_keys(self, *value):
value = self._upload(local_file)

self._execute(Command.SEND_KEYS_TO_ELEMENT,
{'text': keys_to_typing(value), 'value': keys_to_typing(value)})
{'text': "".join(keys_to_typing(value)),
'value': keys_to_typing(value)})

# RenderedWebElement Items
def is_displayed(self):
Expand Down

0 comments on commit f465781

Please sign in to comment.