from selenium import webdriver driver=webdriver.Chrome() driver.get("http://wenshu.court.gov.cn/List/List?sorttype=1&conditions=searchWord+1+AJLX++%E6%A1%88%E4%BB%B6%E7%B1%BB%E5%9E%8B:%E5%88%91%E4%BA%8B%E6%A1%88%E4%BB%B6") # driver.execute_script("window.scrollTo(0,document.body.scrollHeight)") driver.execute_script("a=DownLoadCase('8252121f-8260-4241-b707-018d52d151ca|宋皓犯受贿罪刑事决定书|2014-12-29')") driver.execute_script("alert('DownloadOk')")