title: Java Selenium WebDriver Can't find form field
body: <p>I'm testing a registration page and I've tried name, xpath, id, class and nothing seems to work.</p>
  
  <p>here is my selenium code</p>
  
  <pre><code>  driver.findElement(By.id("pushMenu")).click();
      Thread.sleep(2000);
      driver.findElement(By.linkText("Register")).click();
      Thread.sleep(2000);
      WebElement l = driver.findElement(By.name("name"));
  </code></pre>
  
  <p>and here is the form tag I'm trying to access</p>
  
  <pre><code>&lt;input type="text" name="name" placeholder=""&gt;
  </code></pre>
  
  <p>explicit wait attempt code:</p>
  
  <pre><code> WebDriverWait wait = new WebDriverWait(driver, 10);
      WebElement element = wait.until(ExpectedConditions.elementToBeClickable(By.name("name")));
      driver.findElement(By.name("name")).sendKeys("Testing100");
  </code></pre>