Giter VIP home page Giter VIP logo

auto_touch's Introduction

手机端自动触摸工具

准备工作 + 微信读书自动翻页教程

iOS

工具

  • Mac
  • Xcode
  • Python3、pip3

安装WebDriverAgent

  1. git clone https://github.com/facebook/WebDriverAgent.git
  2. ./Scripts/bootstrap.sh
  3. 打开WebDriverAgent.xcodeproj,在Xcode中设置好开发者apple id
  4. 在Xcode中,Product -> Test,在手机上运行,在手机上打开一下刚安装的没有图标的WebDriverAgent,会自动关闭,然后在Xcode控制台会输出ServerURL: http://x.x.x.x:8100
  5. brew install imobiledevice
  6. iproxy 8100 8100
  7. 浏览器访问http://localhost:8100/status看到json就说明运行成功

安装python-wda

pip3 install --pre facebook-wda

执行

以微信读书为例。在微信读书中打开一本书,然后终端执行:

git clone https://github.com/huowenxuan/weread_auto
cd auto_touch
python3 weread_ios.py

Android

工具

  • Python3、pip3

安装uiautomator

pip3 install uiautomator

执行

在微信读书中打开一本书,然后终端执行:

git clone https://github.com/huowenxuan/weread_auto
cd auto_touch
python3 weread_android.py

趣头条小视频自动上拉(仅限android)

打开趣头条app,点击小视频tab,执行:

python3 qutoutiao_android.py

auto_touch's People

Contributors

huowenxuan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.