Just I am trying to get entered text from the text field when value is empty.
Below is my HTML:
<input type="text" style="width: 203px" value="" maxlength="32" name="firstName"/>
I tried using getAttribute("value") but it didn't work. Please suggest how to do it using selenium webdriver with java.
Also screenshot attached.