What is WebElement method?
WebElement is used to get an Element on the web page. It can be an image, a text, a button or any other HTML element. - The getter of WebElement API returns the most appropriate Element for the specified locator. For instance, if you want to find a type of element that corresponds to tag, it will search for that kind of tags on the page and return the first match.