Appium appium 如何自动打开真机的 safari 或者其他浏览器并连接网址

shay · December 14, 2017 · Last by 渐次消逝 replied at December 14, 2017 · 1438 hits

如题,我用的官方 github 例子可以打开模拟器上的 safari,无法打开真机的 safari,需要配置哪些文件
我的 appium 是 1.7.1,非 UI 版本的
appium 提示: Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.

共收到 1 条回复 时间 点赞

先把 WebDriverAgent 编译通过,然后安装必要的依赖例如 ios-webkit-debug-proxy、usbmuxd 、libimobiledevice 这些等等 ,然后在脚本里面指定相关的 ios 真机参数,如果是 Safari 的话还必须把真机上 Safari 的设置 Web 检查器打开

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up