Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'tunnelDomains' to options page #109

Open
brianjoyner opened this issue Nov 23, 2016 · 0 comments
Open

Add 'tunnelDomains' to options page #109

brianjoyner opened this issue Nov 23, 2016 · 0 comments

Comments

@brianjoyner
Copy link

Checked to see if the adding 'tunnelDomains' works within the sauceConnectLauncher options and it does.

Recommend updating readme to include this option.

var options = {
            username: username,
            accessKey: password,
            tunnelDomains : '*domain1.com,*domain2.net'
        };

        var promise = new Promise(function(resolve,reject){
            sauceConnectLauncher(options,function(error, sauceConnectProcess){
            if (sauceConnectProcess.tunnelId) {
                console.log('id = ' + sauceConnectProcess.tunnelId);
                resolve ();
            } else if (error){
                reject (error.message);                
            }
        });
        }).then(function(result){
            console.log('Tunnel Is Established');
        },function(error){
            console.log(error);
        });

        return promise;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant