title: How to read a textbox value from a playwright
body: <p>I have input text field on the page with id &quot;email30&quot; and I am trying to read it's value from Playwright</p>
  <pre><code>  let dd_handle = await page.$(&quot;#email30&quot;);
    let value = await dd_handle.getAttribute(&quot;value&quot;);
  </code></pre>
  <p>However it come back &quot;&quot; although I have a value inside the input text. When I inspect I don't see the value attribute is set to a current value either.</p>
  <p>Normal JS code as following gives me correct value</p>
  <pre><code>document.getElementById(&quot;email30&quot;).value
  </code></pre>
  <p>Not sure how I can read value from the playwright framework. Can any one please advise? Their documents are quite not helpful here.</p>