Open aavuzb opened 1 year ago
You can do this is to modify the input_policy.py (e.g. https://github.com/honeynet/droidbot/blob/c958a0b5281d5354a230b3b72c724f4e206f3f46/droidbot/input_policy.py#L371), in which you can add the logic to break the loop when there is no UI state to explore.
I don't intend to add this in the main branch because this doesn't seem like a common feature.
Hello. Let me ask a question about closing or stopping apk and device automatically when all objects on screen are touched. So, I am testing a simple apk using Droidbot. However, even all buttons or objects are explored (there is no new object), DroidBot doesn't finish exploring automatically. If I set a time, DroidBot finishes exploring when time is ended, however without setting time, DroidBot doesn't stop apk and device automatically.
Thank you