About using Selenium in my first android app

♀尐吖头ヾ 提交于 2019-12-11 10:14:34

问题


After finishing my desktop software that use selenium to sendkeys and get a screenshot for the captcha,

i'm trying now to build it for android, but i don't know from where i need to start,

i searched alot about how can i send editText's values that have email,password and captcha to a website

  • Do i need to install android-server.apk besides my app ? because the software i built use phantomjs.exe

  • i added selenium lib and java-client to add as library and sync, but i still can't import the libraries in the main activity, so when i write WebDriver driver = new AndroidWebDriver(getActivity()); i got an error

Cannot resolve symbol 'WebDriver'

How can i solve that ?

  • Is there's better option than that? i don't want the users to install other app in their devices in order to use the main app

来源:https://stackoverflow.com/questions/56639906/about-using-selenium-in-my-first-android-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!