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

org.openqa.selenium.InvalidArgumentException: Parameters were incorrect. We wanted {"required":["text"]} and you sent ["id","value"]

Aperta
#1,876 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 5 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
java
Ambito
mobile, testing-qa

Direzione di ricerca

Inizia con la riproduzione minima, field.setValue("value"), utilizzando le versioni elencate di client Java, server, driver, Node.js, Android e iOS. Confronta lo stack delle chiamate dell’applicazione e il log del server Appium collegati nell’issue per isolare l’incompatibilità tra client/server o del driver. L’attività è completata quando viene identificata una causa di compatibilità riproducibile e vengono documentate le versioni interessate e la risoluzione.

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

Descrizione

Description

I am totally puzzled. I got a new M1 Mac laptop and believe I am using all the identical versions of the required tools as my old laptop, but I am getting org.openqa.selenium.InvalidArgumentException: Parameters were incorrect. We wanted {"required":["text"]} and you sent ["id","value"]. This occurs when I call setValue("xxx") on a text entry field.

Environment

  • Java client build version 7.6.0. I have tried different versions of java but currently using 1.8.
  • Appium server version v2.0.0-beta.25 (REV 552db40622bb7a82d9c6d67d2d6bcf3694b47e30)
  • Desktop OS/version Apple M1, Ventura 13.2.1
  • Node.js version 18.9.0
  • Mobile platform/version under test: both ios 15.6.1 and android 9
  • Device drivers: - [email protected] [installed (NPM)], [email protected] [installed (NPM)]
  • Real device or emulator/simulator: Real devices

Details

The error occurs on both Android and iOS. I have tried the most recent version of the appium server. I have tried different versions of the drivers. I have tried different versions of node. I have tried different versions of java. One big mystery is that for a brief time, I did get things to work. That occurred when I downgraded node to be the same as the version on my old laptop. But something changed in my world and things have returned to the error listed above and I am at a loss as to what to do.

Seems like a java client and server compatibility issue. Something happened like this ages ago with the python client. I don't know how this is possible, but the only difference I am seeing is that I am running things on my new M1. Hopefully, I am missing something.

Code To Reproduce Issue [ Good To Have ]

field.setValue("value")

Exception Stacktraces

Here is the application call stack

Link To Appium Logs

Here is the Appium server log

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.