title: How to find placeholder value in Selenium
body: <p>I need to verify whether placeholder/helper text is displayed for a field.
  In this example it is Min. $50.00 
  I don't see any placeholder/helper text  attribute defined inside the div tags.
  My field looks like <a href="https://i.stack.imgur.com/7HRLX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7HRLX.png" alt="enter image description here"></a> . Displayed amount (in this example $50.00) is dynamic.
  Code for the above field looks like</p>
  
  <pre><code>&lt;div  class="unit" style="padding-left:32px;"&gt;
          &lt;input id="Amount" type="text" class="inputAlign optionalHintText" size="18" maxlength="30"/&gt;
          &lt;div id="sharesValueForPercent" class="TextMd"&gt;&lt;/div&gt; 
  &lt;/div&gt;
  </code></pre>
  
  <p>I tried different ways to get the text (Min$50.00). Can someone help me on this. Appreciate your response.</p>