I\'ve got some tests where I\'m checking that the proper error message appears when text in certain fields are invalid. One check for validity is that a certain textarea el
In my experience, this turned out to be the most efficient
driver.find_element_by_css_selector('foo').send_keys(u'\ue009' + u'\ue003')
We are sending Ctrl + Backspace to delete all characters from the input, you can also replace backspace with delete.
EDIT: removed Keys dependency