只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-07-23 11:25 Tester_Jhm 阅读(8) 评论(0) 推荐(0)
摘要: 今天发现之前的登录163邮箱脚本定位不到iframe了,原因是iframe拼接了动态ID,修改后的脚本如下: 总结一下常见iframe定位方法。 一、非动态的iframe,通常通过以下方式定位: 1.有id,如果唯一,可直接写id driver.switch_to.frame("id") 2.有na 阅读全文
posted @ 2019-07-23 10:14 Tester_Jhm 阅读(1750) 评论(0) 推荐(2)