unicodeKeyboard and resetKeyboard capbilities removed from java-client 9.0.0
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- mobile-dev
调研方向
首先比较 Java client 8.x 和 9.0.0 之间与键盘相关的行为和功能,然后检查 UIAutomator2 和 Espresso 驱动如何处理键盘可见性。使用报告中的 adb 命令作为当前的变通方案,并将完成标准定义为:提供一种受支持的方式来阻止或恢复 Android 键盘,而无需在每次出现后手动将其隐藏。
由索引模型根据 Issue 内容生成。
描述
Description
Hello. How now to hide keybord in Android (UIAutomator2 and Espresso) generally?
Environment
- Java client build version: 9.0.0
- Appium server version: 2.2.1
- Uiautomator2 driver version: 2.32.3
- Espresso driver version: 2.26.10
- Node.js version: 18.18.0
- Mobile platform/version under test: Android/any version
- Emulator: any
Details
The keyboard makes it difficult to check:
- the page as a whole (for example, that certain elements are displayed when the page loads, but at the same time we have an input field on the page and the cursor is automatically placed in this input field and and the keyboard that appears hides the items you need to search);
- individual elements on the page (for example, if we have several input fields , then when you enter into the first field, the keyboard will hide the second input field).
It's terrible to use the method of hiding the keyboard every time it is shown.
At the very least, time is lost hiding the keyboard and debugging tests.
Alternative
To solve this problem temporarily I have to use "adb" commands:
- Get the current active keyboard: adb shell "ime list -s"
- Disable permanently the current keyboard: adb shell "ime disable {IME_KEYBOARD_VALUE}"
- Later on, restore the keyboard: adb shell "ime reset"
- 主要语言
- Java
- 星标
- 1.3k
- 派生
- 755
- 平均合并
- 5 天 14 小时
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
appium/java-client 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
appium/java-client#2426 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 50/100
appium/java-client#2372 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
appium/java-client#2368 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 30/100
appium/java-client#2341 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 15/100
appium/java-client#2323 ·
维护者通常 1 天内回复
查看 appium/java-client 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 72/100
oracle/javavscode#652 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
OpenAPITools/openapi-generator#25014 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
AloisSeckar/demos-java#380 ·