click 事件
点击事件click
url = 'http://www.nstl.gov.cn/NSTL/facade/search/issueBrowse.do?journalid=20898d19f2343eb35d95b5533cb1c52e&recordid=N2015120400163858'
driver = webdriver.Chrome()
driver.get(url)
issues = driver.find_elements_by_xpath('//div[@id="myltree"]/a')
for issue in issues[1:]:
# 第一次点击事件获取所有的卷
issue.click()
网友评论