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

feat:AndroidDriver中增加tap,longPress,swipe的方法,对齐IOSDriver #85

Merged
merged 5 commits into from
Jun 17, 2023

Conversation

caofengbin
Copy link
Contributor

@caofengbin caofengbin commented Jun 17, 2023

Whether this PR is eventually merged or not, Sonic will thank you very much for your contribution.

无论此PR最终是否合并,Sonic组织都非常感谢您的贡献。

Checklist

  • The title starts with fix, fea, or doc. | 标题为fix、feat或doc开头。
  • I have checked that there are no duplicate pull requests with this request. | 我已检查没有与此请求重复的拉取请求。
  • I have considered and confirmed that this submission is valuable to others. | 我已经考虑过,并确认这份呈件对其他人很有价值。
  • I accept that this submission may not be used. | 我接受此提交可能不会被使用。

Description

现有的agent端,Android平台提供了基于adb和基于sonic-android-apk两种模式的触控方式,AndroidDriver没有基于uiautomator的触控方法。

本次pr补齐AndroidDriver中tap,longPress,swipe的方法,对齐IOSDriver。

后续在sonic中agent中,可实现第三种模式的触控方案。

tap操作的接口请求调用
longPress操作的接口请求调用
swipe操作的接口请求调用

@prlabeler prlabeler bot added the feature label Jun 17, 2023
Copy link
Member

@ZhouYixun ZhouYixun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mg

@ZhouYixun ZhouYixun merged commit f95833f into SonicCloudOrg:main Jun 17, 2023
1 check passed
@caofengbin caofengbin deleted the feature/add_android_swipe branch June 20, 2023 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants