The Select object will now give you a series of commands that allow you to interact with a <select> element. If you are using Java or .NET make sure that you’ve properly required the support package in your code. See the full code from GitHub in any of the examples below. Note that this class only works for HTML elements select and option. It is possible to design drop-downs with JavaScript overlays using div or li, and this class will not work for those.