You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

无法使用Appium Inspector结合WinAppDriver启动Windows计算器

WinAppDriver启动Windows计算器报错的解决线索
  • 确保WinAppDriver和Appium Inspector都以管理员权限启动,右键程序图标选择“以管理员身份运行”。
  • 检查Desired Capabilities配置:
    • Appium 2.x需指定appium:app参数,值为计算器的完整标识Microsoft.WindowsCalculator_8wekyb3d8bbwe!App;旧版Appium直接用app参数即可。
    • 确认platformName设为Windows,deviceName设为WindowsPC。
  • 开启Windows开发者模式:打开「设置」→「更新和安全」→「开发者选项」,勾选“开发者模式”。
  • 匹配WinAppDriver与系统版本:下载对应Windows 10版本的WinAppDriver安装包,避免使用适配Win11的版本。
  • Appium 2.x需单独安装Windows驱动,执行命令:appium driver install windows。
  • 排查端口冲突:WinAppDriver默认占用4723端口,用netstat -ano | findstr :4723查看是否被其他进程占用,若冲突可启动WinAppDriver时指定其他端口,比如WinAppDriver.exe 4725。

内容的提问来源于stack exchange,提问作者Franco Tiveron

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.03 04:26:02