Skip to main content Link Menu Expand (external link) Document Search Copy Copied


The setVariables action sets environment variables from a .env file. This action is useful for accessing sensitive information, such as API keys or other credentials, without hardcoding them into your tests.

For comprehensive options, see the setVariables reference.


  "description": "Set environment variables from a .env file.",
  "action": "setVariables",
  "path": "./secrets.env"