How to check if an element is clickable or not using Selenium WebDriver


I have a container, which contains number of elements.I am looping thru the elements.
My question is what is the syntax for checking if the element is NOT clickable.

Best Solution

Following should make it work -

element.is_displayed() and element.is_enabled()

This code is in Python. You can change it to the language of your choice.