I was using WebElement.findElement(By.cssSelector('')).click(); to find an element on a page , but it returned "Unable to locate element", But when I used WebDriver.findElement(By.cssSelector('')).click(); then it was able to find the element and clicked on it.
I am unable to understand the difference between the findElement() of the two interfaces.
Kindly Help.