Appium Java client upgrade to 9.4.0 causing an error : Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure

Thank you @wreed, you’re a legend. I just noticed my automationName cap didn’t have “appium:” prefix:

        cap.setCapability("appium:appActivity",appActivity);
        cap.setCapability ("automationName", AutomationName.ANDROID_UIAUTOMATOR2); // "automationName" should be "appium:automationName" due to the prefix requirement since v 9.2.3 as Wreed mentioned
        cap.setCapability("appium:appWaitActivity",".MainActivity");

Coding is really funny sometimes😂.
Thanks all, I appreciate this community so much. Cheers!

1 Like