解决方法: 1. 先回到最外层框架 2.进入要定位元素的框架driver.switch_to.default_content()#回到主框架
posted on 2020-07-05 11:51 summer_cy 阅读(1116) 评论(0) 收藏 举报