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.
任何人都可以帮助我使用 Selendroid 获取 Android 中正在运行的进程列表吗?
您可以使用 ADB 连接来做到这一点:
driver.getAdbConnection().executeShellCommand("ps > file"); driver.getAdbConnection().executeShellCommand("pull file localfile");