Giter VIP home page Giter VIP logo

auto_wxpyq's Introduction

python环境

# test for Python 3.6.10
virtualenv venv
source venv/bin/activate
pip install -r requirements

电脑安装adb

...

手机(安卓)打开usb调试

连接手机

# windows安装手机驱动
# macos如果找不到设备:https://blog.csdn.net/adyw2565876/article/details/50286003
adb devices  # 获取手机序列号
python -m uiautomator2 init --serial 2d479368  # 2d479368是上一步获取的序列号
adb tcpip 5555  # 允许从wifi连接手机

测试数据

# 在 ./testdata 目录下, test_excel_file.txt 文件
# 运行(最后加上-d参数不会真实发朋友圈):
python main.py -f ./testdata/test_excel_file.txt --file_format test_text --wx_ctl_cls weixin_tool.gui_weixin_controller.GUIWeiXinController --wx_ctl_gui_driver_cls weixin_tool.auto_gui_driver.drivers.android.AndroidWeiXinGUIDriver -d

auto_wxpyq's People

Contributors

liuxhit 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.