Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 dtmilano 的 androidviewclient,它工作得很好。
我需要知道如何等待特定视图出现在屏幕上然后采取行动?
我正在使用 getandroidview() 但无法理解其正确实现。
请帮助我解决这个问题。
最简单的方法是:
... while True: vc.dump() if vc.findViewWithText('Hello World!'): # do something pass else: time.sleep(5)