爬取网页上的信息import time from selenium import webdriver path C Program Files Google Chrome Application chromedriver.exe driver webdriver.Chrome executable path path driver.get https wwwxxxx.com JavascriptExecutor driver.executeScript window.scrollTo0document.body.scrollHeight