#定位元素 pod_input = driver.find_element(By.ID, 'j_idt9:searchForm:j_idt11:toSelectorLocation:toSelectorLocation_input') #双击这个 pod_input from selenium.webdriver import ActionChains action_chains = ActionChains(driver) action_chains.double_click(pod_input).perform()