如何在 Android 上 运行 Selenium 脚本?

How to run Selenium script on Android?

我在 Windows PC 上完成了 Firefox 的 selenium webdriver 脚本。它运作良好。 我尝试 运行 Android phone 上的相同脚本。 我的环境是 Eclipse。我在 Eclipse 上安装了 ADT 插件,但我不知道下一步该怎么做。 我还在我的机器上安装了 ADT。我应该继续使用 Eclipse 还是转向 ADT? 我了解 ADT 用于 Android APP 开发。但我只想调用浏览器和 运行 脚本。我没有任何 Android APP。我可以在 Android 上安装 firefox。 我可以 运行 在任何 Android 模拟器上编写脚本吗?

你看过Selendroid吗(http://selendroid.io/)? It is a Selenium implementation for Android that extends the framework to support native Android applications. They even provide a nifty quick start guide: http://selendroid.io/quickStart.html