clear selenium action chains clear selenium action chains selenium selenium

clear selenium action chains


use the method reset_actions()


Try Something Like this:

ActionChains(self.driver).move_to_element(self.driver.find_element_by_xpath("Something")).clear()

May have to add a click function beforehand, if so try this:

ActionChains(self.driver).move_to_element(self.driver.find_element_by_xpath("Something")).click()ActionChains(self.driver).move_to_element(self.driver.find_element_by_xpath("Something")).clear()