First find the element by link_text, then double click the element using ActionChains as mentioned in this answer:

from selenium.webdriver.common.action_chains import ActionChains

folder = driver.find_element_by_xpath("//*[contains(text(), '9908')]")
actionChains = ActionChains(driver)
actionChains.double_click(folder).perform()

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top