mardi 28 juillet 2015

How to use protractor to verify if two spans are equal in different locations?

<span ng-bind="locations.selectedCount" class="ng-binding">1005</span>

<span ng-bind="locations.selectedCount" class="ng-binding">1005</span>

How would I verify through protractor that the value of these two spans are the same when one span is under an tag while the other is under a label tag in different places?

is it using the 'equal' element?

Aucun commentaire:

Enregistrer un commentaire