1、電腦存在appium命令版以及appium-desktop版本,開啟appium-desktop版本后執行腳本報錯:
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Cannot start the ‘com.xxxx’ application.
主要意思:處理命令時發生未知服務器端錯誤
檢查:
我這邊查看到命令列版本(1.20.2)與桌面版本(1.14.1)不一致,appium -v,查看版本

解決方法:
關閉桌面版本,cmd中輸入appium執行命令列版本,執行腳本,可成功運行
解決2:升級桌面appium版本或者降低appium命令列版本
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/280958.html
標籤:區塊鏈
