title: How to type some text in hidden field in Selenium WebDriver using PHP?
body: <p>I am using WebDriver with PHP for data parse. I have the following HTML code for input field which is hidden:</p>
  <pre><code>&lt;input class=&quot;&quot; data-id=&quot;6&quot; type=&quot;hidden&quot; name=&quot;login&quot;&gt;
  </code></pre>
  <p>How to type something in hidden field in Selenium Grid 4 (+php-webdriver)? I have written this code:</p>
  <pre><code>$driver-&gt;findElement(WebDriverBy::cssSelector('input[data-id=&quot;6&quot;]'))-&gt;sendKeys('my_login');
  </code></pre>
  <p>but it doesn't work</p>