Appium appium+genymotion:webview 切换报错

April · December 07, 2017 · 1128 hits

环境:appium+genymotion
代码如下:
contexts = self.driver.contexts
print(contexts)
self.driver._switch_to.context("WEBVIEW_com.fdzq.app")
print("11111")
现象:在切换 webview 的时候报错,“11111” 未打印出来
appium 日志截图:

No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up