@xjjava 你好 我也是遇到切换进入第二个 webview 界面 无法操作 你搞定了吗?
@TheRoadNotTaken 微信小程序 我 click 就动了一下 没有进入 但是代码是执行成功了 知道什么情况吗
@TheRoadNotTaken 微信小程序的元素 我 click 稍微动了一下 但是没有点击进入? 知道什么情况吗
还有就是 switch_to 公众号界面 10 次成功 2 次...大几率切换失败
公众号界面打开的第二个公众号界面 操作好像又卡住了 session 2 分钟后报错 print source 显示 None?
有谁知道吗
@utopia 刚刚我也证实了 谷歌的 inspect 不能用来定位微信小程序 因为 get source 完全与谷歌定位到的 xpath 路径不一样 不知道 seveniruby 怎么做到的..感觉好像用了什么工具 devtool ? app 混合型的 webview 好像是能实现的
@cynic 切换 webview 的问题解决了 现在就是 操作 webview 里面的元素 click 报错... 不知道啥情况...
@seveniruby 楼主 有个疑问 你 androidProcess 配置 填的是"com.tencent.mm:appbrand1" 为什么 driver.context("WEBVIEW_com.tencent.mm:tools") 而不是 driver.context(“com.tencent.mm:appbrand1”)?
@ort886 我 chrome not reachable 的问题解决了 现在就是跟你一样 切进去了 没任何反应 一会后元素点击报错... 我的 chromedriver2.25 chrome 版本 54 请问你怎么解决了?
warn: Chromedriver for context WEBVIEW_com.tencent.mm:tools stopped unexpectedly
warn: Chromedriver quit unexpectedly, but it wasn't the active context, ignoring
error: Chromedriver: Chromedriver exited unexpectedly with code null, signal SIGTERM
info: Chromedriver: Changed state to 'stopped'
error: Chromedriver: Error: An error occurred (Original error: chrome not reachable
(Driver info: chromedriver=2.18.343837
我的报错代码 :
Chromedriver: Error: An error occurred (Original error: chrome not reachable
(Driver info: chromedriver=2.18.343837 (52eb4041461e46a6b73308ebb19e85787ced4281),platform=Mac OS X 10.11.5 x86_64))
at JWProxy.command$ (lib/proxy.js:149:15)
at tryCatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-chromedriver/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as next
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-chromedriver/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:254:14)
at GeneratorFunctionPrototype.runBound (domain.js:267:12)
at run (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-chromedriver/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:89:39)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-chromedriver/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js28
at process._tickDomainCallback (node.js:381:11)
{ [Error: An error occurred (Original error: chrome not reachable
(Driver info: chromedriver=2.18.343837 (52eb4041461e46a6b73308ebb19e85787ced4281),platform=Mac OS X 10.11.5 x86_64))]
status: 100,
value: { message: 'chrome not reachable\n (Driver info: chromedriver=2.18.343837 (52eb4041461e46a6b73308ebb19e85787ced4281),platform=Mac OS X 10.11.5 x86_64)' },
httpCode: 200 }
info: --> GET /wd/hub/status {}
error: Could not proxy command to remote server. Original error: connect ECONNREFUSED
info: JSONWP Proxy: Proxying [GET /wd/hub/status] to [GET http://127.0.0.1:9515/wd/hub/status] with body: {}
info: --> GET /wd/hub/status {}
error: Could not proxy command to remote server. Original error: connect ECONNREFUSED
info: JSONWP Proxy: Proxying [GET /wd/hub/status] to [GET http://127.0.0.1:9515/wd/hub/status] with body: {}
info: --> GET /wd/hub/status {}
error: Could not proxy command to remote server. Original error: connect ECONNREFUSED
info: JSONWP Proxy: Proxying [GET /wd/hub/status] to [GET http://127.0.0.1:9515/wd/hub/status] with body: {}
info: --> GET /wd/hub/status {}
error: Could not proxy command to remote server. Original error: connect ECONNREFUSED
info: JSONWP Proxy: Proxying [GET /wd/hub/status] to [GET http://127.0.0.1:9515/wd/hub/status] with body: {}
info: --> GET /wd/hub/status {}
@ort886 我 chromedriver 提示 chrome not reachable 是什么情况?
@tianyinjiao 海角 你我也是 chrome not reachable 请问你搞定了吗
@sevenlruby 请问楼主 我 appium 提示 chrome not reachable 是什么情况?