简体   繁体   English

appium 检查器中的无限循环

[英]Infinite loop in appium inspector


I'm stuck with this issue - I have already tried everything from the internet.我被这个问题困住了——我已经尝试了互联网上的所有东西。 When I start appium inspector, it opens my app on my real (connected) device iPhone, but then nothing happens with appium inspector.当我启动 appium 检查器时,它会在我的真实(连接的)设备 iPhone 上打开我的应用程序,但是 appium 检查器没有任何反应。 It's just loading (Gathering initial app source…).它只是在加载(正在收集初始应用程序源......)。
I use:我用:
Xcode Version 12.5 beta (12E5220o) Xcode 版本 12.5 测试版 (12E5220o)
Appium Desktop Version: 1.20.2; Appium 桌面版:1.20.2; Electron: 7.2.4; Electron:7.2.4; Node.js: 12.8.1 Node.js:12.8.1
macOS Big Sur Version 11.0.1 macOS Big Sur 版本 11.0.1
I've tried hide app on background then open it and refresh appium inspector, I've tried run appium from terminal and new session window in appium desktop and use following instructions, but then I get error about WebDriverAgent error 65.我尝试在后台隐藏应用程序然后打开它并刷新 appium 检查器,我尝试从终端运行 appium 和新的 session window 在 appium 桌面并使用以下说明,但随后我收到有关 WebDriverAgent 错误 65 的错误。
Again: inspector runs my app on my real device and my test from idea working fine on my real device with this Appium session, but inspector is empty Appium inspector loading再次:检查员在我的真实设备上运行我的应用程序,并且我的想法在我的真实设备上使用这个 Appium session 运行良好,但检查员是空的Appium 检查员正在加载

Follow the below steps请按照以下步骤操作

  • Start Appium server from the command line (1.15.0-beta.1)从命令行启动 Appium 服务器 (1.15.0-beta.1)
  • Start the Appium Desktop app.启动 Appium 桌面应用程序。
  • Do NOT click "Start Server"不要点击“启动服务器”
  • Launch the new session window (go up to "Appium desktop" (mac) or "File" (windows) and click new session from the menu)启动新的 session window(转到“Appium 桌面”(mac)或“文件”(windows),然后从菜单中单击新的 session)
  • Open the "Custom Server" tab of the new session window打开新 session window 的“自定义服务器”选项卡
  • Enter your local Appium server host and port (localhost / 4723)输入您本地的 Appium 服务器主机和端口(localhost / 4723)
  • Enter your capabilities Start the session as normal.输入您的能力 正常启动 session。 This will start a session using the Appium instance you have running on the command line这将使用您在命令行上运行的 Appium 实例启动 session

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM