Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

unicodeKeyboard and resetKeyboard capbilities removed from java-client 9.0.0

Aperta
#2,059 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
android, java
Ambito
mobile-dev

Direzione di ricerca

Inizia confrontando il comportamento e le funzionalità relative alla tastiera tra Java client 8.x e 9.0.0, quindi verifica come i driver UIAutomator2 ed Espresso gestiscono la visibilità della tastiera. Usa i comandi adb segnalati come soluzione alternativa attuale e considera completato il lavoro quando sarà disponibile un modo supportato per impedire la visualizzazione della tastiera Android o ripristinarla senza doverla nascondere manualmente dopo ogni comparsa.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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"
Lingua principale
Java
Stelle
1.3k
Fork
755
Merge medio
5g 14h
PR unite (30g)
8

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di appium/java-client

Tutte le issue di appium/java-client

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.