I am creating a selenium test with java. I want to automize a dropdown menu in a dialogue. The xpath of the dropdown menu is:
/html/body/div[8]/div/div/form/div[2]/div[2]/div[2]/div/select
My problem is that I cant select an element from the dropdown menu. I used:
new WebDriverWait(driver, 20).until
and ExpectedCondition to select an element. Can you help me to find a way to select an element from the drop-down.