题在这里
http://cytao.top/PDF/1+x题库第二题.pdf
from selenium import webdriver
from selenium.webdriver.support.select import Select
driver=webdriver.Chrome()
driver.get("http://192.168.3.156:8080/suthr/logon")
driver.implicitly_wait(30)
driver.maximize_window()
driver.find_element_by_id("username").send_keys("hrteacher")
driver.find_element_by_xpath("//*[@id='password']").send_keys("123456")
driver.find_element_by_class_name("btn").click()
driver.find_element_by_link_text("个人证书").click()
Select(driver.find_element_by_name("dictCerType")).select_by_visible_text("学位证")
评论 (0)