Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

unicodeKeyboard and resetKeyboard capbilities removed from java-client 9.0.0

Đang mở
#2,059 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
android, java
Lĩnh vực
mobile-dev

Hướng nghiên cứu

Bắt đầu bằng cách so sánh hành vi và khả năng liên quan đến bàn phím giữa Java client 8.x và 9.0.0, sau đó kiểm tra cách các driver UIAutomator2 và Espresso xử lý khả năng hiển thị của bàn phím. Sử dụng các lệnh adb đã được báo cáo làm giải pháp thay thế hiện tại và xác định hoàn thành là khi có một cách được hỗ trợ để ngăn bàn phím Android hiển thị hoặc khôi phục bàn phím mà không phải ẩn thủ công sau mỗi lần xuất hiện.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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"
Ngôn ngữ chính
Java
Star
1.3k
Fork
755
Merge trung bình
5 ngày 14 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của appium/java-client

Tất cả issue của appium/java-client

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.