'use strict';

const desktop = {
  'SL_CHROME': {
    base: 'SauceLabs',
    browserName: 'chrome',
    platform: 'Windows 10'
  },
  'SL_FIREFOX': {
    base: 'SauceLabs',
    browserName: 'firefox',
    platform: 'Windows 10'
  },
  'SL_IE_11': {
    base: 'SauceLabs',
    browserName: 'internet explorer',
    platform: 'Windows 8.1',
    version: '11'
  },
  'SL_EDGE_14': {
    base: 'SauceLabs',
    browserName: 'MicrosoftEdge',
    platform: 'Windows 10',
    version: '14'
  },
  'SL_EDGE_15': {
    base: 'SauceLabs',
    browserName: 'MicrosoftEdge',
    platform: 'Windows 10',
    version: '15'
  },
  'SL_SAFARI_9': {
    base: 'SauceLabs',
    browserName: 'safari',
    platform: 'OS X 10.11',
    version: '9'
  },
  'SL_SAFARI_10': {
    base: 'SauceLabs',
    browserName: 'safari',
    platform: 'macOS 10.12',
    version: '10'
  }
};

const mobile = {
  'SL_IOS_9': {
    base: 'SauceLabs',
    browserName: 'Safari',
    appiumVersion: '1.6.4',
    deviceName: 'iPhone 6 Simulator',
    deviceOrientation: 'portrait',
    platformVersion: '9.3',
    platformName: 'iOS'
  },
  'SL_IOS_10': {
    base: 'SauceLabs',
    browserName: 'Safari',
    appiumVersion: '1.6.4',
    deviceName: 'iPhone 7 Simulator',
    deviceOrientation: 'portrait',
    platformVersion: '10.3',
    platformName: 'iOS'
  },
  'SL_IOS_11': {
    base: 'SauceLabs',
    browserName: 'Safari',
    appiumVersion: '1.7.1',
    deviceName: 'iPhone 8 Simulator',
    deviceOrientation: 'portrait',
    platformVersion: '11.0',
    platformName: 'iOS'
  },
  'SL_ANDROID_4.4': {
    base: 'SauceLabs',
    browserName: 'Browser',
    appiumVersion: '1.6.4',
    deviceName: 'Android Emulator',
    deviceOrientation: 'portrait',
    platformVersion: '4.4',
    platformName: 'Android'
  },
  'SL_ANDROID_5.0': {
    base: 'SauceLabs',
    browserName: 'Browser',
    appiumVersion: '1.6.4',
    deviceName: 'Android Emulator',
    deviceOrientation: 'portrait',
    platformVersion: '5.0',
    platformName: 'Android'
  },
  'SL_ANDROID_5.1': {
    base: 'SauceLabs',
    browserName: 'Browser',
    appiumVersion: '1.6.4',
    deviceName: 'Android Emulator',
    deviceOrientation: 'portrait',
    platformVersion: '5.1',
    platformName: 'Android'
  },
  'SL_ANDROID_6.0': {
    base: 'SauceLabs',
    browserName: 'Chrome',
    appiumVersion: '1.6.4',
    deviceName: 'Android Emulator',
    deviceOrientation: 'portrait',
    platformVersion: '6.0',
    platformName: 'Android'
  }
};

module.exports = {
  customLaunchers: Object.assign({}, desktop, mobile)
};

@@ -234,19 +234,16 @@
   'SL_IE
-_11
 ': %7B%0A   
@@ -327,156 +327,10 @@
 ows 
-8.1',%0A    version: '11'%0A  %7D,%0A  'SL_EDGE_14': %7B%0A    base: 'SauceLabs',%0A    browserName: 'MicrosoftEdge',%0A    platform: 'Windows 10',%0A    version: '14
+10
 '%0A  
@@ -346,11 +346,8 @@
 EDGE
-_15
 ': %7B
@@ -434,27 +434,8 @@
  10'
-,%0A    version: '15'
 %0A  %7D
@@ -443,139 +443,14 @@
 %0A  '
-SL_
 SAFARI
-_9': %7B%0A    base: 'SauceLabs',%0A    browserName: 'safari',%0A    platform: 'OS X 10.11',%0A    version: '9'%0A  %7D,%0A  'SL_SAFARI_10
 ': %7B
@@ -531,27 +531,8 @@
 .12'
-,%0A    version: '10'
 %0A  %7D
@@ -557,232 +557,8 @@
 = %7B%0A
-  'SL_IOS_9': %7B%0A    base: 'SauceLabs',%0A    browserName: 'Safari',%0A    appiumVersion: '1.6.4',%0A    deviceName: 'iPhone 6 Simulator',%0A    deviceOrientation: 'portrait',%0A    platformVersion: '9.3',%0A    platformName: 'iOS'%0A  %7D,%0A
   'S
@@ -1254,17 +1254,17 @@
 DROID_5.
-0
+1
 ': %7B%0A   
@@ -1434,17 +1434,17 @@
 ion: '5.
-0
+1
 ',%0A    p
@@ -1477,35 +1477,35 @@
 ,%0A  'SL_ANDROID_
-5.1
+6.0
 ': %7B%0A    base: '
@@ -1526,39 +1526,38 @@
   browserName: '
-Browser
+Chrome
 ',%0A    appiumVer
@@ -1656,35 +1656,35 @@
 atformVersion: '
-5.1
+6.0
 ',%0A    platformN
@@ -1709,35 +1709,35 @@
 ,%0A  'SL_ANDROID_
-6.0
+7.1
 ': %7B%0A    base: '
@@ -1888,35 +1888,35 @@
 atformVersion: '
-6.0
+7.1
 ',%0A    platformN

update browser config