Do you know how to check if a button is enabled on the page?

Submitted by: Muhammad
isEnabled() method could be used for it:

driver.findElement(By.id(“id_of_element”)).isEnabled();
Submitted by: Muhammad

Read Online Automation Job Interview Questions And Answers