check if button is enabled or disabled python code example
Example: verify that a button is enabled to be clicked selenium
WebElement button = driver.findElement(SELECTOR)
boolean result = button.isEnable();
WebElement button = driver.findElement(SELECTOR)
boolean result = button.isEnable();