jnicklas/capybara — Issue #554: Filling in HTML5 date/time fields throws a Selenium::WebDriver::Error::InvalidElementStateError
Author: jayzes
Created: 2011-11-30 00:08:01+00:00
State: open

Seems like this is related to #541 - at least with Chrome/chromedriver, trying to fill in a date or time input results in a WebDriver exception:

Element cannot contain user-editable text (Selenium::WebDriver::Error::InvalidElementStateError)

Adding a similar switch to not call #clear on date/time elements seems to fix it. I'll try to put together a patch/pull request together for this tonight.