We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c25a3e5 commit 5f3f142Copy full SHA for 5f3f142
uiautomator2/core.py
@@ -50,9 +50,8 @@ def output(self) -> bytes:
50
""" subprocess do not have this property """
51
return self._output
52
53
- def wait(self) -> int:
54
- self._event.wait()
55
- return 0
+ def wait(self) -> bool:
+ return self._event.wait(timeout=3)
56
57
def pool(self) -> Optional[int]:
58
if self._event.is_set():
0 commit comments