webdriverio-boneyard / wdio-sauce-service

WebdriverIO v4 service for better Sauce Labs integration
http://webdriver.io
MIT License
18 stars 21 forks source link

Allow connecting to an existing Sauce-Connect #18

Closed si-mikey closed 7 years ago

si-mikey commented 7 years ago

Is it possible to launch this service to connect to an existing sauce-connect tunnel that is already set up in saucelabs? This service seems to launch one automatically.

christian-bromann commented 7 years ago

yes, just set host and port to the started SC server and don't start one with the service

si-mikey commented 7 years ago

Great!, would be it be something like ? much appreciated.

sauceConnectOpts : {
  host: maki0000.miso.saucelabs.com
}
christian-bromann commented 7 years ago

no. If you have SC already running on port 4445, just set host to localhost and port to 4445 in your wdio.config

stsvilik commented 7 years ago

I had same scenario where SC was already running locally, so all I needed to do is to specify tunnelIndicator inside a capability descriptor. I didn't touch host or port.