Is it possible to web scrape an Android app through an emulator on PC, using Watir with Ruby on Rails?

牧云@^-^@ 提交于 2020-01-06 04:43:05

问题


So I know that was a mouthful, so to expand a bit I'm hoping to get text data from an Android app. I've read a little that I would need an Android emulator on my PC to do so. But I have no idea how to use Watir (the current web scraper I've been using successfully) to scrape data from an emulator.


回答1:


What you need to use to interact with a native mobile application is Appium. There is a Ruby binding for Appium that you can use. There is currently not a Watir API for Appium, though it is on our list of possible things we can work on at our hackathon in a few weeks. Keep a watch on our Watir blog to see if we end up able to implement something.



来源:https://stackoverflow.com/questions/46006037/is-it-possible-to-web-scrape-an-android-app-through-an-emulator-on-pc-using-wat

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