Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.1.9 update #880

Merged
merged 15 commits into from Apr 2, 2021
Merged

1.1.9 update #880

merged 15 commits into from Apr 2, 2021

Conversation

yimelia
Copy link
Member

@yimelia yimelia commented Mar 26, 2021

新增功能或优化项:

  • iOS的端口转发功能,在上个版本被废除了,现在重新加回来。目前只能支持本地电脑USB接入的iOS手机的端口转发,不支持远程连接的手机 3806732
    • 如果是windows,内置了一个iproxy.exe,使用它进行端口转发
    • 如果是mac,先尝试用本地的iproxy或者tidevice进行转发,如果没有安装,则改用python转发,效率可能会比较低(详见relay.py
  • 删除了原先的RotationWatcher.apk,改用一个jar包来获取手机的屏幕旋转方向,虽然文件体积较大,但是不需要安装apk,可以节省大量手机的弹窗点击 5886295
    • 目前poco的初始化也不强制要求安装yosemite了,airtest也只有在调用到text接口时会需要安装yosemite,进一步降低连接手机的门槛
  • 优化了图像识别的算法,RGB参数勾选后,能够比以前更好地识别出不同颜色相同内容的图片了 0e1b1b3 ec8858a

BUG修复:

  • log的时间改为24小时制
  • 修复了ios swipe接口遗漏了一个参数的BUG
  • 修复了adb.file_size不能正确获取到文件大小的bug
  • 在大于python3.7的环境中,由于opencv图像算法的版权问题,导致默认的一些算法不能使用,之前会把算法未安装的异常打印出来,虽然不影响识别流程,但是容易造成用户的误解,现在改为大于3.8环境的时候,把默认使用的算法都改为可用的算法,避免使用到版权算法。 0db0abd

yimelia and others added 11 commits March 1, 2021 15:35
(cherry picked from commit d669f6a8e19419d447a4f43562e7075814e8f257)
(cherry picked from commit 754328ec82cb46556582ce599b7fa959e5d8fbe0)
(cherry picked from commit 7688cb3ccafff031d9f3b2fe9651a6e725d53ac9)
(cherry picked from commit 982f0cfd36442929cd722cdb5cbf0ab925e37b72)
(cherry picked from commit 316436b87282582f4156a8580d21aa19f3dddd2a)
(cherry picked from commit 789948b12e5694b09a7ec9165f03434e62462e86)
(cherry picked from commit 5241f79c19d428f7e33c502f744c1dc336960825)
(cherry picked from commit 4740119df86553785d7e81ad479cadd53be8b58c)
(cherry picked from commit 8265bd5fcb36a2195d597cfa3882a3c67ee1491e)
(cherry picked from commit e8deae45be68ab5214d621bc0be6b55bdeb41ee7)
(cherry picked from commit 127c74441d18b61ee002ab5b18baf3bb5e07166a)
@yimelia yimelia requested a review from Meteorix March 26, 2021 09:45
(cherry picked from commit a74c6ea06b77d008226b416d0554fd37d7f6c395)
airtest/core/android/minicap.py Show resolved Hide resolved
airtest/core/ios/constant.py Show resolved Hide resolved
airtest/core/ios/relay.py Outdated Show resolved Hide resolved
(cherry picked from commit f80b25a91749033820653edd77ecfbc6269dc72b)
(cherry picked from commit eb01f7b717702c9c8d8d33b470b44681bdcf0f10)
(cherry picked from commit 3862e22be98640ccf199058c327a8561f30e58fe)
@yimelia yimelia merged commit 0626844 into master Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants