1. 导包 from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as ec from selenium.webdriver.common.by import By 2. 创建 webdriver driver = webdriver.Chrome(execut…