Selenium/How-to/Run tests targeting Cli

Follow instructions from Run tests targeting MediaWiki-Docker but instead of installing MediaWiki-Docker, install Cli.

Prerequisites

 * Cli/guide/Installation
 * Cli/guide/Docker-Development-Environment

command will output important information.

Environment variables
Ensure the following environment variables are set. Either run this manually from the terminal or, to make it easier for next time, set them from shell configuration file (, ...) which means the variables are always available from any terminal session:

If you prefer, you can create an  file instead (in MediaWiki Core folder), with this contents.