Currently, I am facing the issue of selecting a random value from the drop-down list, but I don't want to select the placeholder value in Selenium Java. HTML Can you please help me select a random value from the list, but I don't want to select placeholder value 0. Thanks in advance.
I have tried with blow xpath, but sometimes it selects a placeholder value as well. //*[@id='ddlEnquirySource']/div/ul/li