Appium appium+ruby 环境下 测试混合型 app 时,webview 与 native 之间如何切换

bingo · October 11, 2017 · Last by bingo replied at October 11, 2017 · 1856 hits

通过网上的搜索,已经尝试过 driver.switch_to.context("WEBVIEW") 方法

提示没有 context 方法

查看源码 就把 context 换成了 window 也会报错
报错如下图

希望懂得人指导一下,谢谢

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