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

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

Post by Anonymous »

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?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post