appium / appium/python-client

Confusion about scrolling

未关闭
#190 5 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Android
主要语言
Python
星标
1.8k
派生
570
平均合并
1 天 10 小时
30 天内合并 PR
24

描述

I haven't been able to find what the final word on scrolling in Android is. According to the python source code, there is a method scroll. But it doesn't work.

According to the Android docs, there's a thing called UiScrollable. But it doesn't work.

According to the appium docs, there's a thing called TouchActions. But it doesn't work.

driver.execute_script("mobile: scroll", {"direction": 'down', 'element': el})
If you do this, you are told that "the method has not yet been implemented".

So what is the final word on scrolling? That it's completely broken? That scroll is supposed to work, and that there is something wrong with my setup?

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先跟踪 Python 客户端的 scroll 方法,并将其与报告中提到的 Android UiScrollable、Appium TouchActions 和 mobile: scroll 入口进行比较。如果可能,复现这些示例,并记录支持哪些滚动方式、哪些方式会失败,以及报告中的未实现方法是否属于预期情况。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。