Question: how to select second value from dropdown in selenium?
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."