尝试运行测试后,我总是得到:
_.reduce($(elem), function(result, value, key) { if(_.startsWith(key, 'jQuery')) return value; }, 0)
java-client 5.0.0 beta 9
Appium 1.6.5
selenium standalone 3.4.0
使用Android Studio
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{platformVersion=6.0, platformName=Android, deviceName=Xiomi}], required capabilities = Capabilities [{}]
请帮忙!我无法理解我做错了什么
答案 0 :(得分:0)
我添加了下一个所需的功能,异常停止了:
desiredCapabilities.setCapability("appPackage", "com.package.app");
desiredCapabilities.setCapability("appActivity", ".activities.App");
// Add real app package and activity instead of mine.