I'm now using WebdriverIO
and developing a web app.
these days I tried to set a date from input type="date"
, I got errors
invalid element state: Element must be user-editable in order to clear it.
and found that
I could get rid of the errors by using addValue()
but still the value won't be cleared by any API.
client.clearElement('#deadline')
Also get
invalid element state: Element must be user-editable in order to clear it.
How can I remove the value from the form?