In this chapter, we learned about Selenium Grid, how a hub and node will work, and, more importantly, how to configure your Selenium Grid to have better control over the environment and infrastructure. The Selenium Grid will enable cross-browser testing for the application by covering combinations of operating systems and browsers. We also saw how to use cloud services, such as Sauce Labs, to execute tests in a remote cloud environment.
In the next chapter, we will learn how to create reusable and modular tests using the Page Object pattern.