selenium check if button is inactive 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();