ActionChains函数
可代替无法定位元素
ele=driver.find_element(By.XPATH,'//*[@id="advanced_search_departmentId"]')尾句 perform()必须带
ActionChains(driver).move_to_element_with_offset(ele,0,100).click().perform()
ActionChains函数
可代替无法定位元素
ele=driver.find_element(By.XPATH,'//*[@id="advanced_search_departmentId"]')尾句 perform()必须带
ActionChains(driver).move_to_element_with_offset(ele,0,100).click().perform()