environments.json
The environments.json
file allows the user to specify different testing environments along with the base URLs of those environments. The settings.json file can specify a defaultEnvironment
. The run
command’s --environment
flag can specify an environment to use for that test run.
Format
{
"production": "http://www.your-production-env.com/",
"test": "https://www.seleniumeasy.com/test",
"dev": "http://www.your-dev-env.com",
"uat": "http://www.your-uat-env.com"
}