get elements by class attribute selenium code example
Example: selenium ways of finding
elementcss= driver.findElement(By.cssSelector('div.nav-search-input'))
elementcss= driver.findElement(By.cssSelector('div.nav-search-input'))