
Can anyone say , how to get the current Date from this Dropdown Box. From should be the yesterday date and To should be the current date. I have given the code below .

when I run it , it shows an error message like this ,
Form field with selector 'div[Id="pageContent"] > div[Class="row pt-3 ng-scope"] > div > div[Class="col-md-3 col-sm-3 col-xs-12 pull-right input-prepend mb-0 ng-isolate-scope"] > input[Class="form-control has-feedback-left ng-pristine ng-valid ng-isolate-scope ng-not-empty ng-valid-min ng-valid-max ng-touched"][Name="name"]' not found.