1.0.2-70 • Published 6 years ago

@applitools/chrome v1.0.2-70

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
6 years ago

chrome

Application that yada yada yada.

Installing

  • This package is meant to be used as a docker container, passing the environment variables as defined below.
docker run -d applitools/chrome
  • Alternatively, it can be run using ./scripts/run-chrome.js, passing the environment variables as defined below.
npm install -g @applitools/chrome
run-chrome.js
  • Alternatively, you can import it and create the app (see below), passing it the configuration as defined below.
npm install @applitools/chrome

Services it depends on

  • Yada: yada yada

Queue Job Schema

A JSON with the following fields:

  • yada: yada yada

Environment variables needed by docker container and application

  • YADA_YADA: yada

Using the package to run the application

const createApp = require('@applitools/chrome')

// configuration options aee the same as the above corresponding environment variables
const app = createApp({})

// app is an express app. Use listen to start it in the usual way
app.listen(/*...*/)