def ifchecked(self,Element): return Element.get_attribute('checked')
def gettext(self,Element): return Element.get_attribute('text')
def cleartext(self,Element): s=Element.get_attribute('text') if s: Element.clear() self.cleartext(Element)