we need to use the Select class, which provides methods to select and deselect options from a drop-down list. You can import the Select class from the package org.openqa.selenium.support.ui.Select¹.