Selenium/How-to/Set environment variables

You can target different environments with the same code. To do so, all you have to do is to set environment variables, or create an  file. The file needs to be at the root of the repository. Both options do the same thing. It is up to you do decide which one to use.

Run this manually from the terminal. To make it easier for next time, you can set them from shell configuration file (, ...). That means the variables are always available from any terminal session.

Target Beta cluster
Environment Variables.

file.

Of course, replace  and   with your username and password.

Target MediaWiki-Docker
Environment Variables.

file.

Target MediaWiki-Docker-Dev
Environment Variables.

file.

Target MediaWiki-Vagrant
Environment Variables.

file.