appium-ios自动化测试配置
1、cd到appium-webdriveragent目录下
cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent
sh ./Scripts/bootstrap.sh -d
2、用xcode编译/Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj文件
3、输入开发者账号密码,配置参数
4、点击Product-Test
5、查找元素控件
{
"platformName": "ios",
"platformVersion": "13.3",
"udid": "xxxxxxx",
"deviceName": "iPhone X",
"automationName": "XCUITest",
"bundleId": "xxxxx",
"xcodeOrgId": "xxxxxx",
"xcodeSigningId": "iPhone Developer",
"newCommandTimeout": 360,
"wdaLaunchTimeout": 240000,
"wdaConnectionTimeout": 240000
}