learn to use css selector in selenium code example Example: css selenium elementcss= driver.findElement(By.cssSelector('div.nav-search-input'))