Selenium/Getting Started/Run tests using Fresh

This page describes how to run Selenium tests locally on your local MediaWiki install.

Note that if you use MediaWiki-Vagrant, there is a dedicated page for running Selenium Node.js on MediaWiki-Vagrant.

Advantages
Compared to other ways of running the Selenium tests:


 * Local tests should complete much quicker (typically under a minute, instead of 5-10 min through Jenkins).
 * Works without an internet connection.
 * Doesn't require installing ChromeDriver
 * Doesn't require installing FFmpeg.

Disadvantages

 * You need to have Docker installed.

Prerequisites

 * Local MediaWiki installation. For example using mediawiki-docker-dev.
 * Install Docker See Docker CE for Linux, Docker for Mac, or Docker for Windows.

Run Selenium tests
…