WebDrvier is a collection of related methods. WebElements are buttons, text boxes, checkboxes, drop-down menus, hyperlinks, etc. on a web application. The Building Blocks for Selenium WebDriver is to first locate a WebElement then perform an action on the WebElement.
A configuration for WebDriver is required before importing its packages…