Socket
Book a DemoInstallSign in
Socket

@applitools/eyes-testcafe

Package Overview
Dependencies
Maintainers
49
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/eyes-testcafe

Applitools Eyes SDK for TestCafe

npmnpm
Version
6.3.3
Version published
Maintainers
49
Created
Source

Applitools Eyes SDK for TestCafe.

Installation

Install Eyes-Testcafe as a local dev dependency in your tested project:

npm i -D @applitools/eyes-testcafe

Getting started

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.

Entering the Applitools API key

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 in the Eyes Knowledge Center.

To to this, set the environment variable APPLITOOLS_API_KEY to the API key before running your tests.

Entering the API Key on Linux or a Mac

export APPLITOOLS_API_KEY=<your_key>
npx testcafe chrome:headless some-test-dir

Entering the API Key on Windows

set APPLITOOLS_API_KEY=<your_key>
npx testcafe chrome:headless some-test-dir

Entering the API Key in the config.js file

You can also specify the API key in the applitools.config.js file. The property name is apiKey.

Example

module.exports = {
  apiKey: 'YOUR_API_KEY',
  ...
}

Further information

For further information, see:

Keywords

eyes-testcafe

FAQs

Package last updated on 27 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts