by.cssselector documentation code example
Example: by.cssselector
WebElement firstName = driver.findElement(By.cssSelector("input[name='first_name']"));
WebElement firstName = driver.findElement(By.cssSelector("input[name='first_name']"));