How to verify whether an element is enabled or not?
Question
How to verify whether an element is enabled or not?
Answer
To verify whether an element is enabled or not, we use isEnabled() method in Protractor. isEnabled() method returns a Boolean value based on the state of the element. It returns true if the element is enabled and false if the element is not enabled.