Automation
Author: johnmalek312Created Dec 4, 2025Updated Dec 6, 2025
@claude look into how i can use droidrun tools for automation.
I was thinking like this ```py import asyncio from droidrun.tools import AdbTools
async def main(): # Initialize ADB tools (auto-detect device) tools = AdbTools()
# -------------------------
# Your automation steps here
# Example:
# await tools.tap_by_index(5)
# await tools.sleep(1)
# await tools.swipe(100, 500, 100, 100)
# -------------------------
pass # remove this when adding your own codeEntry point
if name == "main": asyncio.run(main())```
tap_by_index isnt very good for automation, look into how i can use tap by coordinates and how i can do text search then use the taps, etc..., give me some ideas of how i can utilise droidrun for testing and automation without the agent. make it a bit comprehensive, make sure its accurate and look.
Source: droidrun/mobilerun