lecture 15 of 180 completed

Scaling limits and their honest ceiling

Where Selenium suites stop scaling, what actually causes it, and what a realistic ceiling looks like.

What you'll learn

  • Where the time in a large Selenium suite actually goes
  • What to fix before buying machines
  • What a realistic ceiling looks like

Six thousand tests, a four-hour run, and a request to make it faster. This lecture is where the time goes and what can realistically be done about it.

Measure before optimising. Split your suite's run time into five buckets. Add timestamps to your logs or your reporter at each boundary:

Where What to time
Browser startup and teardown From build() to the first command, and the quit() call
Setup through the UI Every step that creates data by filling forms
Protocol round trips The count of driver commands per test
Waiting for the application Time spent inside driver.wait
The behaviour under test The steps the test exists to check

full course

Keep reading with the full course

The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.

See course plans →