The Multiverses – Cross-Browser Testing and Cross-Environment Testing
In this chapter, we will begin adding the mutant power of horizontal scaling to browser operating systems and other platforms. This is in contrast to vertical scaling, which involves adding more tests to our suites, such as adding more floors to a superhero base that’s hiding in plain sight. Horizontal scaling is like expanding to more buildings up and down the city block. Our tests can run in multiple browsers, versions, operating systems, and other platforms. What this means is that if we are using a Mac as opposed to a Windows PC, then we will be confident that our applications and tests run well on our chosen browser. Chrome is typically the target browser because of the large number of users on both Windows and Mac. But many Mac users prefer Safari and Windows users prefer Edge. So, how do we ensure these combinations get tested?
That’s where the standalone Selenium WebDriver service...