title: selenium clear() command doesn't clear the element
body: <p>I have been writing selenium scripts for a while in Java. I encountered a very weird issue today. Here is the issue:</p>
  <p>I cleared a text field using webelement.clear() method, later while executing next command (click event), the text area I had previously cleared, is now populated with previously filled value.</p>
  <p>Here is the code snippet:</p>
  <pre><code>mobileNumField.get(0).clear();
  Thread.sleep(4500);
  emailAddress.get(0).click();
  emailAddress.get(0).clear();
  Thread.sleep(4500);
  emailAddress.get(0).sendKeys(Keys.TAB);
  </code></pre>