This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
clear() or sendKeys('') not working on input types: date, time, datetime-local, month, or week #562
Open
Description
This directly relates to the documentation tests on a pull request on the Angular.js project: angular/angular.js#5864
For now I'm going to work around it, I guess. But the issue seems to be that due to the custom controls in browsers like Chrome, protractor simply doesn't know what to do to interact with them in order to clear them. It's sort of late, and I haven't dug any further into than that for now.
I did, however see a few StackOverflow questions that seemed to relate, although none of the workarounds I found there worked.
http://stackoverflow.com/questions/15360362/clear-date-input-fails-on-chromewebdriver
Also possibly related?