mercredi 31 décembre 2014

How to determine if is disabled

Protractor has the nifty isEnabled() function for elements. Though it works great for <button>, it isn't doing the trick for <a> elements.


I can easily check the disabled or ng-disabled attribute, but is there a cleaner way?


Aucun commentaire:

Enregistrer un commentaire