title: Parallelize execution of browsers by using CodeceptJS/WebdriverIO
body: <p>I am using Codeceptjs for automation testing in javascript which internally uses WebDriverIO. I have achieved to run on Sauce, using the mentioned framework. </p>
  
  <p>I have accomplished to run automation test cases in different browsers in sauce lab by using desired capabilities <em>but only one browser at a time</em>.</p>
  
  <p>Requesting help </p>
  
  <ol>
  <li>to parallelize the all test files runs on a single browsers in sauce
  lab.</li>
  <li>to parallelize the test runs on multiple browsers in sauce lab.</li>
  </ol>
  
  <p>It would be great to have both of the above mentioned combinations.</p>
  
  <p>What configuration should I provide to achieve the above two requirement on the WebDriverIO / CodeceptJS.</p>
  
  <p>Here is my configuration that will be passed to sauce labs.</p>
  
  <p><strong>---codecept.conf.js---</strong></p>
  
  <pre><code>WebDriverIO: {
    url: "http://localhost:3000",
    browser: chrome,
    waitforTimeout: 60000,
    restart: false,
    logLevel: "silent",
    cssSelectorsEnabled: "true",
    timeouts: {
      script: 60000,
      "page load": 60000,
      implicit : 0
    },
    "host": "ondemand.saucelabs.com",
    "port":80,
    "user":"&lt;SAUCE_USER_NAME&gt;",
    "key": "&lt;SAUCE_ACCESS_KEY&gt;”,
    desiredCapabilities :{
      "chrome": {
        "browserName": "chrome",
        "name": "TEST_CHROME",
        "platform": "ANY",
        "version": "55.0"
      }
    }
  }
  </code></pre>
  
  <p>These are the list of desired Capabilities which i am using and picking one capability based on the selected browser name:</p>
  
  <pre><code>{
    "internet explorer": {
      "browserName": "internet explorer",
      "name": "TEST_IE",
      "platform": "Windows 7",
      "ignoreZoomSetting": true,
      "nativeEvents": false,
      "ignoreProtectedModeSettings": true,
      "version": "11"
    },
    "chrome": {
      "browserName": "chrome",
      "name": "TEST_CHROME",
      "platform": "ANY",
      "version": "55.0"
    },
    "firefox": {
      "browserName": "firefox",
      "name": "TEST_FIREFOX",
      "platform": "ANY",
      "version": "51.0"
    },
    "safari": {
      "browserName": "safari",
      "name": "TEST_SAFARI",
      "platform": "OS X 10.11",
      "version": "10.0"
    },
    "opera": {
      "browserName": "opera",
      "name": "TEST_OPERA",
      "platform": "Windows 7",
      "version": "ANY"
    },
    "MicrosoftEdge": {
      "browserName": "MicrosoftEdge",
      "name": "TEST_IEEdge",
      "platform": "Windows 10",
      "version": "13"
    }
  }
  </code></pre>