Appium 使用 Appium 进行 iOS 自动化测试时,如何避免 new IOSDriver () 时,自动启动被测 App 的问题?

JamesChung · 2018年12月24日 · 1348 次阅读

附上代码:

capabilities.setCapability("deviceName", "“iOS device");
capabilities.setCapability("platformName", "iOS");
capabilities.setCapability("useNewWDA", false);
capabilities.setCapability("useJSONSource", true);
capabilities.setCapability("realDeviceScreenshotter", "idevicescreenshot");
capabilities.setCapability("autoLaunch", "false");
capabilities.setCapability("usePrebuiltWDA", true);
capabilities.setCapability("noReset", true);
capabilities.setCapability("autoAcceptAlerts", true);
capabilities.setCapability("automationName", "XCUITest");
capabilities.setCapability("newCommandTimeout", 999999);
capabilities.setCapability("udid", udid);
capabilities.setCapability("bundleId", bundleID);
capabilities.setCapability("wdaLocalPort", wdaLocalPort

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册