wda

2020-09-01  本文已影响0人  阳明先生x

https://github.com/facebookarchive/WebDriverAgent
https://blog.yuhanle.com/2018/01/03/how-to-install-web-driver-agent-on-device/

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

brew install carthage

./Scripts/bootstrap.sh

carthage update

brew install npm

从app安装包的plist文件中查看iOS应用的bundleId

2. 通过facebook-wda点击home键报错解决办法: “这个是wda的问题,判断桌面是否出现导致了超时,英文系统是Docker,中文系统是程序坞”,解决方法是更改WebDriverAgent文件夹下WebDriverAgentLib文件夹下的FBSpringboardApplication.m文件中fb_isApplicationBoardVisible函数的返回为return self.otherElements[@"Dock"].isEnabled || self.otherElements[@"程序坞"].isEnabled;

image.png
https://github.com/appium/appium/issues/13949
image.png
上一篇下一篇

猜你喜欢

热点阅读