selenium webdriver find by xpath code example Example: selenium ways of finding elementcss= driver.findElement(By.cssSelector('div.nav-search-input'))