eg-tunnel
Allows user to run tests with eg-browser and navigate to private hosts and ips
Installing
Don't forget to give execute permissions to the file !
- Alternatively, you can import it and create the app (see below), passing it the configuration as defined below.
npm install @applitools/eg-tunnel
Using the package to run eg-tunnel
const startEgTunnel = require('@applitools/eg-tunnel')
const cleanupFunction = startEgTunnel()
Environment Variable
- APPLITOOLS_EG_TUNNEL_PORT - The port of eg-tunnel service (by default, the service listens to a random port)
- APPLITOOLS_EG_TUNNEL_MANAGER_URL - eg-tunnel-manager-url (https://exec-wus.applitools.com)
- APPLITOOLS_EG_TUNNEL_MIN_PORT_RANGE - min port
- APPLITOOLS_EG_TUNNEL_MAX_PORT_RANGE - max port