Sending a key to an element 15/01/2013
# Using send_keys to submit information
browser.text_field(id: 'email').send_keys(:enter)

# Use send_keys to scroll a page down in a text area element
browser.textarea(id: 'document').send_keys(:page_down)

One way to send input or other special characters to an element on the page is to use the send_key command.

A full list of keys that can be used can be found from

Selenium documentation