title: Element not visible - Selenium - Java Webdriver
body: <p>I'm trying to fill a form on a website and I am unable to find the element that is listed in the code.  </p>
  
  <p>My code:</p>
  
  <pre><code>new WebDriverWait(driver, 30).until(ExpectedConditions.visibilityOfElementLocated(By.xpath("/html/body/div[1]/form/div/div/input[1]")));
          driver.findElement(By.xpath("/html/body/div[1]/form/div/div/input[1]")).sendKeys("TEST");
  </code></pre>
  
  <p>Relative website code:</p>
  
  <pre><code>&lt;body&gt;
     &lt;div id="pf_form" class="pf_formcontainer"&gt;
     &lt;form id="PF_1" class="form formBoxShadow" style="height: 1600px; width: 
        1800px; display: block; left: 0px; top: 30px;"&gt;
     &lt;div id="PF_4Container" class="PageContainer" style="left:0px;top:0px;z-
        index:0;position:absolute"&gt;
     &lt;div id="PF_4" class="page" tabindex="" name="PF_4" style="width: 1800px; 
        height: 1600px; background-color: rgb(255, 255, 255); display: block;"&gt;
     &lt;input id="PF_5" class="textinput" name="PF_5" maxlength="99" value="" 
        onclick="return false;" style="left: 169px; top: 107px; z-index: 6; height: 
        18px; line-height: 18px; width: 206px; display: block;" type="text"&gt;
     ...
  </code></pre>
  
  <p>I've tried to change to the frame PF_4 and PF_4Container, no luck there. I've tried to find it by ID and other means but this one is kicking my butt.</p>
  
  <p>The form is publicly visible here <a href="http://app.perfectforms.com/PresentationServer/Form.aspx/Play/FdjigAcE?f=FdjigAcE" rel="nofollow noreferrer">http://app.perfectforms.com/PresentationServer/Form.aspx/Play/FdjigAcE?f=FdjigAcE</a></p>
  
  <p>Any guidance would be greatly appreciated.  I've been trying to resolve this for weeks now.</p>