Where communities thrive

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

    Hi how you guys are doing,

    Quick question:

    There is a way of getting the current sessionsID? from any appium endpoint maybe?

    Hello, guys
    Does anyone faced any issues running Appium with iOS 13.3
    I am getting this error
    Error Domain=XCTDaemonErrorDomain Code=11 "No AXElement found at {160 284}:
    I checked with Appium and they are saying it is an Apple issue
    I did not see this error in 13.2.3
    Zeinab Abdelmawla
    Hello All , i can't run Appium desktop app "The application “Appium.app” can’t be opened." on MAc OS Catalina 10.15.1
    Hi team. we are facing the issue "could not establish connection to license server appium studio" while connecting with our office network. Please let us know the license server host name and port details which need to be allowed from our firewall end
    Sven Murat
    I'm getting 'Original error: invalid argument: cannot parse capability: goog:chromeOptions' when trying to switch context to hybrid app, why is this happening? after that I can't do anything...

    Hi guys. Please help to suggest any solution to find svg element that embedded in webview ? I tried xpath like //*[name()='svg'], but it does not work.

    org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: (//*[name()='svg']//*[name()='g'])[1]

    Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: (//*[name()='svg']//*[name()='g'])[1]

    im getting a 'command not supported error' when attempting to use browser.getWindowHandles() on android device via Browserstack (appium version 1.15), im in the "CHROMIUM" context when attempting to retrieve window handles works fine locally, just not browserstack
    browser.getWindowHandle() seems to work just fine on browserstack any tips on debugging?
    Rahul Jaisinghani
    Hi @aizaztoppa, for which android device are you running the test and is it a post request?
    @rahul-bs using Galaxy S9 (os version 9) via browserstack
    its just a GET request
    which fails when attempting on browserstack
    works fine locally
    @rahul-bs also, here's the webdriverio logs:
    2019-12-27T19:42:24.299Z INFO webdriver: COMMAND getWindowHandles() [0-0] 2019-12-27T19:42:24.299Z INFO webdriver: [GET] https://hub-cloud.browserstack.com:443/wd/hub/session/807710f243faa4d8e1184874a20fc037142ca8c1/window/handles [0-0] { status: 9, value: { message: 'Command not supported.' } } [0-0] 2019-12-27T19:42:24.321Z WARN webdriver: Request failed due to Command not supported. [0-0] 2019-12-27T19:42:24.322Z INFO webdriver: Retrying 1/1 2019-12-27T19:42:24.322Z INFO webdriver: [GET] https://hub-cloud.browserstack.com:443/wd/hub/session/807710f243faa4d8e1184874a20fc037142ca8c1/window/handles [0-0] { status: 9, value: { message: 'Command not supported.' } } [0-0] 2019-12-27T19:42:24.345Z ERROR webdriver: Request failed due to Error: Command not supported.
    even though the same requests work fine locallu
    does appium work for Ubuntu OS
    Is the Inspector significantly "snappier"/better in terms of gui lag, etc on better hardware (windows) or is it mainly tied to handset specs?
    Hi, I am doing research before a system upgrade. Anyone know if appium is running well in macOS Catalina?
    James Spencer
    Hey has anyone encountered an issue in real-device testing on iOS - Appium spins up safari and navs to the correct url for testing, but then does nothing. No errors in test logs or Appium log, just seems like its failing to actually run my webdriverio tests without logging any errors. iOS 13.3
    can anyone suggest something
    sangita subudhi

    Hi All Getting configuration issue while running the ios code mac catalina 10.15 xcode version 11.3 appium 1.71package ssp_eCom_app;

    import java.awt.AWTException;
    import java.io.File;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.time.Duration;
    import java.util.Hashtable;
    import org.apache.commons.lang.exception.ExceptionUtils;
    import org.apache.log4j.Logger;
    import org.openqa.selenium.Capabilities;
    import org.openqa.selenium.Dimension;
    import org.openqa.selenium.ElementNotVisibleException;
    import org.openqa.selenium.NoSuchWindowException;
    import org.openqa.selenium.SessionNotCreatedException;
    import org.openqa.selenium.remote.DesiredCapabilities;
    import org.testng.Assert;
    import org.testng.SkipException;
    import org.testng.annotations.AfterMethod;
    import org.testng.annotations.AfterTest;
    import org.testng.annotations.BeforeTest;
    import org.testng.annotations.DataProvider;
    import org.testng.annotations.Parameters;
    import org.testng.annotations.Test;
    import com.relevantcodes.extentreports.LogStatus;
    import com.skidata.common.Admin_App_Android;
    import com.skidata.common.Ecom_ssp;
    import com.skidata.testBase.TestBase;
    import com.skidata.util.ConstantValues;
    import com.skidata.util.DataUtil;
    import io.appium.java_client.AppiumDriver;
    import io.appium.java_client.MobileElement;
    import io.appium.java_client.TouchAction;
    import io.appium.java_client.android.AndroidDriver;
    import io.appium.java_client.remote.MobileCapabilityType;
    import io.appium.java_client.touch.WaitOptions;
    import io.appium.java_client.touch.offset.PointOption;
    import io.appium.java_client.ios.IOSDriver;
    import io.appium.java_client.ios.IOSElement;

    public class Anonymous_User_Reservation extends TestBase {

    public static final Logger log = Logger.getLogger(Anonymous_User_Reservation.class.getName());
    Ecom_ssp AdminVar;

    // public static IOSDriver<IOSElement> driver;
    public AppiumDriver<MobileElement> driver;

    public static DesiredCapabilities capabilities;
    String testName = "Anonymous_User_Reservation";
    @Parameters({ "runOn"})
    public void Setup(String runOn) throws MalformedURLException, InterruptedException {
        Capabilities caps = new DesiredCapabilities();
        capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "iOS");
        capabilities.setCapability(MobileCapabilityType.NO_RESET, true);
        capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, "XCUITest");
        capabilities.setCapability("useNewWDA", false);
        capabilities.setCapability("xcodeOrgId", "[YOUR_TEAM_ID]");
        capabilities.setCapability("xcodeSigningId", "iPhone Developer");
        capabilities.setCapability(MobileCapabilityType.UDID, "[YOUR_DEVICE_UDID]");
        //capabilities.setCapability(MobileCapabilityType.APP, "/Users/sangitasubudhi/Desktop/ssp_plugin.ipa");
        capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "iphone x");
        capabilities.setCapability("updatedWDABundleId", "[YOUR_BUNDLE_ID]");
        String appPath = "/Users/sangitasubudhi/Documents/ssp_plugin.ipa/ParentApp.ipa";
        File app = new File(appPath);
        capabilities.setCapability("app", app.getAbsolutePath());

    // driver = new AndroidDriver(new URL("http://"+URL_), caps);
    // driver = new AndroidDriver(new URL(""), caps);

            capabilities.setCapability("udid", "55641c3260ddf19af2d050f6f39e7c1042fde3f6");
            driver = new IOSDriver(new URL(""), capabilities);  
            System.out.println(" Sangita testing ===============+++++++++>");
    public void tearDown() throws Exception{
    public Object[][] getDataForTestCaseName() {
        return DataUtil.getDataForTestCaseName(SSP_xls, testName);
    @Test(dataProvider = "getDataForTestCaseName", testName = "", description = "This method will do reservation for anonymous user"
    can anyone resolve this issue
    having issues with running multiple apps at the same time to do end to end testing - it is this one - https://stackoverflow.com/questions/59610529/connecting-two-appium-apps-at-the-same-time-and-doing-end-to-end-tests-on-them
    able to work with 1 app and 1 browser. however when i add one more app it does not work
    can anyone help?
    sangita subudhi
    One more issue is there for android appium horizontal scroll but scroll is not happening till the element mentioned it's scrolling only one tab ,i used setAsHorizontalList() .scrollintoview().uiselector
    MobileElement element = driver.findElement(MobileBy.AndroidUIAutomator(
    "new UiScrollable(new UiSelector().resourceId(\"com.android.vending:id/items\")).setAsHorizontalList().scrollIntoView("
                + "new UiSelector().descriptionContains(\"Family\"))"));

    Hello, i have a little problem.
    When i am trying to run tests via console apium, i have this error.

    [Xcode] 2020-01-10 14:28:24.860 xcodebuild[17302:556797] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/Valerii/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fd93ae4ee60 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
    [Xcode] Test session results, code coverage, and logs:
    [Xcode]         /Users/Valerii/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.01.10_14-28-24-+0200.xcresult
    [Xcode] Testing started on 'Cohero’s iPhone X'
    [Xcode] Testing failed:
    [Xcode]         Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
    [Xcode]         WebDriverAgentRunner:
    [Xcode]                 WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
    [Xcode] ** TEST EXECUTE FAILED **

    When i am starting via Apium Desktop, everything is fine.
    My apium-doctor:

    info AppiumDoctor Appium Doctor v.1.13.0
    info AppiumDoctor ### Diagnostic for necessary dependencies starting ###
    info AppiumDoctor  ✔ The Node.js binary was found at: /usr/local/bin/node
    info AppiumDoctor  ✔ Node version is 12.13.1
    info AppiumDoctor  ✔ Xcode is installed at: /Applications/Xcode.app/Contents/Developer
    info AppiumDoctor  ✔ Xcode Command Line Tools are installed in: /Applications/Xcode.app/Contents/Developer
    info AppiumDoctor  ✔ DevToolsSecurity is enabled.
    info AppiumDoctor  ✔ The Authorization DB is set up properly.
    info AppiumDoctor  ✔ Carthage was found at: /usr/local/bin/carthage. Installed version is: 0.34.0
    info AppiumDoctor  ✔ HOME is set to: /Users/serg
    info AppiumDoctor  ✔ ANDROID_HOME is set to: /Users/serg/Library/Android/sdk
    info AppiumDoctor  ✔ JAVA_HOME is set to: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home
    info AppiumDoctor  ✔ adb exists at: /Users/serg/Library/Android/sdk/platform-tools/adb
    info AppiumDoctor  ✔ android exists at: /Users/serg/Library/Android/sdk/tools/android
    info AppiumDoctor  ✔ emulator exists at: /Users/serg/Library/Android/sdk/tools/emulator
    info AppiumDoctor  ✔ Bin directory of $JAVA_HOME is set
    info AppiumDoctor ### Diagnostic for necessary dependencies completed, no fix needed. ###
    info AppiumDoctor
    info AppiumDoctor ### Diagnostic for optional dependencies starting ###
    info AppiumDoctor  ✔ opencv4nodejs is installed at: /usr/local/lib. Installed version is: 5.5.0
    info AppiumDoctor  ✔ ffmpeg is installed at: /usr/local/bin/ffmpeg. ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
    info AppiumDoctor  ✔ mjpeg-consumer is installed at: /usr/local/lib. Installed version is: 2.0.0
    info AppiumDoctor  ✔ set-simulator-location is installed
    info AppiumDoctor  ✔ idb and idb_companion are installed
    info AppiumDoctor  ✔ applesimutils is installed at: /usr/local/bin/applesimutils. Installed versions are: applesimutils 0.7.6
    info AppiumDoctor  ✔ ios-deploy is installed at: /usr/local/bin/ios-deploy. Installed version is: 1.10.0
    WARN AppiumDoctor  ✖ bundletool.jar cannot be found

    Hi all,
    I face off issue with autoAcceptAlerts capability by using the following caps:

    appiumVersion: '1.15.0',
    maxInstances: 1,
    platformName: "ios",
    platformVersion: "13.0",
    deviceName: "iPhone 11",
    automationName: "XCUITest",
    autoAcceptAlerts: true,

    Instead of accepting the native pop up it dismisses it.
    Has anyone seen this weird issue?

    hi , how to do mobile app testing for ionic 4 app
    i am facing some issue to launch app , plz suggest me any solution
    Bollini Kiran
    can any one explain me how to set desired capabilities for chromeOptions.setExperimentalOption("w3c", false); for Android
    Navin Seth
    Hi, I have a react native hybrid app that uses react-native-webview . When I run driver.setValue('some text') on a text box, it works however I have some code written in an onChange handler, which does not run which I need it to. Has anyone ran into this similar issue, if so please help?
    Navin Seth

    :point_up: December 2, 2019 3:34 PM

    Were you able to solve this?

    Hi, I am new to appium. Im trying to automate the hybrid application in iOS real devices. I was able to launch the application through .app file. I was able to locate the element using class name, but click action is not working. Can anyone help me in this.
    Navin Seth
    Any ideas on my issue?
    Hello, i have updated my appium to 1.16.0 . while running test suite, I am getting this error "
    [debug] [W3C] Encountered internal error running command: Error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output. " does any body knows abt it
    ? Thanks!
    @toien44 hey were you able to fix this issue ? i am getting similar kind of issue
    Manikandan M G
    Hi. I am getting this issue on appium ...An unknown server-side error occurred while processing the command. Original error: '13.1' does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences.An unknown server-side error occurred while processing the command. Original error: '13.1' does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences.