webelem: Fix return value for is_editable().

This commit is contained in:
Florian Bruhin 2015-08-02 23:47:46 +02:00
parent 5c58641c81
commit 3d9e4817f2

View File

@ -241,6 +241,7 @@ class WebElementWrapper(collections.abc.MutableMapping):
for klass in self._elem.classes():
if any([klass.startswith(e) for e in div_classes]):
return True
return False
def is_editable(self, strict=False):
"""Check whether we should switch to insert mode for this element.