05 2017 档案

摘要:1.Simple operation (1). Click() (2). Clear() (3). Send_Keys() 2. Submit the form submit() 3.Keyboard operation from selenium.webdriver.common.keys imp 阅读全文
posted @ 2017-05-16 15:16 Linazhu 阅读(131) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/tinghai8/p/5673691.html 阅读全文
posted @ 2017-05-09 09:56 Linazhu 阅读(126) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/yoyoketang/p/6128636.html 阅读全文
posted @ 2017-05-08 18:02 Linazhu 阅读(141) 评论(0) 推荐(0) 编辑
摘要:1.swith to ifram driver.switch_to.frame(driver.find_element_by_id("z_hppm_iframe")) 2.go back to the normal pge driver.switch_to.default_content() 阅读全文
posted @ 2017-05-08 17:59 Linazhu 阅读(105) 评论(0) 推荐(0) 编辑
摘要:1.find_element_by_id() 2.find_element_by_name() 3.find_element_by_class_name() 4.find_element_by_tag_name() 5.find_element_by_link_text() 6.find_eleme 阅读全文
posted @ 2017-05-08 17:56 Linazhu 阅读(131) 评论(0) 推荐(0) 编辑
摘要:1. from selenium import webdriver 2. open the browser: webdriver.IE() webdriver.Chrome() 3.Set hibernation time import time time.sleep(4) webdriver.im 阅读全文
posted @ 2017-05-08 17:54 Linazhu 阅读(149) 评论(0) 推荐(0) 编辑