title: Selenium: How do I use javascript to clear a value from a form field?
body: <p>I'm using the selenium IDE and the Selenium-Fitnesse Bridge fixture and I'm trying to test that when I clear a default value out of a form field, my form displays an error message.</p>
  
  <p>So when I record with the Selenium IDE, what it does is the equivalent of telling Selenium to type nothing.</p>
  
  <pre>| type | text_field |  |</pre>
  
  <p>The problem with this is that the Fitnesse fixture I'm using expects that second argument to not be null.</p>
  
  <p>Is there a way in Selenium to "clear a value" rather than "typing nothing"?</p>