def AbsenceOfElement(self, wmd): caller = DynamicCaller( self.container._element_finder.check_for_absence, self.container.dispatcher.find_element, wmd, context="ELEMENT") return CommandCondition(caller)
def PresenceOfMultiElement(self, gui_element): caller = DynamicCaller( self.container.element_finder.find, self.container.dispatcher.find_multielement, gui_element.lmd, context = "MULTI_ELEMENT" ) return CommandCondition(caller)
def PresenceOfElement(self, gui_element): caller = DynamicCaller( self.container._element_finder.find, self.__container.dispatcher.find_element, gui_element._wmd, context = "ELEMENT" ) return CommandCondition(caller)
def SetText(self, text): caller = DynamicCaller( self.__element._only_set_text, text, ) return CommandCondition(caller)
def Click(self): caller = DynamicCaller(self.__element._only_click) return CommandCondition(caller)
def Hover(self): caller = DynamicCaller(self.__element._only_hover) return CommandCondition(caller)
def IsClickable(self): caller = DynamicCaller(self.element.is_clickable) return BooleanCondition(caller, True)
def IsVisible(self): caller = DynamicCaller(self.element.is_visible) return BooleanCondition(caller, True)
def IsSelected(self): caller = DynamicCaller(self.element.is_selected) return BooleanCondition(caller, True)
def ReceiveEmail(self, *vargs, **kwargs): caller = DynamicCaller(self.__mailbox._search, *vargs, **kwargs) return CommandCondition(caller)
def Select(self): caller = DynamicCaller(self.__mailbox._select) return CommandCondition(caller)