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

V1.3.3 #1186

Merged
merged 23 commits into from
Jan 8, 2024
Merged

V1.3.3 #1186

merged 23 commits into from
Jan 8, 2024

Conversation

yimelia
Copy link
Member

@yimelia yimelia commented Dec 26, 2023

ADD:

  • touch, swipe接口新增相对坐标的支持
    • 例如点击中心点 touch((0.5, 0.5))
    • 从右往左滑动 swipe((0.7, 0.5), (0.2, 0.5))
    • 目前android/ios/win都支持
  • windows新增了剪贴板相关的接口
    • get_clipboard 获取剪贴板内容,set_clipboard 设置剪贴板内容, paste 粘贴
    • 因此如果有大段文字需要输入,原本使用text接口将会一个一个输入,效率很低,现在可以使用set_clipboard 设置到剪贴板之后,再使用paste粘贴即可
    • 剪贴板三个接口目前win/ios/android都支持了
  • Android支持手动指定touch_method,来强制指定ADBTOUCH, 或 MINITOUCH, MAXTOUCH
    • dev.touch_method = "ADBTOUCH"

FIX:

  • Yosemite.apk更新,新增了判断输入法是否完全启动的接口,避免输入失败
  • 修复了某些低版本iOS设备使用swipe接口会报错的问题(报错信息为:Invalid parameter not satisfying: allAttributesForKey != nil
  • 修复了1.3.2版本引入的adb路径为None的bug
  • 修复了部分安卓设备屏幕只显示一半,并且无法恢复的问题

yimelia and others added 23 commits December 26, 2023 14:28
(cherry picked from commit d8cc9b4)
(cherry picked from commit 4a279cf)
(cherry picked from commit 23e5659)
…lative coordinate proportions, such as touch((0.5, 0.5)).

(cherry picked from commit f6d97ee)
…ot use the swipe interface

(cherry picked from commit 81a2089)
(cherry picked from commit d68f862)
(cherry picked from commit d5cb468)
…on reports if using relative coordinates

(cherry picked from commit 7089c0e)
…dinate, the arrow displays an error.

(cherry picked from commit ca63829)
…using relative coordinate sliding in windows dual screen 2. Fixed the problem of wrong direction of sliding arrow in ios report

(cherry picked from commit 63bb1f1)
(cherry picked from commit 8c71943)
(cherry picked from commit bedbb77)
(cherry picked from commit 64be994)
(cherry picked from commit a0e52f4)
(cherry picked from commit d466dd2)
@yimelia yimelia merged commit 35f5024 into master Jan 8, 2024
1 check passed
@yimelia yimelia deleted the v1.3.3 branch January 8, 2024 03:57
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.

2 participants