A best practice while coding Selenium is always to follow a design pattern. We will go over design patterns in a subsequent chapter.
We should always have modular code delinked from each other so that when one module changes, there is no impact on other modules.