Selenium/Getting Started/Run tests targeting MediaWiki-Docker

Advantages
Running Selenium tests targeting custom MediaWiki installation has several advantages:


 * It will be fast, since the target machine is local.
 * MediaWiki core Selenium test run takes less than 20 seconds on my machine.
 * It takes about 2-3 minutes for mediawiki-core-qunit-selenium-jessie Jenkins job to run.
 * After everything is set up, you do not need an internet connection.
 * Debugging failed tests will be easier, since you will see the browser.
 * You already have a custom MediaWiki install.

Disadvantages

 * You will have to install MediaWiki, Selenium and their dependencies on your machine.

Set up MediaWiki

 * You have already installed it.

Install dependencies
You will need internet access for this step. Depending on your operating system, installing dependencies will be different.

Chrome

 * Install Chrome.
 * Download ChromeDriver and put it in a folder included in.

Node.js

 * Install Node.js.
 * Install required npm packages.