Why Are Selenium WebDriver Scripts Slow

We use the Selenium WebDriver framework for automating website testing.

Automation scripts are created using

  • a programming language
  • a unit testing framework
  • the Selenium WebDriver framework


When the automation script is executed, the following happen

  • the browser is started on the computer
  • the site is loaded in the browser
  • the script interacts with the site in the browser


Many factors can impact the script's speed:

  • if the computer is not fast, starting the browser is slow
  • if the internet connection is not fast, loading the site is slow
  • the site can be slow for many reasons (high number of concurrent users, slow servers)