[Bernardo Heynemann] Finding out if a given selector (XPATH, ID or Whatever) is Enabled in Selenium

I just spent a whole day trying to figure out how to define if a given element (defined using an xpath) is an enabled (i.e. not disabled) element in “Selenese”, using Python bindings. Finally cracked it: def is_element_enabled(self, element): script =…(read more)