Skip to content Skip to sidebar Skip to footer

How To Click Mouse Over Sub Menu In Selenium?

I want to click invisible html's sub menu click. *invisible html source
  • H

Solution 1:

Search by PARTIAL_LINK_TEXT as well as search by LINK_TEXT is used for anchor tags only (<a>), so you might try to use

wait.until(EC.presence_of_element_located((By.XPATH, '//input[@type="checkbox"][contains(text(), "男")]'))).click()

Post a Comment for "How To Click Mouse Over Sub Menu In Selenium?"