(proxy, *args, **kwargs)
| 19 | def wait(func): |
| 20 | @wraps(func) |
| 21 | def wrapped(proxy, *args, **kwargs): |
| 22 | try: |
| 23 | return func(proxy, *args, **kwargs) |
| 24 | except PocoNoSuchNodeException as e: |
| 25 | try: |
| 26 | proxy.wait_for_appearance(timeout=proxy.poco._pre_action_wait_for_appearance) |
| 27 | return func(proxy, *args, **kwargs) |
| 28 | except PocoTargetTimeout: |
| 29 | raise e |
| 30 | |
| 31 | return wrapped |
| 32 |
nothing calls this directly
no test coverage detected