MCPcopy Create free account
hub / github.com/AirtestProject/Poco / PocoTargetTimeout

Class PocoTargetTimeout

poco/exceptions.py:46–54  ·  view source on GitHub ↗

Raised when the timeout expired while waiting for some condition to be fulfilled, e.g. waiting for the specific UI element but it has not appeared on the screen.

Source from the content-addressed store, hash-verified

44
45
46class PocoTargetTimeout(PocoException):
47 """
48 Raised when the timeout expired while waiting for some condition to be fulfilled, e.g. waiting for the specific
49 UI element but it has not appeared on the screen.
50 """
51
52 def __init__(self, action, poco_obj_proxy):
53 super(PocoTargetTimeout, self).__init__()
54 self.message = 'Waiting timeout for {} of "{}"'.format(action, to_text(repr(poco_obj_proxy)))
55
56
57class PocoNoSuchNodeException(PocoException):

Callers 5

dismissMethod · 0.90
wait_for_appearanceMethod · 0.90
wait_for_anyMethod · 0.85
wait_for_allMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected