appium===使用weditor代替ui automator viewer

weditor 一个元素定位工具,并可实现通过wifi连接移动端进行定位。

 https://github.com/openatx/uiautomator2

 

python安装方式:

pip install --pre weditor

 

然后执行:

python -m uiautomator2 init

安装完成,设备上会多一个uiautomator的应用。

 

启动命令:
python -m weditor

 

接入方式:

查看设备接入序列号:adb devices

在http://atx.open.netease.com网页输入设备序列号进行链接;

 

关于wifi链接的方式,需要参考uiautomator2的使用.

转载于:https://www.cnblogs.com/botoo/p/8571554.html

你可能感兴趣的:(appium===使用weditor代替ui automator viewer)