I need to select an option form a dropdown list.I tried many ways to click on the dropdown then select the option I need, the click on the dropdown success but it fails in selecting the choice.
Here are the lines of code:
WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH,'//* [@id="arid_WIN_3_1000000163"]'))).click()driver.find_element(By.CSS_SELECTOR, ".MenuEntryNameHover").click()driver.find_element(by=By.XPATH,value='//*[contains(text(), "4-Minor/Localized")]').click()
This is the screenshotDropdown List Image