title: Selenium add a HTML tag to a form
body: <p>So I want to add a value to be passed within a form  that exists on a page submit.</p>
  
  <pre><code>WebDriver driver = new HtmlUnitDriver();
  driver.get("http://siteWithForm.com");
  // Find the text input element by its name
  WebElement form = driver.findElement(By.id("reply_form"));
  </code></pre>
  
  <p>I want to add a checkbox into the form before I submit.</p>
  
  <pre><code>&lt;input type="checkbox" tabindex="25" name="self_copy" value="1" id="copy_message"&gt;
  </code></pre>
  
  <p>Seems like I should be doing something with JavascriptExecutor possibly?</p>