driver的定义部分自行添加
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.keys import Keys
from selenium import webdriver
ActionChains(self.driver).key_down(Keys.CONTROL).perform()
self.driver.find_element_by_class_name("chartContainer").click()
self.driver.find_element_by_class_name("dropdown").click()
ActionChains(self.driver).key_up(Keys.CONTROL).perform()