title: Selenium - Searching Element by xPath is not found during execution but it is found on Browser
body: <p>I use chrome driver and selenium with java. </p>
  
  <p>This is on my java code. It is executed while I am on that specific page I am interested in.</p>
  
  <pre><code>driver.findElement(By.xpath("//input[@name='firstName']")).sendKeys("John");
  </code></pre>
  
  <p>This is on the website, on that specific page.</p>
  
  <pre><code>&lt;input type="text" id="fname" name="firstName" placeholder="First Name" data-reactid="...."&gt;
  </code></pre>
  
  <p>the problem is not even about setting the text to the input, it is that it doesn't find the input field at all. Here is the error</p>
  
  <pre><code>org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@name='firstName']"}
  Command duration or timeout: 20.04 seconds
  For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
  Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40'
  </code></pre>
  
  <p>As you can see from the error I have implicit wait of 20 seconds and I can see that the page and fields have loaded during that time.</p>
  
  <p>So the weird thing is that when I open chrome and inspect element and search by xPath, with the same exact command I can find the field (On the same page that my java crashed on the same chrome window). I can find all other elements except from the input field. </p>
  
  <p>Is there any way to troubleshoot this? Are input fields not supported this way through selenium?! I am not sure what to assume, any ideas greatly appreciated!</p>