webdriverio-boneyard / wdio-sauce-service

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

Remove hardcoded sauce connect port #12

Closed khirakawa closed 7 years ago

khirakawa commented 8 years ago

In wdio.conf.js:

{
  sauceConnectOpts: {
    port: 4446,
  }
}

Will cause the tests to fail with ERROR: Couldn't connect to selenium server. This is because wdio-sauce-service hardcodes the port to be 4445.

This PR fixes the issue by honoring the port specified in sauceConnectOpts.

@christian-bromann

christian-bromann commented 7 years ago

Thanks 👍

christian-bromann commented 7 years ago

released as v0.3.0