Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
testingbot-tunnel-launcher
Advanced tools
Readme
A library to download and launch TestingBot Tunnel.
npm install testingbot-tunnel-launcher
var testingbotTunnel = require('testingbot-tunnel-launcher');
testingbotTunnel({
apiKey: 'key',
apiSecret: 'secret',
verbose: true
}, function (err, tunnel) {
if (err) {
console.error(err.message);
return;
}
console.log("Tunnel ready");
tunnel.close(function () {
console.log("Tunnel closed completely");
})
});
var testingbotTunnel = require('testingbot-tunnel-launcher'),
options = {
// The TestingBot API key which you can get for free, listed in our member area
apiKey: 'key',
// The TestingBot API secret which you can get for free, listed in our member area
apiSecret: 'secret',
// More verbose output from the tunnel
verbose: true,
// Port on which the tunnel Selenium relay will listen for
// requests. Default 4445. (optional)
se-port: null,
// Proxy host and port the tunnel can use to connect to an upstream proxy
// e.g. "localhost:1234" (optional)
proxy: null,
// a comma-separated list of domains that
// will not go through the tunnel. (optional)
fast-fail-regexps: null,
// Write logging output to this logfile (optional)
logfile: null,
// Change the tunnel version - see versions on https://testingbot.com/support/other/tunnel
tunnelVersion: "1.19", // or 2.1 (Java 8)
// Gives this tunnel a unique identifier
tunnelIdentifier: "myIdentifier"
};
testingbotTunnel(options, function(err, tunnel) {
console.log("Started Tunnel");
tunnel.close(function () {
console.log("Closed tunnel");
});
});
You can pass the TestingBot credentials as apiKey
and apiSecret
in the options.
You can also create a ~/.testingbot
file with apiKey:apiSecret
as content
npm test
tunnelIdentifier
tunnelVersion
support to specify which version of the tunnel you want to useCopyright (c) TestingBot <info@testingbot.com>
FAQs
A wrapper around TestingBot's Tunnel
The npm package testingbot-tunnel-launcher receives a total of 1,271 weekly downloads. As such, testingbot-tunnel-launcher popularity was classified as popular.
We found that testingbot-tunnel-launcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.