title: Get text from silenium php-webdriver from hidden form value
body: <p>I am using php-webdriver (facebook) and wait 90 seconds for a webpage where name="mdn" is found by following code. This works well but after this I would like to get the text of name="mdn". The hidden form field has a value but on $number there is no value. Does somebody know whats wrong?</p>
  
  <p>Test.php:</p>
  
  <pre><code>$driver-&gt;wait(90, 10000)-&gt;until(
      WebDriverExpectedCondition::presenceOfAllElementsLocatedBy(
          WebDriverBy::name('mdn')
      )
  );
  
  $number= $driver-&gt;findElement(WebDriverBy::name('mdn'))-&gt;getText();
  </code></pre>
  
  <p>Page:</p>
  
  <pre><code>&lt;div  id="main content"  align="center" class="mainCon"&gt;
    &lt;div class="mainBG1"&gt;
      &lt;table width="900" cellspacing="0" cellpadding="0"&gt;
        &lt;tr&gt;
          &lt;td width="650" valign="top"&gt;
            &lt;div  class="paddingT20 paddingB20" style="font-family:'Oswald', sans-serif;  font-weight:normal; font-size:35px"&gt;xxxxxxx Completed&lt;/div&gt;
            &lt;form method="post" action="xxxxxxxxxxxxxxxxxxxxxx" target="_blank"&gt;
              &lt;input type="hidden" name="trans_id" value="1234567" /&gt;
              &lt;input type="hidden" name="mdn" value="1234567890" /&gt;
              &lt;input type="hidden" name="bal" value="" /&gt;
              &lt;input type="hidden" name="exp" value="" /&gt;
              &lt;input type="hidden" name="note" value="" /&gt;
              &lt;table width="40%" border="0" cellspacing="0" cellpadding="0"&gt;
                &lt;tr&gt;
                  &lt;td colspan="2" class="dv-R"&gt;&amp;nbsp;&lt;/td&gt;
                &lt;/tr&gt;
                      &lt;tr&gt;
                  &lt;td width="40%" class="dv-L"&gt;MDN&lt;/td&gt;
                  &lt;td width="60%" class="dv-R"&gt;6142086840&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                  &lt;td width="32%" class="dv-L"&gt;&amp;nbsp;&lt;/td&gt;
                  &lt;td width="68%" class="dv-R"&gt;&lt;input type="image" value="Print"  src="images/xxxxx.png" /&gt;&lt;/td&gt;
                &lt;/tr&gt;
              &lt;/table&gt;
              &lt;div class="InfoGr paddingT20 paddingB20"&gt;&lt;/div&gt;&lt;br/&gt; 
                  &lt;/p&gt;
            &lt;/form&gt;   
            &lt;div class="paddingB40"&gt;&lt;/div&gt;      
          &lt;/td&gt;
          &lt;td valign="top" bgcolor="#e2e2e2"&gt;&amp;nbsp;&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>