title: Configuration of Selenium 2 (WebDriver), using IE and upload file with WebDriver
body: <p>How do I configure Selenium WebDriver? I have automated test cases using Selenium with Java. Now I need to automate upload and download of a file using WebDriver. I had added webdriver-common-0.9.7376.jar. I like to use Internet Explorer. How can I do that?</p>
  
  <p>I'm just declaring variable and using driver</p>
  
  <pre><code>private static WebDriver driver;
  driver.findElement(By.id(upload)).sendKeys("file to be upload");
  </code></pre>
  
  <p>Is this correct?</p>