Ich versuche, Operation mit Swipe (Richtung, Dauer) -Methode in Appium Swipe. Aber Swipe-Methode Konsole bekommen Ausnahme auf deprecated.And bekommenNicht wischen Operation in Appium. Methode wird veraltet
FAILED: test
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 15 milliseconds
Dies ist mein Code
MobileElement abc = (MobileElement) driver.findElement(By.className("android.widget.FrameLayout"));
abc.swipe(SwipeElementDirection.UP, 6000);
Ich denke, Swipe() Methode nicht zur Verfügung steht. PFA-Screenshot als Referenz.
1) Eclipse screen shot
https://i.stack.imgur.com/PRTdw.png
2) Methoden nicht verfügbar Bildschirm
Schusshttps://i.stack.imgur.com/kzygI.png