Appium only shows NATIVE_APP context on a Cordova App

前端 未结 2 809
忘掉有多难
忘掉有多难 2020-12-30 18:05

I\'m running Appium on Windows to test a Cordova app directly on an Android device. However, when I try to fetch the contexts and switch to the one containing WEBVIEW<

2条回答
  •  礼貌的吻别
    2020-12-30 19:06

    Did you try to force select of webview? For example in JAVA:

    driver.switchTo().window("WEBVIEW");
    

    I'm also testing cordova app and it is working well.

提交回复
热议问题