Appium中使用H5页面无法切换环境

1。定位app的H5页面,使用 contexts = self.driver.contexts 打印print(contexts)  发现结果只有natives,

原因为要开发在打包时,开启webview的debug属性setWebContentDebuggingEnabled(true)

2.使用Chrome后页面为空白页,需要FQ~

猜你喜欢

转载自www.cnblogs.com/zzxzxj/p/10975381.html
今日推荐