Last updated June 15, 2020

In this tutorial, we'll learn the basics of installing and setting up your local development environment to run functional JavaScript tests within a Drupal site using WebDriver, Selenium, and ChromeDriver. By the end of this tutorial, you should be able to:

  • Install Selenium and ChromeDriver
  • Start the Selenium server
  • Configure environment variables related to this testing setup
  • Execute Drupal's functional JavaScript tests using WebDriver
  • View and debug tests in Chrome browser