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、输入开发者账号密码,配置参数

appium-ios自动化测试配置

 

appium-ios自动化测试配置

 

appium-ios自动化测试配置

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

}

 

相关文章:

  • 2021-08-04
  • 2022-12-23
  • 2021-10-11
  • 2021-09-01
  • 2022-01-14
  • 2022-12-23
  • 2021-09-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-09-05
  • 2021-11-18
  • 2022-12-23
  • 2021-04-15
相关资源
相似解决方案