Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info

    Hi all,
    How to send 'option' key when ios native app is opened.
    POST /wd/hub/session/{sessionId}/appium/device/press_keycode
    POST /wd/hub/session/{sessionId}/appium/device/long_press_keycode
    POST /wd/hub/session/{sessionId}/appium/device/keyeven

    the above seems not to be supported on ios :(

    Hello Team i am getting below error while running appium launch app script
    Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Could not find a driver for automationName 'selendroid' and platformName 'Android'. Please check your desired capabilities (WARNING: The server did not provide any stacktrace information)
    Command duration or timeout: 173 milliseconds
    Pls can someone help me
    Huzaifa Iftikhar
    Try setting the automationName capability to UiAutomator2
    Still getting the same error
    Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: The application at 'C:\Users\akamble02\eclipse-workspace\Test\src\com.psi.residentportal_2021-06-25.apk' does not exist or is not accessible
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:48'
    below is the script

    import java.io.File;
    import java.net.MalformedURLException;
    import java.net.URL;

    import org.openqa.selenium.remote.DesiredCapabilities;

    import io.appium.java_client.android.AndroidDriver;
    import io.appium.java_client.android.AndroidElement;
    import io.appium.java_client.remote.MobileCapabilityType;

    public class Testt {

    public static void main(String[] args) throws MalformedURLException {
        // TODO Auto-generated method stub
        File f=new File("src");
        File fs=new File(f,"com.psi.residentportal_2021-06-25.apk");
        DesiredCapabilities cap = new DesiredCapabilities();
        cap.setCapability(MobileCapabilityType.DEVICE_NAME, "Pixel4");
        cap.setCapability(MobileCapabilityType.AUTOMATION_NAME, "UiAutomator2");
        cap.setCapability(MobileCapabilityType.APP, fs.getAbsolutePath());
        AndroidDriver<AndroidElement> driver= new AndroidDriver<> (new URL(""),cap);


    Huzaifa Iftikhar

    If you see the error message the root cause is different this time. You’re getting the following error now:

    The application at 'C:\Users\akamble02\eclipse-workspace\Test\src\com.psi.residentportal_2021-06-25.apk' does not exist or is not accessible

    Can you check if the file exists at this path?

    Thank You for the help , i have added file to the location
    mow getting below inline error
    Jul 28, 2021 4:33:27 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
    INFO: Detected dialect: W3C
    can u help me with this
    Paulo Oliveira
    hello, anyone here tried to connect with apple-mac2-driver already?
    i’m struggling to find good examples and documentation about it.
    Mikkel Isaksen Jensen

    Does anyone have experience with "appium-mac2-driver" and WebdriverIO.?
    I am working to automate an app on mac, however I can not seem to get mouse and keyboard gestures to work.
    I am trying to do
    { action: 'pointerMove', "duration": 0, "x": 100, "y": 100}]);

    However I get the error
    "TypeError: browser.performActions is not a function"

    1 reply
    Hi everyone do you know link tutorial robotframework appium, thank you all
    girija sankar
    Issue: Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up). Retrying... - Any one have solution please provide me . Thank you
    When we are trying to connect Appium to webdriver agent its not connecting , Please help me
    Paulo Figueira
    Hello all, is it possible to use BySelector (https://developer.android.com/reference/androidx/test/uiautomator/BySelector) when finding elements with uiautomator?
    Through UiSelector I am not able to element and after a discussion with the app developer he was only able to find this element with the BySelector
    Federico Francia
    Hi, does anyone experiencing issue with appium xcui and ios react native app, in some complex page not all elements are retrieved by Appium even if you set the snapshotMaxDepth setting to an higher value than default one?
    Hi everyone do you know Why Is A Product Roadmap Important For Mobile App Development?
    Hamza Zubair
    Hi everone! Hope you are well.
    I am a newbie on appium, I have installed appium on my macbook, when I used to run the appium-doctor --android, it will show that JAVA home and android home variable is not set. But I have added it to my .bash_profile. Any guidance?
    Maria Kravets
    Using Appium getActiveElement commands returns an error. Any thoughts on this? Thank you
    webdriver: [GET]
    [0-0] 2021-08-18T15:08:52.288Z WARN webdriver: Request failed with status 404 due to The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource
    Hi everyone, if you have experiences with AWS device farm, please help. When I run by mvn command, it always returns create remote session timeout even it connect server success? Error: "org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Original error: connect timed out"
    Maria Kravets
    Hi Everyone. Does anyone know how to find exact path to the file uploaded on Android Emulator? I'm trying to automate test to attach file, for that need path to the file. I'm new to Appium. Please help
    how to run appium in github actions
    Adam Bethlehem

    Can anyone assist me with this error when running appium with testng and maven
    java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy10.proxyClassLookup()

    Ive tried literally every version of java with no luck,
    at io.appium.java_client.pagefactory.bys.builder.AppiumByBuilder.prepareAnnotationMethods(AppiumByBuilder.java:85)

    it is failing when it tries to initialize a PageObject
    any help would be greatly appreciated

    It works fine when running via intellij testng runner but via the terminal: mvn test
    jyoti manghnani
    I want to automate selecting toggle button using appium but the xpaths used by me r giving "nosuchelementexception.
    I am using this xapth as text is not given in the tree. "//*[contains(@resource-id,'id/toggle')]"
    Timothy Boland
    so to make sure im not crazy....for XCUITests the only way to reset the app in between tests is to uninstall and reinstall?
    i need help making movie streaming a[[

    Hi Anyone can help, im using ,webdriverio": "^7.11.1", @wdio/appium-service": "^7.11.1", and when run always got ->

    'POST /element' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details

    SaMkiT Sharma

    Hey guys,

    I came across this hack challenge for enhancing Android libraries. I thought of sharing it with you all. It has a cash prize of up to 10 lakh rupees.

    I submitted my idea. You guys can also participate.


    Vlad Danilov

    Hi all,
    how can I enter text with 0.5-1 second delay? setValue() doesn't work for me, because dropDown doesn't appear after setValue().

    The method below returns the wrong characters.

    text = 'karm'

    WebDriverIO, Appium, iOS driver = XCUITest, Adndroid driver = UIAutomator2

       public static type(element, text, isErase = true, maxDelay = 500) {
        if (isErase) {
        const charList = text.split('')
        for (let i = 0; i  <charList.length; i++) {
          driver.pause(Math.floor(Math.random() * maxDelay))

    In output I got something like yv...'

    владимир иванович архипов
    не кто мне не может помочь с администрацией бизнеса в интернете ?ъ
    hello anybody here?
    I have the problem with this error can someone help me please I'm really need the help me please : io.appium.uiautomator2.common.exceptions.InvalidArgumentException: 'capabilities' are mandatory for session creation
    1 reply
    Hi Guys, can we scroll in ios till element is found without using direction , as we need to specify direction as up or down, I want to scroll by element doesn't matter where it is on the screen for ios.
    Kaique Silveira
    Hi, can anybody tell me if appium currently supports the iOS 15 (xcode 13)?
    1 reply
    Hi..is it possible to automate ios using appium on ubuntu system?
    Hi All, I am trying to launch an iOS simulator with the latest iOS version i.e. iOS 15 with Appium 1.21.0, and getting "ECONNREFUSED" It was working fine with iOS 14.
    Hi All, does Appium support automating hybrid apps on Windows and Mac? I noticed that getContextHandles and context are not available on Mac and Windows(https://appium.io/docs/en/writing-running-appium/web/hybrid/). Does this mean that Appium cannot be used for hybrid apps on the desktop? Are there other ways to workaround?
    Anyone doing C# mobile native test automation using specflow/Gherkin or any other recommended way of doing BDD? Please share your experiences? I am trying to implement things from scratch so any pointers/experiences would be helpful