from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from chromedriver_py import binary_path
from selenium.webdriver.chrome.service import Service from selenium.webdriver.common.by import By
from selenium.webdriver.suppert.select import Select
service = Service(executable_path=binary_path)
options = webdriver.ChromeOptions()#它会根据自己电脑的chrome版本匹配对应的chrome驱动
diver=webdriver.Chrome(service=service,options=options)