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

相关推荐
2601_962078195 小时前
Appium+Python+pytest自动化测试框架详解
自动化测试·python·appium·pytest·移动应用
2601_962293533 天前
Appium+python自动化(十二)- Android UIAutomator终极定位凶器(超详解)
android·自动化测试·appium·定位·uiautomator
weixin-a153003083167 天前
7.Appium-ios端自动化
ios·appium·自动化
2601_962295999 天前
Python+Appium 自动化测试:从基础语法到 PO 模式设计,构建稳定测试框架
自动化测试·python·appium·测试框架·po模式
测试199810 天前
如何用appium搭建Android自动化测试框架?
自动化测试·软件测试·python·测试工具·职场和发展·appium·测试用例
St_rive15 天前
Appium元素定位与常用方法
appium
爱知菜17 天前
Appium3.7 连 安卓平台架构图 和 注意事项
appium
Tester Kid1 个月前
Appium 元素定位深度讲解:五种方式逐个拆 + Inspector 完整用法
macos·appium·cocoa
U盘失踪了2 个月前
Appium Inspector
appium