解决找不到iframe的问题

解决方法: 1. 先回到最外层框架 2.进入要定位元素的框架

driver.switch_to.default_content()#回到主框架

原文地址:https://www.cnblogs.com/summer-cy/p/13240437.html