Questions tagged [appium-java]
117 questions
0
votes
1 answer
What's the version of Appium Java-client that will auto prefix "Appium" to follow W3C protocol
I am trying to update my scripts to follow W3C Protocol for Appium tests.
Can't find which version of Appium java-client will automatically prefix "Appium" keyword to the capabilities.

Haresh Leo
- 15
- 3
0
votes
1 answer
How to implement 4 quick taps(in 0.8 seconds) in android using appium?
I have tried TapAction, MultiTouch, but it is taking more time then 0.8 seconds. If any solution available, please respond

user12872588
- 1
- 1
-1
votes
0 answers
Mobile chrome Browser with Native App issue by Appium
Could you help me to advise whether we can pass any app deeplink url in the Android or iOS browser and launch the app after clicking on the Play' icon on the alert popup where we want to close all tabs before launching the same browser for Android…

AMIT GUPTA
- 49
- 2
-1
votes
1 answer
Returned value cannot be converted to WebElement:
I'm getting this error when trying to search for an element of a google calculator application
mai. 07, 2023 9:18:47 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFORMAÇÕES: Detected dialect: W3C
Exception in thread "main"…

HaiD
- 1
-1
votes
1 answer
Appium-my console shows seesion not created exception-How to resolve
i am using Appium V1.22.3 version
Script
package appium;
import java.net.MalformedURLException;
import java.net.URL;
import org.openqa.selenium.remote.DesiredCapabilities;
import com.google.common.collect.ImmutableBiMap;
import…
-1
votes
2 answers
How can I disable/dismiss the keyboard on iOS with Appium
Is there anyway to dismiss the iPhone keyboard or disable it from popping up at all while Appium tests are being run?
driver.hideKeyboard() doesn't work, half the time a "DONE" or "RETURN" button isn't present and I can't just tap randomly on the…

cdub
- 330
- 4
- 19
-1
votes
1 answer
Appium android mobile
[RemoteTestNG] detected TestNG version 7.4.0
FAILED: AppiumTest
java.lang.NoClassDefFoundError: org/openqa/selenium/Rotatable
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at…
-1
votes
1 answer
Appium Android: How to test pdf displayed inside WebView
In Android, I want to test PDF which contains terms and conditions, but this displayed inside WebView. I am able to switch to WebView, I am using below code.
String strWebContextName = getContexts().stream().filter(ctx ->…

DeepakVerma
- 179
- 1
- 3
- 14
-1
votes
2 answers
Cannot invoke "Object.getClass()" because "object" is null - Java16
I am trying to setup an Appium project for learning purposes. I have created a basic structure of framework but it is throwing me following error:
net.serenitybdd.core.exceptions.StepInitialisationException: Failed to create step library for…

Bilal
- 558
- 8
- 18
-1
votes
2 answers
Any suggestion how to remove error "SyntaxError: Cannot use import statement outside a module" while running Appium.js from Java code?
Any suggestion how to remove error "SyntaxError: Cannot use import statement outside a module" while running Appium.js from Java code?
Trying adding type: "type": "module" in your package.json or the .mjs extension.
when "type": "module" added the…

mittalri
- 21
- 3
- 7