title: How to find element of textfield with selenium WebDriver?
body: <p>I have already an example with google. Explain me please, what means <code>.findElement(By.name("q"));</code> how do WD understand that it's text field?</p>
  
  <pre><code> WebDriver driver = new HtmlUnitDriver();
  
          // And now use this to visit Google
          driver.get("http://www.google.com");
  
          // Find the text input element by its name
          WebElement element = driver.findElement(By.name("q"));
  </code></pre>