RE: How to Retrieve the values from a drop down using selenium-WebDriver?
I am using below script to retrieve specific item from drop down but it’s not working.
Select salTitle = new Select(driver.findElement(By.id(“s2id_QuickEnquiryForm_salutation”)));
showing below Error in console “Exception in thread “main” org.openqa.selenium.suppo
please find the Below HTML,Source code for your reference!!
please find the attached image for HTML code of Specific to that field.
I welcome any input!
Thanks in advance!!