Protractor has the nifty isEnabled() function for elements. Though it works great for <button>, it isn't doing the trick for <a> elements.
isEnabled()
<button>
<a>
I can easily check the disabled or ng-disabled attribute, but is there a cleaner way?
disabled
ng-disabled
Aucun commentaire:
Enregistrer un commentaire