What is Object Repository?

How can we create an Object Repository in Selenium?

Replies (1)

An Object Repository is a central file or class used to store web element locators to improve code maintenance and reusability. In Selenium, this is best achieved using the Page Object Model (POM), which organizes elements into dedicated page classes rather than hardcoding them into test scriptts.

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register