title: How to clear the default value entered in calendar box and send a new date of birth
body: <p>I want to sendKeys in the calendar box but there is a default value in that box</p>
  
  <p>I tried to clear it before sendKeys but it is not working</p>
  
  <p>My code:</p>
  
  <pre><code>Actions actions = new Actions(driver);
                              actions.moveToElement(driver.findElement(By.xpath("//*[@id='dateOfBirth']")));
                              actions.click();
                              actions. clear();
                              Thread.sleep(3000);     
                              actions.sendKeys("07-12-2018");
                              actions.sendKeys(Keys.TAB);
                          actions.build().perform();
  </code></pre>
  
  <p>Please help me how to clear the box</p>
  
  <p>HTML Code:</p>
  
  <pre><code>&lt;input type="text" value="07-14-1993" id="dateOfBirth" class="react-datepicker-ignore-onclickoutside"&gt;
  </code></pre>