from selenium.webdriver.common.action_chains import ActionChains #引入鼠标事件 from selenium.webdriver.common.keys import Keys #引入键盘事件