摘要: 1、切换上下文 contexts = self.driver.contexts #获取全部的上下文 self.driver.switch_to.context(contexts[-1]) #切换到webview页面driver.switch_to.context(contexts[0]) #切换回N 阅读全文
posted @ 2020-03-17 18:21 spellbound 阅读(841) 评论(0) 推荐(0) 编辑