I have input text field on the page with id "email30" and I am trying to read it's value from Playwright
let dd_handle = await page.$("#email30");
let value = await dd_handle.getAttribute("value");
However it come back "" 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.
Normal JS code as following gives me correct value
document.getElementById("email30").value
Not sure how I can read value from the playwright framework. Can any one please advise? Their documents are quite not helpful here.