Fehler org.openqa.selenium.html5.LocationContext nicht gefunden, wenn Appium 9.5.0 Tests ausführt

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Fehler org.openqa.selenium.html5.LocationContext nicht gefunden, wenn Appium 9.5.0 Tests ausführt

by Anonymous » 18 Aug 2025, 11:36

Letzte Woche konnte ich meine Tests mit Appium Java Client 9.5.0 < /strong> ohne Fehler kompilieren und ausführen.

Code: Select all

error: cannot find symbol
import org.openqa.selenium.html5.LocationContext;
^
symbol:   class LocationContext
location: package org.openqa.selenium.html5
Hier ist mein pom.xml Abhängigkeiten Abschnitt:



org.testng
testng
7.10.2
test



org.slf4j
slf4j-simple
1.7.36
test



io.appium
java-client
9.5.0



com.aventstack
extentreports
5.1.2





org.apache.maven.plugins
maven-surefire-plugin
3.2.5


src/test/resources/testng.xml




org.apache.maven.plugins
maven-compiler-plugin

8
8




< /code>
Frage: < /strong>

Warum ist org.openqa.selenium.html5.LocationContext < /code> plötzlich fehlt, wenn es letzte Woche mit demselben Appium 9.5.0 -Setup funktioniert hat? Muss ich jetzt eine Selenieabhängigkeit manuell hinzufügen, oder wurde diese Klasse in neueren Selen-/Appiumversionen entfernt/bewegt?

Top