Skip to content

Automation #223

@johnmalek312

Description

@johnmalek312

@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 code

Entry 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    📨 Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions