behave_manners.pagelems.exceptions module¶
-
exception
CAssertionError(arg, component=None)¶ Bases:
AssertionError,behave_manners.pagelems.exceptions.ComponentException
-
exception
CAttributeError(arg, msg=None, component=None)¶ Bases:
AttributeError,behave_manners.pagelems.exceptions.ComponentException
-
exception
CAttributeNoElementError(arg, msg=None, component=None)¶ Bases:
behave_manners.pagelems.exceptions.CAttributeErrorRaised when component attribute cannot be retrieved because of missing element
Special case of CAttributeError, may need to be handled explicitly. Implies NoSuchElementException from remote DOM.
-
exception
CKeyError(arg, msg=None, component=None)¶ Bases:
KeyError,behave_manners.pagelems.exceptions.ComponentException
-
exception
CValueError(arg, component=None)¶ Bases:
ValueError,behave_manners.pagelems.exceptions.ComponentException
-
class
ComponentException(component=None, msg=None)¶ Bases:
objectMixin for exceptions that can refer to faulty component
The component would be an instance of ComponentProxy
-
exception
ElementNotFound(msg=None, screen=None, stacktrace=None, parent=None, selector=None, pagelem_name=None)¶ Bases:
selenium.common.exceptions.NoSuchElementExceptionRaised when a WebElement cannot locate a child, refers to that parent
-
pretty_parent¶ String of parent element, in pretty format
-
-
exception
PageNotReady¶ Bases:
AssertionErrorRaised when browser has not finished rendering/settled the page
-
exception
Timeout¶ Bases:
AssertionErrorRaised when any action or element fails to respond in time
-
exception
UnwantedElement(msg=None, screen=None, stacktrace=None)¶ Bases:
selenium.common.exceptions.NoSuchElementException