Good morning. I use appium@beta via the terminal and everything works fine. If i use the appium-desktop software i can connect to the device but there occurs an error „unrecognized selector sent to instance“ which is fixes in the appium@beta softwware. So how can i connect appium-desktop wirh the appium@beta software? Has appium-desktop ist own internal appium or am i aböe to reference the beta version somehow?
Does anyone have an idea?
driver.executeScript("mobile: shell")
Where I'm stumped is where do I get the driver object. My javascript code looks like import wdio from "webdriverio";
(and/or) const wdio = require("webdriverio");
which does not expose any sort of driver object nor execute* method. Where do I get this object?
const wd = require("wd");
instead of const wdio = require("webdriverio");
I'm not left wondering if I can convert my driver object back to a "client (from wdio.remote)" because I do not seem to be able to driver.waitForElement(...).getText()
as I could with client.$$(...).getText()
Hi Guys, I believe I can post my doubts here.
We are planning to set up an Appium server on the AWS infrastructure. We need to run the Appium server as a container on an EC2 Mac instance. I went through a lot of documentation and couldn't get a clarity regarding the implementation of the Appium container on the Mac instance. Can someone please help with this?
Hi Everyone,
Struggling to get Appium working in a Java 15 maven project with Java modules. For example, I have a module mobile-app
and a module mobile-app-test
. In my module-info.java
I am requires java.client
and in my pom.xml
using java-client
version 7.5.1 from io.appium
.
When I run a JUnit test in IntelliJ, getting error,
java.lang.module.ResolutionException: Modules java.client and selenium.api export package org.openqa.selenium.internal to module selenium.support
Have tried using maven exclusions to eliminate potentially duplicate dependencies, however, stuck on this one.
Also, when I run the test using mvn test
, getting similar error, module mobile-app-test reads package org.openqa.selenium.internal from both java.client and selenium.api
Any help would be greatly appreciated.
Many thanks
Hello everyone , I am getting below error in appium while running automation on cloud device
AppData\Local\Temp\2021321-796-12uutpa.6wze\appium-uiautomator2-server-v4.3.0.apk /data/local/tmp/appium_cache/Occ1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk' timed out after 20000ms • at Timeout.setTimeout
But I already set timeout - caps.setCapability("adbExecTimeout",200000); in method which I am using , code for info public void AppiumConfigurationCommonMethod(String appPackage,String activity) throws IOException, InterruptedException
{
DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability("deviceName", "xyz");
caps.setCapability("platformName", "Android");
caps.setCapability("appPackage", appPackage);
caps.setCapability("appActivity", activity);
caps.setCapability("noReset","true");
caps.setCapability("adbExecTimeout",200000);
caps.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT,10000);
System.out.println("about to launch");
try {
Initialization.driverAppium=new AndroidDriver<WebElement>(new URL("http://127.0.0.1:4723/wd/hub"), caps);
} catch (Exception e) {
System.out.println(e.getMessage());
}
sleep(5);
}