Appium 无法在 Android 上切换上下文 webview

vanlong-nox · 2019年05月08日 · 最后由 vanlong-nox 回复于 2019年05月10日 · 11 次阅读

我在 EDGE 浏览器 Android 上测试自动化。 我无法切换到 WEBVIEW,我尝试了很多版本但失败了。

我不懂中文. 遗憾.



共收到 8 条回复 时间 点赞

这个~~外国友人都开始来逛 testerHome 了么😀

是的,在 google 上搜索时,我了解了 testerHome 社区. 😜

Thanks, I also switched to webview in the Bootstrap app, but it can't be with Edge 😓

vanlong-nox 回复

neither can I

vanlong-nox 回复

Hi, you can speak english here, most people can understand.

vanlong-nox 回复
➜  ~
curl \
  -d '{"desiredCapabilities":{"chromeOptions":{"androidPackage":"","androidActivity":"","androidDeviceSerial":"R28M31Y995A"}}}' \
  -H "Content-Type: application/json" \
  -XPOST http://localhost:9515/session
{"sessionId":"cde6962a7360107f1399fa716f47e1d2","status":13,"value":{"message":"unknown error: Failed to get sockets matching: @webview_devtools_remote_.*27586\n  (make sure the app has its WebView configured for debugging)\n  (Driver info: chromedriver=75.0.3770.8 (681f24ea911fe754973dda2fdc6d2a2e159dd300-refs/branch-heads/3770@{#40}),platform=Mac OS X 10.14.4 x86_64)"}}%

Seems Edge not has its WebView configured for debugging

thanks everyone. 😄
we should stop, waiting for the new version of Edge.
TesterHome, Thanks very much!

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册