1//required imports
2WebDriver driver = new ChromeDriver();
3WebElement objWE;
4//There are many way most common are id and xpath
5objWE = driver.findElement(By.id("String of id attribute"));
6//To find the xpath easily hit F12 and right click the element you want
7//and copy xpath then paste it
8objWE = driver.findElement(By.xpath("//*[@id="search"]/div[2]/div[6]/div[1]/div/div"));