title: Unable to locate element by name
body: <p>Can someone please explain to me why Selenium webdriver can't be find by <code>name=userid</code>? </p>
  
  <pre><code>&lt;input class="required" type="text" size="15" maxlength="64" **name="userid"** 
  value="" style="background-color: rgb(255, 255, 255);"&gt;
  </code></pre>
  
  <p>My code: </p>
  
  <pre><code>driver.findElement(By.name("userid")).sendKeys(prop.getProperty("userName"));
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Unable to locate element: {"method":"name","selector":"userid"}
  </code></pre>