title: Selenium driver find element not working
body: <p>Selenium web driver finds element unable to find input field on the web page I tried this each and every option <code>XPath</code>, by <code>CSS</code>, by name. the testing site on the local environment.</p>
  
  <p>HTML: </p>
  
  <pre><code>&lt;input class="form-control ng-pristine ng-untouched ng-valid ng-empty" ng-model="email" placeholder="Username" aria-describedby="username" type="text"&gt;
  </code></pre>
  
  <blockquote>
    <p>xpath:</p>
    
    <p>/html/body/div[2]/div/div/div[1]/div/div/div[2]/div/form/div[2]/div/div/input</p>
    
    <p>css selector: </p>
    
    <p>html.no-js.ng-scope body.pace-done.full-width div#wrapper
    div.page-wrapper.white-bg.ng-scope
    div.wrapper.wrapper-content.ng-scope div.login-bg.ng-scope
    div.container div.row
    div.col-sm-6.col-sm-offset-3.col-md-4.col-md-offset-4 div.login-form
    form.ng-pristine.ng-valid div.col-sm-12.plr10px div.form-group
    div.input-group
    input.form-control.ng-pristine.ng-untouched.ng-valid.ng-empty</p>
  </blockquote>
  
  <p><code>driver.findElement(By.name("username"))</code></p>