To get started with this SDK, you need to set the following:
- Applitools API key
- Eyes server URL - Required only if the Eyes server is not deployed on the Eyes public server.
To authenticate via the Applitools server and run tests, you need to set the environment variable APPLITOOLS_API_KEY
to the API key provided from Applitools Eyes. For details how to retrieve your API key, see the Applitools documentation.
export APPLITOOLS_API_KEY=<API_key>
set APPLITOOLS_API_KEY=<API_key>
If the Eyes server is not deployed in https://eyes.applitools.com
, you need to set the Server URL in the environment variable APPLITOOLS_SERVER_URL
before running tests.
The server URL of your Applitools Eyes dashboard is in the format https://<MY_COMPANY>.applitools.com
export APPLITOOLS_SERVER_URL=<YOUR_SERVER_URL>
set APPLITOOLS_SERVER_URL=<YOUR_SERVER_URL>
For further information, see: