How does selenium webdriver decide whether a button is enabled or disabled? I have used the isEnabled() method for two buttons - one enabled and the other disabled but i
isEnabled() is a good answer, but it has recently been updated to just Enabled, as a getter on the IWebElement.
isEnabled()
Enabled
IWebElement
Example:
Driver.findElement(By.Class("example-class-name")).Enabled
Cheers!