Hello Playwright experts,
I have this input field
<input id="myName" placeholder="e.g. Max" maxlength="15" class="xyz"/>
I have tried this JAVA code:
page.locator("[placeholder=\"e.g. Max\"]").textContent();
It does not work :-( but I can fill
page.locator("[placeholder=\"e.g. Max\"]").fill("Loren"); // this works
Could you help and has an idea?
Thank you in advance.
Cheers Loren