Quick Tip: Selenium – select / deselect a value from a dropdown

The What Having an HTML dropdown on a web page, i would like to select, via Selenium, an element from it, or deselect the selected one. An example of an HTML representation of a dropdown can be found below – it displays a list of winter months: <select id=”winter”> <option value=”Dec”>December</option> <option value=”Jan”>January</option> <option value=”Feb”>February</option>… Read More