A browser farm is a pool of browsers hosted in the cloud to run functional tests in parallel. It adds machine-level parallelism when a build agent cannot run many resource-intensive Selenium tests at once. section 7.3.2
A typical setup:
- Uses a central Selenium Grid server to allocate browsers from the farm exclusively to tests. section 7.3.2
- Can shorten test feedback time, but the scale and speedup depend on running browsers in parallel rather than sequentially on one build agent. section 7.3.2
Faster test runs
A pool of 20 browsers per build agent is given as an example that can reduce a three-hour build to under ten minutes. section 7.3.2
Figure 7.7. Selenium tests running in parallel against a single test environment on a CI build agent
Illustrates Selenium tests running in parallel. section 7.3.2
