How to test a Angular js date picker from Protractor
<p>I'm new to Protractor and here I'm trying to test an angularjs date picker from Protractor.</p>

<p>I tried to find a way to do this and <a href="https://www.npmjs.com/package/protractor-angulardatepicker" rel="noreferrer">this article</a> was the only thing I found and It is not very clear to use</p>

<p>If someone know how to test please help.</p>

<p><strong>What I need is to select today's date.</strong> </p>

<p>Thanks in advance :)</p>

<ul>
<li>edit - </li>
</ul>

<p>alecxe, here is the screen shot of my date picker. Unfortunately cannot provide the link of the page. :(</p>

<p><a href="https://i.stack.imgur.com/KhXiH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KhXiH.png" alt="date picker"></a></p>

<pre><code>&lt;input 
       class="form-control ng-pristine ng-valid ng-not-empty ng-touched" 
       ng-model="invoice.fromdate" 
       data-date-format="yyyy-MM-dd" 
       data-date-type="string" 
       data-max-="" data-autoclose="1" 
       bs-datepicker="" 
       ng-change="dateRange()" 
       type="text"&gt;
</code></pre>