How can we check if an element is enabled for interaction on a web page?

How can we check if an element is enabled for interaction on a web page?

Hello Tim-khorev,

Using the is Enabled method, we can check if an element is enabled or not.

driver.findElement(By locator).isEnabled();