摘要: contact_mobile=wait.until(lambda x:x.find_element_by_xpath("//*[@id='iaddress_TEL_wrap']//dd//input")) 阅读全文
posted @ 2019-04-26 16:32 烟七七 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 定位iframe # 1.有id,并且唯一,直接写id driver.switch_to_frame("x-URS-iframe") driver.switch_to.frame("x-URS-iframe") # 2.有name,并且唯一,直接写name driver.switch_to_fram 阅读全文
posted @ 2019-04-26 11:38 烟七七 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 转载出处:https://www.jianshu.com/p/5af3974c40c7 126邮箱实例 开头鸡汤:不忘初心,方得始终。 测试环境搭建: Python3.5版本 下载地址:https://www.python.org/ selenium3.11版本 通过pip install sele 阅读全文
posted @ 2019-04-26 11:38 烟七七 阅读(1821) 评论(0) 推荐(0) 编辑
摘要: 错误提示: Traceback (most recent call last): File "E:/PythonData/Login/venv/logIn.py", line 18, in <module> driver2.switch_to.frame(driver2.find_element_b 阅读全文
posted @ 2019-04-26 11:28 烟七七 阅读(639) 评论(0) 推荐(0) 编辑