Appium Inspector使用教程

1.下载最新版本

https://github.com/appium/appium-inspector/releases

2.本地启动一个Appium服务

若Android SDK已安装Appium服务,则在任意terminal使用appium启动服务即可

3.Appium Inspector客户端配置连接到Appium服务

Configuring and Starting a Session - Appium Inspector

配置样例

复制代码
{
  "platformName": "Android",
  "appium:appPackage": "ai.edalearning.app",
  "appium:appActivity": "com.nd.smartcan.appfactory.demo.SplashActivity",
  "appium:automationName": "UiAutomator2",
  "appium:noReset": false
}

踩坑:appActivity被写成androidActivity,导致服务器一直返回500,查看服务器窗口发现报错日志 定位到该问题

AndroidUiautomator2Driver@1405\] The following provided capabilities were not recognized by this driver: \[AndroidUiautomator2Driver@1405\] androidActivity

相关推荐
BullSmall3 天前
自动化测试开发规范
selenium·测试工具·appium·自动化
BatyTao4 天前
Appium-Inspector下载安装全攻略
appium
阿蔹4 天前
UI测试自动化-Web-Python-Appium
前端·python·ui·appium·自动化
BatyTao10 天前
无线真机自动化测试全攻略-appium+phthon
appium
010不二14 天前
基于Appium爬虫文本导出可话个人动态(环境准备篇)
爬虫·python·appium
010不二14 天前
基于Appium爬虫文本导出可话个人动态
数据库·爬虫·python·appium
may_一一17 天前
appium安装(windows)
windows·appium
傻啦嘿哟22 天前
Appium实现Android应用数据爬取:从环境搭建到实战优化
android·appium
中冕—霍格沃兹软件开发测试25 天前
边界值分析:功能测试中的精度利器
人工智能·功能测试·科技·测试工具·appium·bug
BatyTao25 天前
vivo真机adb 命令获取手机当前窗口信息
adb·appium