selenium get element with by classes code example
Example 1: selenium select element by id
driver.findElement(By.id("ui-datepicker-div"));
Example 2: selenium ways of finding
elementcss= driver.findElement(By.cssSelector('div.nav-search-input'))