• 我这边执行的时候,报这个错,楼主解决了吗?
    [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.tencent.mm:tools"]
    [W3C (342f6e01)] Encountered internal error running command: NoSuchContextError: No such context found.
    [W3C (342f6e01)] at AndroidUiautomator2Driver.setContext (C:\Users\TF015581\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\commands\context.js:57:11)
    [HTTP] <-- POST /wd/hub/session/342f6e01-20ed-4a6b-a991-f24342cae78f/context 400 341 ms - 337
    [HTTP]

  • 我用的 Appium v1.4.16,手机是荣耀 8,Android 版本 8;在做 app 自动化时,从列表跳转到详情页就定位不到元素了