app C:\Users\v-hongweishi\AppData\Local\Programs\Xmind\Xmind.exe
deviceName DESKTOP-7NJ1ENB
platformName Windows
应用程序ID(AppId)是应用程序用户模型 ID (AppUserModelID),简称 AUMID
Outlook Microsoft.Office.OUTLOOK.EXE.15
邮件 microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.windowslive.mail
Outlook (new) Microsoft.OutlookForWindows_8wekyb3d8bbwe!Microsoft.OutlookforWindows
###################################
ActionChains(driver).double_click(control_panel_element).perform()
###################################
from selenium.webdriver.support import expected_conditions as EC
字体选择
combox_btn = WebDriverWait(driver, 30, 1).until(
EC.visibility_of_element_located((By.XPATH, "//ComboBox[@Name='字体系列']/Button")))
combox_btn.click()
###################################
from selenium.webdriver.support.ui import WebDriverWait
temp_element = WebDriverWait(driver, 1, 1).until(EC.visibility_of_element_located((By.XPATH, "//List[@Name='字体系列']")))
temp_element.send_keys(Keys.PAGE_DOWN)
###################################