What is Locators We have seen in our previous sesssions, that how can we launch a web browser and how…