Clear date input fails on chromewebdriver
As a workaround you can select the webElement representing the input field and perform a
webElement.SendKeys(Keys.Delete);
to clear the field.
Sometimes you can change the xpath a bit and get to the point that it works:
For example for this piece of DOM:<tr class="table-filters"><td><input type="text" value=""></td></tr>
if you use:
wait.until(ExpectedConditions.visibilityOfElementLocated(By
.xpath("//tr[@class='table-filters']//td"))).clear();
it will not work, but:
wait.until(ExpectedConditions.visibilityOfElementLocated(By
.xpath("//tr[@class='table-filters']//td//input"))).clear();
Works.