随笔分类 -  python+selenium 自动化之路

python+selenium 自动化之路
摘要:contact_mobile=wait.until(lambda x:x.find_element_by_xpath("//*[@id='iaddress_TEL_wrap']//dd//input")) 阅读全文
posted @ 2019-04-26 16:32 烟七七 阅读(343) 评论(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 烟七七 阅读(526) 评论(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 烟七七 阅读(670) 评论(0) 推荐(0)