Question: how to select value from drop down list in selenium webdriver using xpath?
Answer: Import the "Select" package. Declare the drop-down element as an instance of the Select class. In the example below, we named this instance as "drpCountry". We can now start controlling "drpCountry" by using any of the available Select methods. The sample code below will select the option "ANTARCTICA."