嗨,朋友可以帮助我解决这个问题吗?(appium服务器)
[MJSONWP]遇到内部错误运行命令:错误:未知错误:Chrome版本必须为&gt; = 55.0.2883.0(驱动程序信息:chromedriver = 2.28.455520(cc17746adff54984afff480136733114c6b3704b),platform = Windows NT 6.1.7601 SP1 x86_64)在Chromedriver.callee $ 2 $ 0 $(C:\ Users \ Sample \ AppData \ Local \ Programs \ appium-desktop \ resources \ app \ node_modules \ appium \ node_modules \ appium-chromedriver \ lib \ chromedriver.js:176:15)< / p>
我正在使用Android 2.2,模拟器的详细信息是 platformVersion:'5.1', deviceName:'Android模拟器', app:'C:\ Users \ Sample \ Downloads \ PaySign.apk', avd:'Test5.1', autoWebview:true
当我在Node cmd上运行Sample.js时,它说,抛出新错误('会话未正确启动'+错误);
在Appium上 - [MJSONWP]遇到内部错误运行命令:错误:未知错误:Chrome版本必须是&gt; = 55.0.2883.0(驱动程序信息:chromedriver = 2.28.455520(cc17746adff54984afff480136733114c6b3704b),platform = Windows NT 6.1。 7601 SP1 x86_64)在Chromedriver.callee $ 2 $ 0 $(C:\ Users \ Sample \ AppData \ Local \ Programs \ appium-desktop \ resources \ app \ node_modules \ appium \ node_modules \ appium-chromedriver \ lib \ chromedriver.js:176 :15)
谢谢和问候, Manasa
答案 0 :(得分:0)
Appium无法在支持低于4.2的Android版本的移动设备上执行测试。
答案 1 :(得分:0)
从堆栈跟踪中可以清楚地看到您面临的问题:
Chrome version must be >= 55.0.2883.0 (Driver info: chromedriver=2.28.455520
With each update to Chromedriver there is an increase in the minimum supported version of Chrome,因此您有几种选择:
caps.setCapability("chromedriverExecutable", "/abs/path/to/chromedriver.exe")
它应该也能正常工作!