title: Finding an element using placeholder in Protractor?
body: <pre><code>&lt;input _ngcontent-c6="" formcontrolname="password" 
      name="password" onblur="this.placeholder = 'Password'" 
      onfocus="this.placeholder = ''" 
      placeholder="Password" 
      required="" type="password" 
      ng-reflect-required="" ng-reflect-name="password" 
      class="ng-pristine ng-invalid ng-touched"&gt; 
  </code></pre>
  
  <p>What is the best way to find an element: <code>placeholder = "Enter Username"</code>?</p>
  
  <p><strong>Scenario:</strong> find an element using Snippet above User clicks on the <code>"Enter Name"</code> box, another window pops-up for entering a name.</p>