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

相关推荐
niuniu_66612 小时前
appium应用测试场景
功能测试·selenium·测试工具·appium·测试
suimeng61 天前
Appium中元素定位的注意点
appium
suimeng63 天前
Appium中元素定位之一个元素定位API
appium
一禅(OneZen)3 天前
【L2.第二章】Appium 元素定位工具
python·selenium·appium·自动化·web
suimeng64 天前
Appium中元素定位之一组元素定位API
appium
曦若(xi ruo)14 天前
自动化APP测试APPium的元素等待
运维·appium·自动化
qq_白羊座18 天前
UI自动化:poium测试库使用文档
python·selenium·ui·appium
fantasy_418 天前
Appium高级操作--ActionChains类、Toast元素识别、Hybrid App操作、手机系统API的操作
android·python·appium·自动化