Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#1,876 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
java
Bereich
mobile, testing-qa

Rechercherichtung

Beginne mit der minimalen Reproduktion field.setValue("value") unter Verwendung der aufgeführten Versionen von Java-Client, Server, Treiber, Node.js, Android und iOS. Vergleiche den im Issue verlinkten Call-Stack der Anwendung und das Appium-Serverprotokoll, um die Abweichung zwischen Client/Server oder Treiber zu isolieren. Abgeschlossen ist die Aufgabe, wenn eine reproduzierbare Kompatibilitätsursache identifiziert und die betroffenen Versionen sowie die Lösung dokumentiert wurden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Java
Sterne
1.3k
Forks
755
Ø Merge
5 T. 14 Std.
Gemergte PRs (30 T.)
8

Entwicklungsumgebung

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus appium/java-client

Alle Issues in appium/java-client

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.