browserstack-node-sdk 1.11.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customEnvironment.js +1 -1
- package/src/bin/jest/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/constants.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/helper.js +1 -1
- package/src/bin/mocha/test-observability/requestQueueHandler.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x1231f7=a30_0x263e;(function(_0x199182,_0x108f91){const _0x15b4b2=a30_0x263e,_0x564852=_0x199182();while(!![]){try{const _0x22a84b=-parseInt(_0x15b4b2(0x10f))/0x1*(parseInt(_0x15b4b2(0x10b))/0x2)+parseInt(_0x15b4b2(0x11a))/0x3*(-parseInt(_0x15b4b2(0x116))/0x4)+parseInt(_0x15b4b2(0xfb))/0x5*(-parseInt(_0x15b4b2(0x11c))/0x6)+parseInt(_0x15b4b2(0x11d))/0x7*(parseInt(_0x15b4b2(0x102))/0x8)+-parseInt(_0x15b4b2(0x10d))/0x9*(-parseInt(_0x15b4b2(0x10a))/0xa)+parseInt(_0x15b4b2(0x101))/0xb*(-parseInt(_0x15b4b2(0x106))/0xc)+parseInt(_0x15b4b2(0x11b))/0xd*(parseInt(_0x15b4b2(0xfd))/0xe);if(_0x22a84b===_0x108f91)break;else _0x564852['push'](_0x564852['shift']());}catch(_0x25cec8){_0x564852['push'](_0x564852['shift']());}}}(a30_0x10d0,0xd6cb2));const Transport=require(a30_0x1231f7(0x110)),{consoleHolder}=require(a30_0x1231f7(0x108)),a30_0x30b719={};a30_0x30b719['INFO']=a30_0x1231f7(0xfa),a30_0x30b719['ERROR']='ERROR',a30_0x30b719[a30_0x1231f7(0x107)]=a30_0x1231f7(0x107),a30_0x30b719[a30_0x1231f7(0xfe)]=a30_0x1231f7(0xfe),a30_0x30b719[a30_0x1231f7(0x113)]=a30_0x1231f7(0x113);const LOG_LEVELS=a30_0x30b719;function a30_0x263e(_0x1c437b,_0x3f68e1){const _0x10d023=a30_0x10d0();return a30_0x263e=function(_0x263e0a,_0x154ae9){_0x263e0a=_0x263e0a-0xfa;let _0x5ac34a=_0x10d023[_0x263e0a];return _0x5ac34a;},a30_0x263e(_0x1c437b,_0x3f68e1);}class logPatcher extends Transport{constructor(_0x96a09){super(_0x96a09);}[a30_0x1231f7(0xff)]=(_0x5606ad=LOG_LEVELS[a30_0x1231f7(0xfa)],_0x53d1d7=[''])=>{const _0x3b623a=a30_0x1231f7,_0x34f703={};_0x34f703[_0x3b623a(0x104)]=_0x3b623a(0xfc);const _0x3ff221=_0x34f703;consoleHolder[_0x5606ad['toLowerCase']()](..._0x53d1d7),process[_0x3b623a(0x105)](_0x3b623a(0x103)+process[_0x3b623a(0x117)],{'timestamp':new Date()[_0x3b623a(0x10c)](),'level':_0x5606ad[_0x3b623a(0x118)](),'message':'\x22'+_0x53d1d7[_0x3b623a(0x114)](',\x20')+'\x22','kind':_0x3ff221[_0x3b623a(0x104)],'http_response':{}});};[a30_0x1231f7(0x109)]=(..._0x3964e2)=>{const _0x39071a=a30_0x1231f7;this[_0x39071a(0xff)](LOG_LEVELS[_0x39071a(0xfe)],_0x3964e2);};[a30_0x1231f7(0x100)]=(..._0x161471)=>{const _0x563d0b=a30_0x1231f7;this[_0x563d0b(0xff)](LOG_LEVELS[_0x563d0b(0x107)],_0x161471);};[a30_0x1231f7(0x115)]=(..._0x27f727)=>{const _0x717c1c=a30_0x1231f7;this[_0x717c1c(0xff)](LOG_LEVELS[_0x717c1c(0xfa)],_0x27f727);};[a30_0x1231f7(0x112)]=(..._0x257856)=>{const _0x1cf3cf=a30_0x1231f7;this[_0x1cf3cf(0xff)](LOG_LEVELS[_0x1cf3cf(0x113)],_0x257856);};[a30_0x1231f7(0x111)]=(..._0x25cff5)=>{const _0x4dc199=a30_0x1231f7;this[_0x4dc199(0xff)](LOG_LEVELS['ERROR'],_0x25cff5);};[a30_0x1231f7(0x10e)]=(..._0x45650e)=>{const _0x516d1a=a30_0x1231f7;this[_0x516d1a(0xff)](LOG_LEVELS[_0x516d1a(0xfa)],_0x45650e);};};module[a30_0x1231f7(0x119)]=logPatcher;function a30_0x10d0(){const _0x1a7ef8=['3619407YsIxOj','104xyEkbX','bs:addLog:','XhppW','emit','36OXflYv','DEBUG','../mocha/test-observability/constants','trace','60rRMaEO','26IqVbGl','toISOString','681183ddOiJr','log','121886mgNwhj','winston-transport','error','warn','WARN','join','info','23164xcWbUl','pid','toUpperCase','exports','612JZwlTA','13YUbfSd','6Kovaku','638554ZrfMIE','INFO','7178300zXGCVN','TEST_LOG','61998146RbSfpU','TRACE','logToTestOps','debug'];a30_0x10d0=function(){return _0x1a7ef8;};return a30_0x10d0();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a31_0x2a6f3a=a31_0x19d3;(function(_0x58024e,_0x465507){const _0x368738=a31_0x19d3,_0x5171c8=_0x58024e();while(!![]){try{const _0x32eb5d=parseInt(_0x368738(0x150))/0x1+-parseInt(_0x368738(0x133))/0x2*(-parseInt(_0x368738(0x12c))/0x3)+parseInt(_0x368738(0x148))/0x4+parseInt(_0x368738(0x14f))/0x5*(-parseInt(_0x368738(0x12b))/0x6)+parseInt(_0x368738(0x12a))/0x7+-parseInt(_0x368738(0x12d))/0x8+-parseInt(_0x368738(0x141))/0x9;if(_0x32eb5d===_0x465507)break;else _0x5171c8['push'](_0x5171c8['shift']());}catch(_0x344f22){_0x5171c8['push'](_0x5171c8['shift']());}}}(a31_0x1097,0xb30e4));const Transport=require('winston-transport'),{consoleHolder}=require('../mocha/test-observability/constants'),a31_0x1a76bb={};a31_0x1a76bb[a31_0x2a6f3a(0x12f)]=a31_0x2a6f3a(0x12f),a31_0x1a76bb[a31_0x2a6f3a(0x131)]=a31_0x2a6f3a(0x131),a31_0x1a76bb[a31_0x2a6f3a(0x13d)]='DEBUG',a31_0x1a76bb[a31_0x2a6f3a(0x137)]=a31_0x2a6f3a(0x137),a31_0x1a76bb[a31_0x2a6f3a(0x14a)]=a31_0x2a6f3a(0x14a);function a31_0x1097(){const _0x5d7637=['logToTestOps','INFO','logged','ERROR','JxUNA','2wOsRkH','dTYHv','gpCKJ','HXYUB','TRACE','TEST_LOG','GBETD','LUUNZ','warn','HeTyY','DEBUG','UIVuR','toISOString','OMztP','1293372CLOfDq','log','message','RIxUu','exports','level','oPdVC','4550420NHsdHi','GjrQo','WARN','emit','QoLlL','info','XofFC','1085dLBBaW','538670ABHiVZ','bs:addLog:','trace','8802241lRTjtd','39414zqjUiL','2474043ABEumE','11646608qhFpMO'];a31_0x1097=function(){return _0x5d7637;};return a31_0x1097();}const LOG_LEVELS=a31_0x1a76bb;class logReportingAPI extends Transport{constructor(_0x265450){super(_0x265450);}[a31_0x2a6f3a(0x142)](_0x226722,_0x42729a){const _0x360587=a31_0x2a6f3a,_0x2c8431={'JxUNA':function(_0xbdc42f,_0x5bcd22){return _0xbdc42f===_0x5bcd22;},'OMztP':_0x360587(0x147),'HXYUB':_0x360587(0x130),'ZGabq':function(_0x23e0b1,_0x6ec041){return _0x23e0b1(_0x6ec041);},'GBETD':function(_0x5c0c5b,_0x5270d5){return _0x5c0c5b===_0x5270d5;},'gpCKJ':'object','XofFC':function(_0x32e558,_0x37541e){return _0x32e558!==_0x37541e;},'QoLlL':'RQxOb','awfIt':_0x360587(0x149),'RHeIE':function(_0x5b7ef9,_0x2ae8ee){return _0x5b7ef9!==_0x2ae8ee;},'UIVuR':_0x360587(0x13a),'dTYHv':_0x360587(0x13c),'QXRxJ':function(_0x272495){return _0x272495();}};_0x2c8431['ZGabq'](setImmediate,()=>{const _0x30b52b=_0x360587;_0x2c8431[_0x30b52b(0x132)](_0x2c8431[_0x30b52b(0x140)],_0x2c8431[_0x30b52b(0x140)])?this[_0x30b52b(0x14b)](_0x2c8431[_0x30b52b(0x136)],_0x226722):this['logToTestOps'](_0x185d59[_0x30b52b(0x12f)],_0x283c68);});_0x2c8431[_0x360587(0x139)](typeof _0x226722,_0x2c8431[_0x360587(0x135)])?_0x2c8431[_0x360587(0x14e)](_0x2c8431[_0x360587(0x14c)],_0x2c8431['awfIt'])?this['logToTestOps'](_0x226722['level']||LOG_LEVELS['INFO'],_0x226722[_0x360587(0x143)],![]):this[_0x360587(0x12e)](_0x418398[_0x360587(0x146)]||_0x3f033e['INFO'],_0x38bad7[_0x360587(0x143)],![]):_0x2c8431['RHeIE'](_0x2c8431[_0x360587(0x13e)],_0x2c8431[_0x360587(0x134)])?this[_0x360587(0x12e)](LOG_LEVELS['INFO'],_0x226722):this[_0x360587(0x12e)](_0x134605[_0x360587(0x131)],_0x56f269);if(_0x42729a)_0x2c8431['QXRxJ'](_0x42729a);}[a31_0x2a6f3a(0x12e)]=(_0xf491ba=LOG_LEVELS[a31_0x2a6f3a(0x12f)],_0x1dec3b='',_0xc9c859=!![])=>{const _0x1eb991=a31_0x2a6f3a,_0x35028a={};_0x35028a[_0x1eb991(0x144)]=_0x1eb991(0x138);const _0x1cf51b=_0x35028a;if(_0xc9c859)consoleHolder[_0xf491ba['toLowerCase']()](_0x1dec3b);process[_0x1eb991(0x14b)](_0x1eb991(0x151)+process['pid'],{'timestamp':new Date()[_0x1eb991(0x13f)](),'level':_0xf491ba['toUpperCase'](),'message':_0x1dec3b,'kind':_0x1cf51b[_0x1eb991(0x144)],'http_response':{}});};[a31_0x2a6f3a(0x129)]=(_0x35cca9,_0x3a29ab)=>{const _0x23fca1=a31_0x2a6f3a;this[_0x23fca1(0x12e)](LOG_LEVELS[_0x23fca1(0x137)],_0x35cca9);};['debug']=(_0x3179ed,_0xdba257)=>{const _0x2ce089=a31_0x2a6f3a;this[_0x2ce089(0x12e)](LOG_LEVELS[_0x2ce089(0x13d)],_0x3179ed);};[a31_0x2a6f3a(0x14d)]=(_0x2b0236,_0x61fc48)=>{const _0x399cd6=a31_0x2a6f3a;this['logToTestOps'](LOG_LEVELS[_0x399cd6(0x12f)],_0x2b0236);};[a31_0x2a6f3a(0x13b)]=(_0x48fdc4,_0x2e7c97)=>{const _0x27ba9b=a31_0x2a6f3a;this['logToTestOps'](LOG_LEVELS[_0x27ba9b(0x14a)],_0x48fdc4);};['error']=(_0x4c3eac,_0x4d9bbf)=>{const _0xb6735d=a31_0x2a6f3a;this[_0xb6735d(0x12e)](LOG_LEVELS[_0xb6735d(0x131)],_0x4c3eac);};}function a31_0x19d3(_0x3265cf,_0x433c59){const _0x1097d0=a31_0x1097();return a31_0x19d3=function(_0x19d33c,_0x3586bd){_0x19d33c=_0x19d33c-0x129;let _0x4583f1=_0x1097d0[_0x19d33c];return _0x4583f1;},a31_0x19d3(_0x3265cf,_0x433c59);};module[a31_0x2a6f3a(0x145)]=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a32_0x3dc8f6=a32_0x5f5a;(function(_0x177548,_0x6bd92){const _0x268970=a32_0x5f5a,_0x310d00=_0x177548();while(!![]){try{const _0x1a8dce=parseInt(_0x268970(0x13b))/0x1*(parseInt(_0x268970(0x110))/0x2)+parseInt(_0x268970(0x109))/0x3+-parseInt(_0x268970(0x13e))/0x4*(-parseInt(_0x268970(0x132))/0x5)+-parseInt(_0x268970(0x11b))/0x6*(parseInt(_0x268970(0x121))/0x7)+-parseInt(_0x268970(0x118))/0x8*(-parseInt(_0x268970(0x141))/0x9)+parseInt(_0x268970(0x10a))/0xa+parseInt(_0x268970(0x142))/0xb*(-parseInt(_0x268970(0x13f))/0xc);if(_0x1a8dce===_0x6bd92)break;else _0x310d00['push'](_0x310d00['shift']());}catch(_0x389b70){_0x310d00['push'](_0x310d00['shift']());}}}(a32_0x3412,0x9e196));const fs=require('fs'),{default:BrowserStackSetup}=require(a32_0x3dc8f6(0x115)),helper=require(a32_0x3dc8f6(0x12b)),constants=require(a32_0x3dc8f6(0x124)),{parallelVanillaRun}=require(a32_0x3dc8f6(0x13c));function a32_0x5f5a(_0x538686,_0x5d0858){const _0x341277=a32_0x3412();return a32_0x5f5a=function(_0x5f5a7f,_0x4845ec){_0x5f5a7f=_0x5f5a7f-0x109;let _0x481604=_0x341277[_0x5f5a7f];return _0x481604;},a32_0x5f5a(_0x538686,_0x5d0858);}function a32_0x3412(){const _0x197db6=['EmagN','file','../../helpers/helper','modifyBrowserStackCaps','Config\x20yml\x20is\x20required','exports','gHnob','useW3C','OzzGV','86155uiKSei','config','npCAI','CLSJF','getPlatformName','xgrne','VVQkj','CKhUg','uqvVG','47351KCXWqc','../test-runner','File\x20','120qDFoTe','18142104RNMdwq','File\x20path\x20is\x20required','7234074SKFMCk','22iywCYm','xEPcj','3190686KoleTm','12023260JFJwdm','forEach','BlwTb','parallelsPerPlatform','Sewzg','configuration','46YGNInH','stiBJ','finalExecution','length','vanilla','../../helpers/BrowserStackSetup','isUndefined','IMsde','8IDCkqr','push','existsSync','6ekxTGV','platforms','modifyBrowserStackW3CCaps','DHeqw','args','fGfWC','7030933jFffQZ','hubUrl','then','../utils/constants','CAwpd','\x20doesn\x27t\x20exist','server','proxySettings'];a32_0x3412=function(){return _0x197db6;};return a32_0x3412();}async function run(_0x1a0a1b,_0x462b65){const _0x511dd0=a32_0x3dc8f6,_0x590d4a={'EmagN':_0x511dd0(0x114),'IMsde':function(_0x5e404c,_0x87c648){return _0x5e404c===_0x87c648;},'Sewzg':_0x511dd0(0x135),'VVQkj':function(_0x180294,_0x44d617){return _0x180294!==_0x44d617;},'gHnob':'XrcGb','zvamw':function(_0x39c720,_0x2bc2bf){return _0x39c720(_0x2bc2bf);},'OzzGV':_0x511dd0(0x140),'rdIfs':function(_0x5ef979,_0x36669d){return _0x5ef979(_0x36669d);},'xEPcj':function(_0x27e3ed,_0x59d0fb){return _0x27e3ed(_0x59d0fb);},'xFIbx':_0x511dd0(0x12d),'CKhUg':function(_0x1e97f2,_0x248470){return _0x1e97f2>_0x248470;},'DHeqw':_0x511dd0(0x120),'bUhLy':function(_0x5c99d3,_0x2ca69e){return _0x5c99d3>_0x2ca69e;},'stiBJ':_0x511dd0(0x13a),'CAwpd':_0x511dd0(0x137),'BlwTb':function(_0x4ab767,_0x42cc9a){return _0x4ab767*_0x42cc9a;},'vLEOT':function(_0x13901f,_0x2da043,_0x3dc086){return _0x13901f(_0x2da043,_0x3dc086);}},_0x25b0e9=new BrowserStackSetup(_0x1a0a1b,_0x590d4a[_0x511dd0(0x129)]);let _0x57bf94=[];if(helper[_0x511dd0(0x116)](_0x1a0a1b['_'][0x1]))throw _0x590d4a['zvamw'](Error,_0x590d4a[_0x511dd0(0x131)]);const _0x5938e6=path['join'](process['cwd'](),_0x1a0a1b['_'][0x1]);if(!fs[_0x511dd0(0x11a)](_0x5938e6))throw _0x590d4a['rdIfs'](Error,_0x511dd0(0x13d)+_0x1a0a1b['_'][0x1]+_0x511dd0(0x126));if(!_0x25b0e9[_0x511dd0(0x133)])throw _0x590d4a[_0x511dd0(0x143)](Error,_0x590d4a['xFIbx']);let _0x59298b=helper[_0x511dd0(0x130)](_0x25b0e9['config']);_0x25b0e9[_0x511dd0(0x133)]['platforms']&&_0x590d4a[_0x511dd0(0x139)](_0x25b0e9['config']['platforms'][_0x511dd0(0x113)],0x0)&&(_0x590d4a[_0x511dd0(0x138)](_0x590d4a['DHeqw'],_0x590d4a[_0x511dd0(0x11e)])?_0x264cf3['forEach'](_0x1fca9f=>{const _0x2beb4c=_0x511dd0;_0x5161ea={'server':_0x28ddbe[_0x2beb4c(0x122)],'proxySettings':_0x43a562[_0x2beb4c(0x133)][_0x2beb4c(0x128)],'platform':_0x2b9f91['getPlatformName'](_0x1fca9f)};const _0x2b1a89={'capability':_0x1fca9f,..._0x1a3114};_0x2b1a89[_0x2beb4c(0x12a)]=_0x185607,_0x2b1a89[_0x2beb4c(0x11f)]=_0x42de7f;const _0xa59bf3={};_0xa59bf3['configuration']=_0x2b1a89,_0x587dda=_0xa59bf3,_0x57a087[_0x2beb4c(0x119)](_0x2175c9);}):_0x25b0e9[_0x511dd0(0x133)][_0x511dd0(0x11c)]['forEach']((_0x127440,_0x5e193d)=>{const _0x327d03=_0x511dd0;if(_0x590d4a[_0x327d03(0x117)](_0x590d4a[_0x327d03(0x10e)],_0x590d4a[_0x327d03(0x10e)])){if(_0x59298b)_0x57bf94[_0x327d03(0x119)](helper[_0x327d03(0x11d)](_0x25b0e9[_0x327d03(0x133)],_0x590d4a[_0x327d03(0x129)],_0x5e193d));else _0x57bf94['push'](helper[_0x327d03(0x12c)](_0x25b0e9[_0x327d03(0x133)],_0x590d4a[_0x327d03(0x129)],_0x5e193d));}else{let _0x497e9f;if(_0x35b306)_0x497e9f=_0x24a2f9[_0x327d03(0x11d)](_0x17c58a[_0x327d03(0x133)],_0x590d4a['EmagN'],0x0);else _0x497e9f=_0x14d162['modifyBrowserStackCaps'](_0x10608c[_0x327d03(0x133)],_0x590d4a[_0x327d03(0x129)],0x0);const _0x1503bf={};_0x1503bf[_0x327d03(0x127)]=_0x8dace9[_0x327d03(0x122)],_0x1503bf[_0x327d03(0x128)]=_0x1b20f3[_0x327d03(0x133)][_0x327d03(0x128)],_0x4f185f=_0x1503bf;const _0x1659cf={'capability':_0x497e9f,..._0x335a18};_0x1659cf[_0x327d03(0x12a)]=_0x18baa2,_0x1659cf[_0x327d03(0x11f)]=_0x456cc4;const _0x5c108d={};_0x5c108d[_0x327d03(0x10f)]=_0x1659cf,_0x2edc92=_0x5c108d,_0xa8e778[_0x327d03(0x119)](_0x22ed24);}}));let _0x2b28ba,_0x13298f;const _0x247eec=[];if(_0x590d4a['bUhLy'](_0x57bf94[_0x511dd0(0x113)],0x0)){if(_0x590d4a[_0x511dd0(0x138)](_0x590d4a['stiBJ'],_0x590d4a[_0x511dd0(0x111)])){_0x5280bd={'server':_0x517e10[_0x511dd0(0x122)],'proxySettings':_0x32985a[_0x511dd0(0x133)]['proxySettings'],'platform':_0x55909f[_0x511dd0(0x136)](_0x1f5f94)};const _0x3189be={'capability':_0x17d76f,..._0x40ae8a};_0x3189be[_0x511dd0(0x12a)]=_0x2e0502,_0x3189be['args']=_0x44cd3b;const _0x4ac18b={};_0x4ac18b[_0x511dd0(0x10f)]=_0x3189be,_0x333355=_0x4ac18b,_0x23e15c[_0x511dd0(0x119)](_0x6f59dd);}else _0x57bf94[_0x511dd0(0x10b)](_0x24df83=>{const _0xba7eb6=_0x511dd0,_0x4dbcf2={};_0x4dbcf2[_0xba7eb6(0x134)]=_0x590d4a['EmagN'];const _0x4677ba=_0x4dbcf2;if(_0x590d4a[_0xba7eb6(0x138)](_0x590d4a['gHnob'],_0x590d4a[_0xba7eb6(0x12f)]))_0x2ad32d['config'][_0xba7eb6(0x11c)]['forEach']((_0x3602f5,_0x429434)=>{const _0x15182c=_0xba7eb6;if(_0xa4a30e)_0x4f15e0[_0x15182c(0x119)](_0x5e971f['modifyBrowserStackW3CCaps'](_0x44b8ce[_0x15182c(0x133)],_0x4677ba['npCAI'],_0x429434));else _0x3f8e02[_0x15182c(0x119)](_0x39d3bc[_0x15182c(0x12c)](_0x457e35[_0x15182c(0x133)],_0x4677ba[_0x15182c(0x134)],_0x429434));});else{_0x2b28ba={'server':constants[_0xba7eb6(0x122)],'proxySettings':_0x25b0e9[_0xba7eb6(0x133)][_0xba7eb6(0x128)],'platform':helper[_0xba7eb6(0x136)](_0x24df83)};const _0x736c70={'capability':_0x24df83,..._0x2b28ba};_0x736c70[_0xba7eb6(0x12a)]=_0x5938e6,_0x736c70[_0xba7eb6(0x11f)]=_0x462b65;const _0x28a340={};_0x28a340['configuration']=_0x736c70,_0x13298f=_0x28a340,_0x247eec[_0xba7eb6(0x119)](_0x13298f);}});}else{if(_0x590d4a[_0x511dd0(0x138)](_0x590d4a[_0x511dd0(0x125)],_0x590d4a[_0x511dd0(0x125)])){if(_0x2c340e)_0x41a685[_0x511dd0(0x119)](_0x355814[_0x511dd0(0x11d)](_0x4f70c7[_0x511dd0(0x133)],_0x590d4a[_0x511dd0(0x129)],_0x4c6265));else _0x2be836[_0x511dd0(0x119)](_0x432bd2[_0x511dd0(0x12c)](_0x53c704[_0x511dd0(0x133)],_0x590d4a['EmagN'],_0x70934f));}else{let _0x591cca;if(_0x59298b)_0x591cca=helper[_0x511dd0(0x11d)](_0x25b0e9[_0x511dd0(0x133)],_0x590d4a[_0x511dd0(0x129)],0x0);else _0x591cca=helper[_0x511dd0(0x12c)](_0x25b0e9['config'],_0x590d4a[_0x511dd0(0x129)],0x0);const _0x281622={};_0x281622['server']=constants[_0x511dd0(0x122)],_0x281622['proxySettings']=_0x25b0e9[_0x511dd0(0x133)][_0x511dd0(0x128)],_0x2b28ba=_0x281622;const _0x2b30f4={'capability':_0x591cca,..._0x2b28ba};_0x2b30f4[_0x511dd0(0x12a)]=_0x5938e6,_0x2b30f4[_0x511dd0(0x11f)]=_0x462b65;const _0xe62e44={};_0xe62e44['configuration']=_0x2b30f4,_0x13298f=_0xe62e44,_0x247eec[_0x511dd0(0x119)](_0x13298f);}}const _0x178540=_0x590d4a[_0x511dd0(0x10c)](_0x25b0e9['config']['platforms']['length']||0x1,_0x25b0e9[_0x511dd0(0x133)][_0x511dd0(0x10d)]);_0x590d4a['vLEOT'](parallelVanillaRun,_0x247eec,_0x178540)[_0x511dd0(0x123)](_0x1c21c4=>{})['finally'](async()=>{const _0x489e8d=_0x511dd0;await helper[_0x489e8d(0x112)](_0x25b0e9);});}module[a32_0x3dc8f6(0x12e)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a33_0x120c38=a33_0x37b4;(function(_0x293eca,_0x3de75d){const _0x25ff78=a33_0x37b4,_0x5e73e4=_0x293eca();while(!![]){try{const _0x2c75b0=parseInt(_0x25ff78(0x87))/0x1+parseInt(_0x25ff78(0x9c))/0x2+parseInt(_0x25ff78(0xc0))/0x3+parseInt(_0x25ff78(0xc7))/0x4+parseInt(_0x25ff78(0x7c))/0x5*(-parseInt(_0x25ff78(0x7e))/0x6)+parseInt(_0x25ff78(0x7f))/0x7+-parseInt(_0x25ff78(0xff))/0x8;if(_0x2c75b0===_0x3de75d)break;else _0x5e73e4['push'](_0x5e73e4['shift']());}catch(_0x5cb825){_0x5e73e4['push'](_0x5e73e4['shift']());}}}(a33_0xa0db,0x31483));const logger=require(a33_0x120c38(0x107))[a33_0x120c38(0xbd)],helper=require(a33_0x120c38(0xd2)),Constants=require(a33_0x120c38(0xcd)),{isBrowserstackInfra}=require(a33_0x120c38(0xa2));function a33_0xa0db(){const _0x439fd0=['eVvlC','EUsvG','isUndefined','Qirtt','envConfig','LZfaA','AMTTZ','TnWmm','swhMV','4382328MpsOuI','eZlck','qglgD','setEnvCaps','JvJxd','cFmLy','zNsFB','getConfigPath','./logger','KJOds','VpJUk','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','GTaFd','REHZT','zZwPP','setupBrowserstackLocal','No\x20config\x20provided.','QgUJr','vRnFp','JhIIn','localOptions','KDZBR','jqxHo','FSaIz','SGCnq','localIdentifier','cnnXu','OHbVa','GeZwW','DFBOs','iCWVi','SIGINT','IfGeO','KwnWj','5VdYcLU','TrIGo','1130802ozNEOY','1956199gXqFDL','iYKEz','LmSwy','info','qSllh','unhandledRejection','aFKGr','FNOXi','50802cOAxtI','setupKeepAlive','PaldO','config','pmutt','SDKTestAttempted','WnpES','VUReo','aDBmF','yqbIX','constructor','sJaCK','FRAMEWORK','fireFunnelTestEvent','cliConfig','ROhal','PHeTE','lOuGU','Lftos','SDcks','selenium-webdriver','66290ckFJMK','tcJVZ','beforeExit','PGArl','Local\x20binary\x20stopped','uPTvx','../bin/mocha/test-observability/helper','ttXEx','mbsxt','toString','ivXTL','TUZSQ','pezFu','error','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','NPMHK','debug','SJxrp','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','generateLocalIdentifier','xNIIU','useW3C','browserStackLocalOptions','KdlEo','sanitizeCaps','JhhOT','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','uncaughtException','abMkC','XiAWo','bYwmM','pIOiQ','btAwD','winstonLogger','oMUfi','wPCCM','960174QumfDL','eTiua','startLocalBinarySync','isRunning','handleExceptions','eLBIz','stopBrowserstackLocal','1018620PuZgfu','Error\x20occured\x20while\x20stopping\x20local\x20binary','KQsQH','platforms','SIGTERM','mGOBS','../bin/utils/constants','default','fhOSF','LorYv','jqDMZ','./helper','YOFPR','EgYjH','getPackageVersion','parallelsPerPlatform','vgiMc','QcZoO','warn','browserstackLocal','XZshe','FwUDW','env','YcMJB','Dpssc','rJmhl','INPRV','sCksB','Jjjai','gHHXc','zhcUi','dAsNL','vECNt','LRLEN','jgrFr','znIcQ','QVVMr','length','framework','FEIpL','vihnF','getFinalCaps','VglfB','SDKTestSuccessful','kfghU','zxvge','message'];a33_0xa0db=function(){return _0x439fd0;};return a33_0xa0db();}class BrowserStackSetup{constructor(_0x572c6f,_0xabfad3){const _0x2343b7=a33_0x120c38,_0x2f2c15={'bYwmM':'userName\x20or\x20accessKey\x20is\x20not\x20defined','GeZwW':_0x2343b7(0xf2),'LRLEN':'unhandledRejection','zNsFB':'uncaughtException','CRvFI':'Error\x20occured\x20while\x20stopping\x20local\x20binary','cFmLy':_0x2343b7(0x8c),'YOFPR':_0x2343b7(0xae),'JhIIn':_0x2343b7(0xaa),'xNIIU':function(_0x569112,_0x1f4a41){return _0x569112===_0x1f4a41;},'Zigew':_0x2343b7(0x10f),'KwnWj':function(_0x39ea72){return _0x39ea72();},'pmutt':function(_0x52a8d1,_0x1a9c2b){return _0x52a8d1!==_0x1a9c2b;},'VglfB':'MmfXF','xearM':_0x2343b7(0xfb),'MtHWu':'CIdaQ','uPTvx':_0x2343b7(0xd4),'ROhal':_0x2343b7(0x86),'Dpssc':function(_0x2d4b9){return _0x2d4b9();},'OHbVa':_0x2343b7(0xe4),'LorYv':_0x2343b7(0xc5),'KDZBR':function(_0x451ff1,_0x54e9ad){return _0x451ff1<_0x54e9ad;},'jgrFr':function(_0x203cb9,_0x55ac19){return _0x203cb9(_0x55ac19);},'SJxrp':_0x2343b7(0x9b),'LmSwy':function(_0x17d44e,_0x1de824){return _0x17d44e===_0x1de824;},'GTaFd':_0x2343b7(0x98),'iCWVi':function(_0x31a332,_0x3f2e7a){return _0x31a332>=_0x3f2e7a;},'eTiua':function(_0x51e3f8,_0x24230b){return _0x51e3f8(_0x24230b);},'pIOiQ':'kafje','kfghU':function(_0x5843bd,_0x583b97){return _0x5843bd===_0x583b97;},'ZqUyj':_0x2343b7(0x10d),'VUReo':'DrzAK','kpmVO':_0x2343b7(0xe2),'TUZSQ':_0x2343b7(0xee),'zhcUi':'hYKtz','CyItB':_0x2343b7(0x108),'jqxHo':_0x2343b7(0x9f),'Qirtt':function(_0xdbe995,_0x4e4b68){return _0xdbe995!==_0x4e4b68;},'QVVMr':_0x2343b7(0xbe),'vihnF':_0x2343b7(0xfd),'mGOBS':function(_0x3513d0,_0x1b9f2f){return _0x3513d0!==_0x1b9f2f;},'jqDMZ':'Pthsy','abMkC':function(_0x3e2bb6,_0x16470b){return _0x3e2bb6!==_0x16470b;},'SDcks':_0x2343b7(0x103),'vRnFp':_0x2343b7(0x9d),'cnnXu':function(_0x15edcf,_0x1a7a63){return _0x15edcf!==_0x1a7a63;},'fhOSF':_0x2343b7(0x117),'hzygO':'NGbAV','NPMHK':_0x2343b7(0xa6)};this[_0x2343b7(0x95)]=helper['setCLICaps'](_0x572c6f),this[_0x2343b7(0xfa)]=helper[_0x2343b7(0x102)](),this[_0x2343b7(0xda)]=null,this[_0x2343b7(0x8a)]=helper['readConfig'](helper[_0x2343b7(0x106)](_0x572c6f)),helper[_0x2343b7(0xb4)](this[_0x2343b7(0x8a)]),this['framework']=_0xabfad3;if(helper['isUndefined'](this[_0x2343b7(0x8a)]))throw new Error(_0x2f2c15['Zigew']);if(this[_0x2343b7(0x8a)][_0x2343b7(0xa9)])throw new Error(this[_0x2343b7(0x8a)][_0x2343b7(0xa9)]);helper[_0x2343b7(0xf0)](this[_0x2343b7(0x8a)],this[_0x2343b7(0x95)],this[_0x2343b7(0xfa)]),this[_0x2343b7(0xc4)]();if(!_0x2f2c15[_0x2343b7(0x7b)](isBrowserstackInfra)){if(_0x2f2c15[_0x2343b7(0x8b)](_0x2f2c15[_0x2343b7(0xf1)],_0x2f2c15['xearM']))try{if(_0x2f2c15[_0x2343b7(0xb0)](_0x2f2c15['MtHWu'],_0x2f2c15[_0x2343b7(0xa1)]))throw new _0x429e8(_0x2f2c15['bYwmM']);else process[_0x2343b7(0xdd)][_0x2343b7(0x93)]=_0xabfad3,helper[_0x2343b7(0x94)](_0x2f2c15[_0x2343b7(0x104)],{},this[_0x2343b7(0x8a)],this[_0x2343b7(0xed)]);}catch(_0x530e79){_0x2f2c15[_0x2343b7(0xb0)](_0x2f2c15[_0x2343b7(0x96)],_0x2f2c15[_0x2343b7(0x96)])?logger[_0x2343b7(0xac)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x530e79):this[_0x2343b7(0x8a)][_0x2343b7(0xb2)]={'localIdentifier':_0x3779ca[_0x2343b7(0xaf)]()};}else{const _0x2810a3={};_0x2810a3[_0x2343b7(0x101)]=_0x2f2c15[_0x2343b7(0x11b)];const _0x2c4960=_0x2810a3,_0x353dca=_0x2266fc=>{const _0x1fcf64=_0x2343b7;_0x21db07['error'](_0x2266fc[_0x1fcf64(0xf5)]),_0x1268a3[_0x1fcf64(0xac)](_0x2266fc);const _0x1d29ed={};_0x1d29ed[_0x1fcf64(0xa9)]=_0x2266fc[_0x1fcf64(0xf5)];const _0x1a3f0c=_0x1d29ed;try{_0x572360[_0x1fcf64(0x94)](_0x2c4960[_0x1fcf64(0x101)],_0x1a3f0c,this[_0x1fcf64(0x8a)],this[_0x1fcf64(0xed)]);}catch(_0x4c1b68){_0x3d1d7a[_0x1fcf64(0xac)](_0x1fcf64(0x10a)+_0x4c1b68);}};_0x2944e5['on'](_0x2f2c15[_0x2343b7(0xe8)],_0x353dca),_0x2daa97['on'](_0x2f2c15[_0x2343b7(0x105)],_0x353dca);}}if(!_0x2f2c15[_0x2343b7(0xdf)](isBrowserstackInfra))return;if(helper['requireSeleniumWebdriverCheck'](_0xabfad3)){if(_0x2f2c15[_0x2343b7(0x8b)](_0x2f2c15[_0x2343b7(0x11a)],_0x2f2c15[_0x2343b7(0xd0)]))_0x2f2c15[_0x2343b7(0x114)](_0x2f2c15[_0x2343b7(0xe9)](parseInt,helper['getPackageVersion'](_0x2f2c15[_0x2343b7(0xad)])),0x3)&&(_0x2f2c15[_0x2343b7(0x81)](_0x2f2c15[_0x2343b7(0x10b)],_0x2f2c15[_0x2343b7(0x10b)])?this[_0x2343b7(0x8a)][_0x2343b7(0xb1)]=![]:_0x21ac5c[_0x2343b7(0xa9)](_0x2f2c15['CRvFI'],_0x469f3d[_0x2343b7(0xf5)])),_0x2f2c15[_0x2343b7(0x11d)](_0x2f2c15[_0x2343b7(0xc1)](parseInt,helper[_0x2343b7(0xd5)](_0x2f2c15[_0x2343b7(0xad)])),4.5)&&(_0x2f2c15[_0x2343b7(0x8b)](_0x2f2c15[_0x2343b7(0xbb)],_0x2f2c15[_0x2343b7(0xbb)])?_0x2a4025[_0x2343b7(0x94)](_0x2f2c15[_0x2343b7(0x11b)],_0x56b729,this[_0x2343b7(0x8a)],this['framework']):this[_0x2343b7(0x8a)]['useW3C']=!![]);else try{_0x53393d[_0x2343b7(0xdd)][_0x2343b7(0x93)]=_0x39ac38,_0x4c3082[_0x2343b7(0x94)](_0x2f2c15[_0x2343b7(0x104)],{},this[_0x2343b7(0x8a)],this['framework']);}catch(_0x16b27c){_0x259808['debug']('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x16b27c);}}(helper['isUndefined'](this[_0x2343b7(0x8a)][_0x2343b7(0xca)])||helper['isUndefined'](this[_0x2343b7(0x8a)][_0x2343b7(0xca)][_0x2343b7(0xec)]))&&(_0x2f2c15[_0x2343b7(0xf3)](_0x2f2c15['ZqUyj'],_0x2f2c15['ZqUyj'])?(helper[_0x2343b7(0xf8)](this[_0x2343b7(0x8a)][_0x2343b7(0xd6)])?_0x2f2c15['LmSwy'](_0x2f2c15[_0x2343b7(0x8e)],_0x2f2c15['kpmVO'])?_0xdd3cc[_0x2343b7(0xac)](_0x2343b7(0xb6)+_0x42722e):logger[_0x2343b7(0x82)](_0x2f2c15[_0x2343b7(0xd3)]):_0x2f2c15[_0x2343b7(0x8b)](_0x2f2c15[_0x2343b7(0xa7)],_0x2f2c15[_0x2343b7(0xe5)])?logger[_0x2343b7(0xd9)](_0x2f2c15[_0x2343b7(0x112)]):_0x28708f[_0x2343b7(0xac)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x7fc619),this[_0x2343b7(0x8a)][_0x2343b7(0xca)]=[]):(_0x5b584c[_0x2343b7(0xf8)](this[_0x2343b7(0x8a)][_0x2343b7(0xd6)])?_0x2c45b9[_0x2343b7(0x82)](_0x2f2c15[_0x2343b7(0xd3)]):_0x19a6b4[_0x2343b7(0xd9)](_0x2f2c15[_0x2343b7(0x112)]),this[_0x2343b7(0x8a)][_0x2343b7(0xca)]=[]));!this[_0x2343b7(0x8a)][_0x2343b7(0xb2)]&&(this[_0x2343b7(0x8a)][_0x2343b7(0xb2)]=this[_0x2343b7(0x8a)][_0x2343b7(0x113)]||{});if(helper[_0x2343b7(0xf8)](helper['getUserName'](this['config']))||helper[_0x2343b7(0xf8)](helper['getAccessKey'](this['config']))){if(_0x2f2c15[_0x2343b7(0x8b)](_0x2f2c15['CyItB'],_0x2f2c15[_0x2343b7(0x115)]))throw new Error(_0x2f2c15[_0x2343b7(0xba)]);else this[_0x2343b7(0x8a)][_0x2343b7(0xb1)]=!![];}if(helper['getLocalConfig'](this[_0x2343b7(0x8a)])&&helper[_0x2343b7(0xf8)](helper['getLocalIdentifier'](this[_0x2343b7(0x8a)]))){if(_0x2f2c15[_0x2343b7(0xf9)](_0x2f2c15[_0x2343b7(0xeb)],_0x2f2c15[_0x2343b7(0xef)])){if(!helper[_0x2343b7(0xf8)](this['config']['browserStackLocalOptions'])&&_0x2f2c15['xNIIU'](this['config'][_0x2343b7(0xb2)][_0x2343b7(0x91)],Object))_0x2f2c15[_0x2343b7(0xcc)](_0x2f2c15[_0x2343b7(0xd1)],_0x2f2c15['jqDMZ'])?this[_0x2343b7(0x8a)]['browserStackLocalOptions'][_0x2343b7(0x118)]=_0x22b90c[_0x2343b7(0xaf)]():this['config']['browserStackLocalOptions'][_0x2343b7(0x118)]=helper[_0x2343b7(0xaf)]();else{if(_0x2f2c15[_0x2343b7(0xb8)](_0x2f2c15[_0x2343b7(0x9a)],_0x2f2c15[_0x2343b7(0x111)]))this['config']['browserStackLocalOptions']={'localIdentifier':helper[_0x2343b7(0xaf)]()};else{_0x3ff092[_0x2343b7(0xac)](_0x56ecac);throw new _0x4852b(_0x59cb3a['toString']());}}}else _0x513e85[_0x2343b7(0x82)](_0x2f2c15[_0x2343b7(0xd3)]);}helper['setLogLevel'](this['config'],this[_0x2343b7(0x95)],this['envConfig']),helper['setProxySettings'](this[_0x2343b7(0x8a)]);try{_0x2f2c15[_0x2343b7(0x119)](_0x2f2c15[_0x2343b7(0xcf)],_0x2f2c15[_0x2343b7(0xcf)])?(_0x2a0fd0['env'][_0x2343b7(0x93)]=_0x4299aa['_'][0x0],_0x11ec5b['fireFunnelTestEvent'](_0x2f2c15['cFmLy'],{},this[_0x2343b7(0x8a)],this[_0x2343b7(0xed)])):(process[_0x2343b7(0xdd)][_0x2343b7(0x93)]=_0x572c6f['_'][0x0],helper[_0x2343b7(0x94)](_0x2f2c15[_0x2343b7(0x104)],{},this['config'],this[_0x2343b7(0xed)]));}catch(_0x3fb45c){_0x2f2c15[_0x2343b7(0xf9)](_0x2f2c15['hzygO'],_0x2f2c15[_0x2343b7(0xab)])?logger[_0x2343b7(0xac)](_0x2343b7(0xb6)+_0x3fb45c):!_0x5991f7[_0x2343b7(0xf8)](this[_0x2343b7(0x8a)][_0x2343b7(0xb2)])&&_0x2f2c15['xNIIU'](this[_0x2343b7(0x8a)][_0x2343b7(0xb2)][_0x2343b7(0x91)],_0x4bd28e)?this[_0x2343b7(0x8a)][_0x2343b7(0xb2)][_0x2343b7(0x118)]=_0x120129[_0x2343b7(0xaf)]():this[_0x2343b7(0x8a)][_0x2343b7(0xb2)]={'localIdentifier':_0x517243['generateLocalIdentifier']()};}this['setupBrowserstackLocal'](),this[_0x2343b7(0x88)]();}[a33_0x120c38(0x10e)](){const _0x2f3f05=a33_0x120c38,_0xff79f4={'mbsxt':function(_0x5c1446,_0x4f1e67){return _0x5c1446<_0x4f1e67;},'WnpES':function(_0x3f3f56,_0xea2cf7){return _0x3f3f56(_0xea2cf7);},'pezFu':'selenium-webdriver','emebf':function(_0x1951be,_0x52c055){return _0x1951be>=_0x52c055;},'KQsQH':function(_0x2505dd,_0x163b56){return _0x2505dd(_0x163b56);},'bmnhq':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','vgiMc':function(_0x3c2e44,_0x56966f){return _0x3c2e44!==_0x56966f;},'yqbIX':_0x2f3f05(0xd8),'YcMJB':_0x2f3f05(0xe7),'INPRV':function(_0x426564,_0x4fcd78){return _0x426564==_0x4fcd78;},'AMTTZ':'./setKeepAlive','AIDyG':_0x2f3f05(0x89),'sJaCK':_0x2f3f05(0x7a),'aDRMh':function(_0x57a0e1,_0x93395c){return _0x57a0e1===_0x93395c;},'FwUDW':_0x2f3f05(0xb3),'wPCCM':_0x2f3f05(0x8f),'XiAWo':'Local\x20binary\x20started\x20successfully','swhMV':_0x2f3f05(0x9e),'UwMRK':_0x2f3f05(0x79),'TrIGo':_0x2f3f05(0xcb),'rJmhl':function(_0x166e47,_0x5c8573){return _0x166e47===_0x5c8573;},'JhhOT':'VEfhX','EUsvG':_0x2f3f05(0x85)};if(_0xff79f4[_0x2f3f05(0xe1)](this[_0x2f3f05(0x8a)][_0x2f3f05(0xda)],!![])&&(!this[_0x2f3f05(0xda)]||!this[_0x2f3f05(0xda)]['isRunning']())){if(_0xff79f4[_0x2f3f05(0xd7)](_0xff79f4['AIDyG'],_0xff79f4[_0x2f3f05(0x92)]))try{if(_0xff79f4['aDRMh'](_0xff79f4[_0x2f3f05(0xdc)],_0xff79f4[_0x2f3f05(0xbf)]))_0xff79f4[_0x2f3f05(0xa4)](_0xff79f4[_0x2f3f05(0x8d)](_0x115da5,_0x3d7f8f['getPackageVersion'](_0xff79f4[_0x2f3f05(0xa8)])),0x3)&&(this[_0x2f3f05(0x8a)][_0x2f3f05(0xb1)]=![]),_0xff79f4['emebf'](_0xff79f4[_0x2f3f05(0xc9)](_0x2b2142,_0x29c65c[_0x2f3f05(0xd5)](_0xff79f4[_0x2f3f05(0xa8)])),4.5)&&(this['config'][_0x2f3f05(0xb1)]=!![]);else{this['browserstackLocal']=helper[_0x2f3f05(0xc2)](this[_0x2f3f05(0x8a)]),logger['info'](_0xff79f4[_0x2f3f05(0xb9)]);let _0x2e64ae=0x0;const _0xa65d8d=async()=>{const _0x1c9df4=_0x2f3f05;_0xff79f4[_0x1c9df4(0xd7)](_0xff79f4[_0x1c9df4(0x90)],_0xff79f4[_0x1c9df4(0xde)])?(_0x2e64ae++,_0xff79f4[_0x1c9df4(0xe1)](_0x2e64ae,0x1)&&await this[_0x1c9df4(0xc6)]()):_0x31d829[_0x1c9df4(0xd9)](_0xff79f4['bmnhq']);};process['on'](_0xff79f4[_0x2f3f05(0xfe)],_0xa65d8d),process['on'](_0xff79f4['UwMRK'],_0xa65d8d),process['on'](_0xff79f4[_0x2f3f05(0x7d)],_0xa65d8d);}}catch(_0x8dc6de){if(_0xff79f4[_0x2f3f05(0xe0)](_0xff79f4[_0x2f3f05(0xb5)],_0xff79f4[_0x2f3f05(0xf7)]))_0x57dbc2[_0x2f3f05(0xac)](_0x2f3f05(0xb6)+_0x47e7ab);else{logger[_0x2f3f05(0xac)](_0x8dc6de);throw new Error(_0x8dc6de[_0x2f3f05(0xa5)]());}}else _0xff79f4['KQsQH'](_0x1a4e07,_0xff79f4[_0x2f3f05(0xfc)])();}}async[a33_0x120c38(0xc6)](){const _0xf794f5=a33_0x120c38,_0x105d96={};_0x105d96[_0xf794f5(0xe3)]=_0xf794f5(0xf2),_0x105d96['IrdNO']=_0xf794f5(0x8c),_0x105d96[_0xf794f5(0x11c)]=function(_0x44fa8d,_0x408289){return _0x44fa8d===_0x408289;},_0x105d96[_0xf794f5(0xf4)]=_0xf794f5(0x116),_0x105d96[_0xf794f5(0x110)]=_0xf794f5(0x109),_0x105d96[_0xf794f5(0x80)]=function(_0x168523,_0x1e2ca3){return _0x168523===_0x1e2ca3;},_0x105d96[_0xf794f5(0x100)]=_0xf794f5(0xdb),_0x105d96['eVvlC']=_0xf794f5(0xa0),_0x105d96[_0xf794f5(0x99)]=function(_0xf44818,_0x221328){return _0xf44818!==_0x221328;},_0x105d96[_0xf794f5(0x97)]=_0xf794f5(0xbc),_0x105d96[_0xf794f5(0xa3)]=_0xf794f5(0xc8);const _0x3a25fa=_0x105d96;if(this[_0xf794f5(0xda)]&&this['browserstackLocal'][_0xf794f5(0xc3)]()){if(_0x3a25fa[_0xf794f5(0x11c)](_0x3a25fa[_0xf794f5(0xf4)],_0x3a25fa['QgUJr'])){_0x1ee7c8[_0xf794f5(0xa9)](_0x1024e3['message']),_0x30fc93[_0xf794f5(0xac)](_0x2cf8f5);const _0x1d60dc={};_0x1d60dc[_0xf794f5(0xa9)]=_0x460f1d[_0xf794f5(0xf5)];const _0x284274=_0x1d60dc;try{_0x2a6b48['fireFunnelTestEvent'](_0x3a25fa['Jjjai'],_0x284274,this['config'],this['framework']);}catch(_0x3bf393){_0x239d6e[_0xf794f5(0xac)](_0xf794f5(0x10a)+_0x3bf393);}}else try{_0x3a25fa['iYKEz'](_0x3a25fa[_0xf794f5(0x100)],_0x3a25fa[_0xf794f5(0x100)])?(await helper['stopLocalBinary'](this[_0xf794f5(0xda)]),logger[_0xf794f5(0x82)](_0x3a25fa[_0xf794f5(0xf6)])):(_0x48208a['env'][_0xf794f5(0x93)]=_0x49a5af,_0x48bda3['fireFunnelTestEvent'](_0x3a25fa['IrdNO'],{},this['config'],this[_0xf794f5(0xed)]));}catch(_0x4eba99){_0x3a25fa[_0xf794f5(0x99)](_0x3a25fa['PHeTE'],_0x3a25fa[_0xf794f5(0x97)])?this[_0xf794f5(0x8a)]['useW3C']=![]:logger[_0xf794f5(0xa9)](_0x3a25fa[_0xf794f5(0xa3)],_0x4eba99[_0xf794f5(0xf5)]);}}}[a33_0x120c38(0x88)](){const _0x8d01b7=a33_0x120c38,_0x2d91b9={'dAsNL':function(_0x15fa44,_0x36bf2a){return _0x15fa44(_0x36bf2a);},'yfqLV':'./setKeepAlive'};_0x2d91b9[_0x8d01b7(0xe6)](require,_0x2d91b9['yfqLV'])();}[a33_0x120c38(0xc4)](){const _0x3ba5e5=a33_0x120c38,_0x444b29={};_0x444b29[_0x3ba5e5(0x10c)]=_0x3ba5e5(0xf2),_0x444b29['znIcQ']=_0x3ba5e5(0x84),_0x444b29['qSllh']=_0x3ba5e5(0xb7);const _0x46ac14=_0x444b29,_0x3d1c21=_0x2eaab0=>{const _0x3dcdb1=_0x3ba5e5;logger['error'](_0x2eaab0[_0x3dcdb1(0xf5)]),logger[_0x3dcdb1(0xac)](_0x2eaab0);const _0xd8144b={};_0xd8144b[_0x3dcdb1(0xa9)]=_0x2eaab0['message'];const _0x1ac6a1=_0xd8144b;try{helper[_0x3dcdb1(0x94)](_0x46ac14['REHZT'],_0x1ac6a1,this[_0x3dcdb1(0x8a)],this[_0x3dcdb1(0xed)]);}catch(_0x23d60d){logger['debug'](_0x3dcdb1(0x10a)+_0x23d60d);}};process['on'](_0x46ac14[_0x3ba5e5(0xea)],_0x3d1c21),process['on'](_0x46ac14[_0x3ba5e5(0x83)],_0x3d1c21);}}function a33_0x37b4(_0x1a1453,_0x102b8b){const _0xa0db72=a33_0xa0db();return a33_0x37b4=function(_0x37b483,_0x386aba){_0x37b483=_0x37b483-0x79;let _0x47dbc3=_0xa0db72[_0x37b483];return _0x47dbc3;},a33_0x37b4(_0x1a1453,_0x102b8b);}exports[a33_0x120c38(0xce)]=BrowserStackSetup;
|
|
1
|
+
const a33_0xac2259=a33_0x5a06;(function(_0x25723e,_0x3560de){const _0x447af9=a33_0x5a06,_0x45150b=_0x25723e();while(!![]){try{const _0x124bbc=-parseInt(_0x447af9(0x10e))/0x1+parseInt(_0x447af9(0x120))/0x2+-parseInt(_0x447af9(0x116))/0x3*(-parseInt(_0x447af9(0xbc))/0x4)+parseInt(_0x447af9(0x146))/0x5+-parseInt(_0x447af9(0xb3))/0x6*(-parseInt(_0x447af9(0x119))/0x7)+-parseInt(_0x447af9(0x104))/0x8+-parseInt(_0x447af9(0xfe))/0x9;if(_0x124bbc===_0x3560de)break;else _0x45150b['push'](_0x45150b['shift']());}catch(_0x462bee){_0x45150b['push'](_0x45150b['shift']());}}}(a33_0x2a24,0xd2dae));const logger=require(a33_0xac2259(0xab))[a33_0xac2259(0xb0)],helper=require('./helper'),Constants=require(a33_0xac2259(0xaf)),{isBrowserstackInfra}=require(a33_0xac2259(0x136));class BrowserStackSetup{constructor(_0x5cc219,_0x364025){const _0x375f76=a33_0xac2259,_0x5e3a62={'hifZt':_0x375f76(0x14c),'LQaPp':_0x375f76(0xfd),'xmXPg':_0x375f76(0xec),'yeLBn':'userName\x20or\x20accessKey\x20is\x20not\x20defined','XYsAG':_0x375f76(0x114),'Soslu':_0x375f76(0x117),'konho':_0x375f76(0x14b),'vDKVA':function(_0x14e333,_0x506bba){return _0x14e333===_0x506bba;},'guDAt':function(_0x5476bd,_0x25b0b6){return _0x5476bd(_0x25b0b6);},'DyqYV':_0x375f76(0x131),'TOmkQ':_0x375f76(0x130),'bYnhQ':function(_0x3a5e6e){return _0x3a5e6e();},'PBqyd':function(_0x4eaa9a,_0x209d36){return _0x4eaa9a!==_0x209d36;},'PzwUy':_0x375f76(0xcf),'PRbpS':_0x375f76(0x13b),'bnXoo':function(_0x2eedce,_0x581771){return _0x2eedce!==_0x581771;},'xMnyy':_0x375f76(0x102),'ywYbl':_0x375f76(0x145),'LMrcx':_0x375f76(0x148),'oIJbQ':'OwvXl','bVpaa':function(_0x55373f,_0x4e67a2){return _0x55373f<_0x4e67a2;},'RNdwA':function(_0x2ea661,_0x540839){return _0x2ea661(_0x540839);},'zhfhH':_0x375f76(0xb1),'GWKAH':_0x375f76(0xeb),'NgIfy':function(_0x1b69ec,_0x10c81a){return _0x1b69ec>=_0x10c81a;},'IMJes':_0x375f76(0xc0),'eipTk':_0x375f76(0x125),'LcmeI':_0x375f76(0x118),'MuFEn':'aDQnX','GrQXQ':'Gzzjo','NXYNM':_0x375f76(0xf8),'qKBfh':_0x375f76(0xda),'tgupy':function(_0xef140d,_0x3829f5){return _0xef140d!==_0x3829f5;},'NviTX':_0x375f76(0xbd),'MkvPt':_0x375f76(0x110),'CEwtj':'fggMw','fbTYl':function(_0x32dbd8,_0x402302){return _0x32dbd8===_0x402302;},'WQCNO':function(_0x3533e5,_0x507d22){return _0x3533e5===_0x507d22;},'RHzgj':'aEMBu','SXaFb':_0x375f76(0xd5),'PnbDq':'vLRar','tbJlW':_0x375f76(0xe0),'HvdgM':function(_0x32e651,_0x2a341e){return _0x32e651!==_0x2a341e;},'bksZZ':'sZSRK','NkUFa':_0x375f76(0xe9),'FaNlz':_0x375f76(0x127)};this[_0x375f76(0x141)]=helper['setCLICaps'](_0x5cc219),this[_0x375f76(0x105)]=helper['setEnvCaps'](),this[_0x375f76(0xc1)]=null,this['config']=helper['readConfig'](helper[_0x375f76(0xbe)](_0x5cc219)),helper[_0x375f76(0x133)](this[_0x375f76(0x10b)]),this['framework']=_0x364025;if(helper[_0x375f76(0xd6)](this['config']))throw new Error(_0x5e3a62[_0x375f76(0xc3)]);if(this['config'][_0x375f76(0xd9)])throw new Error(this[_0x375f76(0x10b)]['error']);helper[_0x375f76(0x139)](this[_0x375f76(0x10b)],this['cliConfig'],this['envConfig']),this[_0x375f76(0xe6)]();if(!_0x5e3a62[_0x375f76(0x12f)](isBrowserstackInfra)){if(_0x5e3a62[_0x375f76(0xe8)](_0x5e3a62[_0x375f76(0xed)],_0x5e3a62['PRbpS']))try{if(_0x5e3a62[_0x375f76(0x106)](_0x5e3a62[_0x375f76(0xc8)],_0x5e3a62['xMnyy'])){const _0x5a8eda=_0x2b69ec=>{const _0x86776f=_0x375f76;_0x4687b3[_0x86776f(0xd9)](_0x2b69ec[_0x86776f(0xb8)]),_0x5b6ea2[_0x86776f(0x149)](_0x2b69ec);const _0x35fcb4={};_0x35fcb4[_0x86776f(0xd9)]=_0x2b69ec[_0x86776f(0xb8)];const _0x3a9f7f=_0x35fcb4;try{_0x7c4cba[_0x86776f(0x14a)](_0x5e3a62[_0x86776f(0xcc)],_0x3a9f7f,this[_0x86776f(0x10b)],this[_0x86776f(0x103)]);}catch(_0x5dce25){_0x3685f8[_0x86776f(0x149)](_0x86776f(0xf6)+_0x5dce25);}};_0x13a909['on'](_0x5e3a62[_0x375f76(0xe5)],_0x5a8eda),_0x116660['on'](_0x5e3a62[_0x375f76(0xe3)],_0x5a8eda);}else process[_0x375f76(0xdb)][_0x375f76(0x123)]=_0x364025,helper[_0x375f76(0x14a)](_0x5e3a62['konho'],{},this[_0x375f76(0x10b)],this[_0x375f76(0x103)]);}catch(_0x51e0b6){_0x5e3a62[_0x375f76(0x106)](_0x5e3a62[_0x375f76(0xf3)],_0x5e3a62[_0x375f76(0xba)])?logger[_0x375f76(0x149)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x51e0b6):this[_0x375f76(0x10b)]['browserStackLocalOptions'][_0x375f76(0xbf)]=_0x2af982[_0x375f76(0xb4)]();}else throw new _0x2b593c(_0x5e3a62[_0x375f76(0x137)]);}if(!_0x5e3a62[_0x375f76(0x12f)](isBrowserstackInfra))return;helper[_0x375f76(0xf0)](_0x364025)&&(_0x5e3a62[_0x375f76(0x10d)](_0x5e3a62[_0x375f76(0x11c)],_0x5e3a62[_0x375f76(0x11c)])?(_0x5e3a62[_0x375f76(0x11b)](_0x5e3a62['RNdwA'](parseInt,helper[_0x375f76(0xac)](_0x5e3a62[_0x375f76(0x11f)])),0x3)&&(_0x5e3a62['bnXoo'](_0x5e3a62['GWKAH'],_0x5e3a62[_0x375f76(0x115)])?_0x298ec8[_0x375f76(0x149)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x3564e0):this[_0x375f76(0x10b)][_0x375f76(0x10a)]=![]),_0x5e3a62[_0x375f76(0xee)](_0x5e3a62[_0x375f76(0x128)](parseInt,helper[_0x375f76(0xac)](_0x5e3a62[_0x375f76(0x11f)])),4.5)&&(_0x5e3a62[_0x375f76(0x106)](_0x5e3a62[_0x375f76(0x10f)],_0x5e3a62[_0x375f76(0xd1)])?this[_0x375f76(0x10b)][_0x375f76(0x10a)]=!![]:this[_0x375f76(0x10b)][_0x375f76(0x147)]={'localIdentifier':_0x5e4295[_0x375f76(0xb4)]()})):(_0xfe6dd['isUndefined'](this[_0x375f76(0x10b)][_0x375f76(0x13f)])?_0x4a4782[_0x375f76(0x138)](_0x5e3a62['XYsAG']):_0x49ef16['warn'](_0x5e3a62[_0x375f76(0x12a)]),this[_0x375f76(0x10b)]['platforms']=[]));if(helper[_0x375f76(0xd6)](this['config']['platforms'])||helper[_0x375f76(0xd6)](this[_0x375f76(0x10b)][_0x375f76(0x10c)]['length'])){if(_0x5e3a62[_0x375f76(0x10d)](_0x5e3a62[_0x375f76(0x134)],_0x5e3a62[_0x375f76(0x134)])){if(helper[_0x375f76(0xd6)](this[_0x375f76(0x10b)][_0x375f76(0x13f)])){if(_0x5e3a62[_0x375f76(0x10d)](_0x5e3a62[_0x375f76(0xb7)],_0x5e3a62[_0x375f76(0x121)]))try{_0x279caa[_0x375f76(0xdb)][_0x375f76(0x123)]=_0x3a5a85,_0x3ef597[_0x375f76(0x14a)](_0x5e3a62['konho'],{},this['config'],this['framework']);}catch(_0x16b52d){_0x5c178d[_0x375f76(0x149)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x16b52d);}else logger['info'](_0x5e3a62[_0x375f76(0xf2)]);}else _0x5e3a62[_0x375f76(0x10d)](_0x5e3a62['NXYNM'],_0x5e3a62[_0x375f76(0xd0)])?_0x43959e['fireFunnelTestEvent'](_0x5e3a62[_0x375f76(0xcc)],_0x38e92e,this[_0x375f76(0x10b)],this[_0x375f76(0x103)]):logger[_0x375f76(0xe4)](_0x5e3a62[_0x375f76(0x12a)]);this['config'][_0x375f76(0x10c)]=[];}else _0x162835[_0x375f76(0xdb)][_0x375f76(0x123)]=_0x318563,_0x3f4dfc['fireFunnelTestEvent'](_0x5e3a62['konho'],{},this[_0x375f76(0x10b)],this[_0x375f76(0x103)]);}!this[_0x375f76(0x10b)][_0x375f76(0x147)]&&(this[_0x375f76(0x10b)][_0x375f76(0x147)]=this[_0x375f76(0x10b)][_0x375f76(0x100)]||{});if(helper['isUndefined'](helper[_0x375f76(0xdd)](this[_0x375f76(0x10b)]))||helper['isUndefined'](helper[_0x375f76(0x135)](this[_0x375f76(0x10b)]))){if(_0x5e3a62[_0x375f76(0xd3)](_0x5e3a62[_0x375f76(0xf1)],_0x5e3a62['NviTX']))_0x3340b6[_0x375f76(0xe4)](_0x5e3a62[_0x375f76(0x12a)]);else throw new Error(_0x5e3a62[_0x375f76(0x137)]);}if(helper[_0x375f76(0x11e)](this[_0x375f76(0x10b)])&&helper[_0x375f76(0xd6)](helper[_0x375f76(0xe1)](this[_0x375f76(0x10b)]))){if(_0x5e3a62[_0x375f76(0x10d)](_0x5e3a62[_0x375f76(0x109)],_0x5e3a62['CEwtj'])){_0x410f87['error'](_0x31cbc4[_0x375f76(0xb8)]),_0x3c335c[_0x375f76(0x149)](_0x27d02c);const _0x5ba906={};_0x5ba906[_0x375f76(0xd9)]=_0xe797a7['message'];const _0x4d2570=_0x5ba906;try{_0x1977e8[_0x375f76(0x14a)](_0x5e3a62[_0x375f76(0xcc)],_0x4d2570,this[_0x375f76(0x10b)],this[_0x375f76(0x103)]);}catch(_0x109baf){_0x556c84[_0x375f76(0x149)](_0x375f76(0xf6)+_0x109baf);}}else!helper['isUndefined'](this[_0x375f76(0x10b)][_0x375f76(0x147)])&&_0x5e3a62['fbTYl'](this[_0x375f76(0x10b)][_0x375f76(0x147)][_0x375f76(0xce)],Object)?_0x5e3a62[_0x375f76(0x12c)](_0x5e3a62[_0x375f76(0xdf)],_0x5e3a62[_0x375f76(0xfc)])?!_0x3ead35[_0x375f76(0xd6)](this[_0x375f76(0x10b)][_0x375f76(0x147)])&&_0x5e3a62[_0x375f76(0x10d)](this[_0x375f76(0x10b)][_0x375f76(0x147)][_0x375f76(0xce)],_0x3aad90)?this[_0x375f76(0x10b)]['browserStackLocalOptions']['localIdentifier']=_0x445cc0[_0x375f76(0xb4)]():this[_0x375f76(0x10b)][_0x375f76(0x147)]={'localIdentifier':_0x4b7586[_0x375f76(0xb4)]()}:this[_0x375f76(0x10b)][_0x375f76(0x147)]['localIdentifier']=helper[_0x375f76(0xb4)]():_0x5e3a62['bnXoo'](_0x5e3a62[_0x375f76(0xad)],_0x5e3a62[_0x375f76(0x13e)])?this[_0x375f76(0x10b)][_0x375f76(0x147)]={'localIdentifier':helper[_0x375f76(0xb4)]()}:_0x5ce5d4[_0x375f76(0x138)](_0x5e3a62['XYsAG']);}helper[_0x375f76(0xf4)](this[_0x375f76(0x10b)],this[_0x375f76(0x141)],this[_0x375f76(0x105)]),helper[_0x375f76(0xca)](this['config']);try{_0x5e3a62[_0x375f76(0x14e)](_0x5e3a62['bksZZ'],_0x5e3a62[_0x375f76(0x101)])?_0x5e3a62[_0x375f76(0xff)](_0x3c53a6,_0x5e3a62[_0x375f76(0xbb)])():(process[_0x375f76(0xdb)][_0x375f76(0x123)]=_0x5cc219['_'][0x0],helper[_0x375f76(0x14a)](_0x5e3a62[_0x375f76(0x13a)],{},this['config'],this['framework']));}catch(_0xb0aced){_0x5e3a62['vDKVA'](_0x5e3a62['NkUFa'],_0x5e3a62[_0x375f76(0xd2)])?_0x576776[_0x375f76(0x149)](_0x375f76(0x129)+_0x49d912):logger[_0x375f76(0x149)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0xb0aced);}this[_0x375f76(0x11a)](),this[_0x375f76(0xb2)]();}[a33_0xac2259(0x11a)](){const _0x4ee04c=a33_0xac2259,_0x433674={};_0x433674[_0x4ee04c(0xcd)]='Error\x20occured\x20while\x20stopping\x20local\x20binary',_0x433674[_0x4ee04c(0x12e)]=_0x4ee04c(0x14b),_0x433674[_0x4ee04c(0x11d)]=function(_0x1529a3,_0x2d6a1d){return _0x1529a3!==_0x2d6a1d;},_0x433674[_0x4ee04c(0x132)]=_0x4ee04c(0xe2),_0x433674['DxMJM']=_0x4ee04c(0xcb),_0x433674[_0x4ee04c(0x113)]=function(_0x3d5cf6,_0x530102){return _0x3d5cf6==_0x530102;},_0x433674[_0x4ee04c(0xc6)]=function(_0x3843ac,_0x3d9710){return _0x3843ac==_0x3d9710;},_0x433674[_0x4ee04c(0xef)]=function(_0x4b4463,_0x51ef69){return _0x4b4463!==_0x51ef69;},_0x433674['Ldrvm']=_0x4ee04c(0xc4),_0x433674[_0x4ee04c(0x13d)]=function(_0x1c7ce8,_0x5a4c51){return _0x1c7ce8===_0x5a4c51;},_0x433674['TTSxF']='OHajp',_0x433674['rzHNs']='aLRzp',_0x433674[_0x4ee04c(0xfa)]='Local\x20binary\x20started\x20successfully',_0x433674['asSrQ']=_0x4ee04c(0xd7),_0x433674['yYyOU']=_0x4ee04c(0xfb),_0x433674['VGosG']=_0x4ee04c(0xf9),_0x433674['UOMDV']=_0x4ee04c(0xd4),_0x433674[_0x4ee04c(0xd8)]=_0x4ee04c(0x12b);const _0x25ceba=_0x433674;if(_0x25ceba[_0x4ee04c(0xc6)](this[_0x4ee04c(0x10b)][_0x4ee04c(0xc1)],!![])&&(!this['browserstackLocal']||!this[_0x4ee04c(0xc1)][_0x4ee04c(0x142)]())){if(_0x25ceba[_0x4ee04c(0xef)](_0x25ceba[_0x4ee04c(0xc9)],_0x25ceba[_0x4ee04c(0xc9)]))_0x404378[_0x4ee04c(0xd9)](_0x25ceba[_0x4ee04c(0xcd)],_0x46072c['message']);else try{if(_0x25ceba['RbEQd'](_0x25ceba['TTSxF'],_0x25ceba['rzHNs']))_0x5b1987[_0x4ee04c(0xdb)][_0x4ee04c(0x123)]=_0xfc4a40['_'][0x0],_0xd50231['fireFunnelTestEvent'](_0x25ceba['vVxhl'],{},this['config'],this[_0x4ee04c(0x103)]);else{this[_0x4ee04c(0xc1)]=helper[_0x4ee04c(0xb6)](this[_0x4ee04c(0x10b)]),logger[_0x4ee04c(0x138)](_0x25ceba[_0x4ee04c(0xfa)]);let _0x4eabc3=0x0;const _0x3c4cb4=async()=>{const _0x3ec7eb=_0x4ee04c;_0x25ceba[_0x3ec7eb(0x11d)](_0x25ceba[_0x3ec7eb(0x132)],_0x25ceba[_0x3ec7eb(0xae)])?(_0x4eabc3++,_0x25ceba[_0x3ec7eb(0x113)](_0x4eabc3,0x1)&&await this[_0x3ec7eb(0x13c)]()):_0x5e2ee2[_0x3ec7eb(0x149)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x755786);};process['on'](_0x25ceba['asSrQ'],_0x3c4cb4),process['on'](_0x25ceba[_0x4ee04c(0x112)],_0x3c4cb4),process['on'](_0x25ceba[_0x4ee04c(0x140)],_0x3c4cb4);}}catch(_0x2da177){if(_0x25ceba[_0x4ee04c(0x13d)](_0x25ceba[_0x4ee04c(0xdc)],_0x25ceba[_0x4ee04c(0xd8)])){_0x433f57['debug'](_0x5645ea);throw new _0x51b825(_0x566f2c['toString']());}else{logger['debug'](_0x2da177);throw new Error(_0x2da177[_0x4ee04c(0x122)]());}}}}async[a33_0xac2259(0x13c)](){const _0x2bb73d=a33_0xac2259,_0x140260={'qITvp':function(_0x220e63,_0x30bdc5){return _0x220e63<_0x30bdc5;},'tcpRJ':function(_0x357e9c,_0x365ddb){return _0x357e9c(_0x365ddb);},'QjDaW':_0x2bb73d(0xb1),'orxMH':function(_0x54001f,_0x458875){return _0x54001f>=_0x458875;},'OlxQi':function(_0x5ac20b,_0x40f3b7){return _0x5ac20b!==_0x40f3b7;},'MYOoh':_0x2bb73d(0x126),'IwFVD':function(_0x367c45,_0x19af02){return _0x367c45!==_0x19af02;},'cEQRz':_0x2bb73d(0x14d),'NXqCM':_0x2bb73d(0xc2),'ZzBbM':function(_0x222203,_0xf4831a){return _0x222203===_0xf4831a;},'pwiHJ':_0x2bb73d(0x124),'DaVrQ':'Error\x20occured\x20while\x20stopping\x20local\x20binary'};if(this[_0x2bb73d(0xc1)]&&this[_0x2bb73d(0xc1)][_0x2bb73d(0x142)]()){if(_0x140260['OlxQi'](_0x140260[_0x2bb73d(0xb9)],_0x140260[_0x2bb73d(0xb9)]))this['config'][_0x2bb73d(0x10a)]=![];else try{_0x140260[_0x2bb73d(0x143)](_0x140260[_0x2bb73d(0xc7)],_0x140260[_0x2bb73d(0xc7)])?(_0x140260['qITvp'](_0x140260[_0x2bb73d(0xb5)](_0x456c62,_0x40bcfe[_0x2bb73d(0xac)](_0x140260[_0x2bb73d(0xea)])),0x3)&&(this[_0x2bb73d(0x10b)][_0x2bb73d(0x10a)]=![]),_0x140260[_0x2bb73d(0xf5)](_0x140260[_0x2bb73d(0xb5)](_0x268187,_0x5c8a53[_0x2bb73d(0xac)](_0x140260[_0x2bb73d(0xea)])),4.5)&&(this['config'][_0x2bb73d(0x10a)]=!![])):(await helper[_0x2bb73d(0x12d)](this[_0x2bb73d(0xc1)]),logger[_0x2bb73d(0x138)](_0x140260[_0x2bb73d(0x108)]));}catch(_0x234a90){_0x140260['ZzBbM'](_0x140260['pwiHJ'],_0x140260[_0x2bb73d(0x107)])?logger[_0x2bb73d(0xd9)](_0x140260[_0x2bb73d(0xf7)],_0x234a90[_0x2bb73d(0xb8)]):this[_0x2bb73d(0x10b)][_0x2bb73d(0x10a)]=!![];}}}['setupKeepAlive'](){const _0xe17c24=a33_0xac2259,_0x14f72b={'jHTLY':function(_0x4a3fa3,_0x3de4e7){return _0x4a3fa3(_0x3de4e7);},'RUQug':'./setKeepAlive'};_0x14f72b['jHTLY'](require,_0x14f72b[_0xe17c24(0x144)])();}[a33_0xac2259(0xe6)](){const _0x233a30=a33_0xac2259,_0x986286={};_0x986286[_0x233a30(0xde)]='SDKTestSuccessful',_0x986286[_0x233a30(0x111)]='unhandledRejection',_0x986286[_0x233a30(0xc5)]=_0x233a30(0xec);const _0x5a4f3f=_0x986286,_0x213534=_0xa3167=>{const _0x52ad6d=_0x233a30;logger['error'](_0xa3167[_0x52ad6d(0xb8)]),logger[_0x52ad6d(0x149)](_0xa3167);const _0x264b13={};_0x264b13['error']=_0xa3167[_0x52ad6d(0xb8)];const _0x27ba70=_0x264b13;try{helper[_0x52ad6d(0x14a)](_0x5a4f3f[_0x52ad6d(0xde)],_0x27ba70,this[_0x52ad6d(0x10b)],this['framework']);}catch(_0x5cdca6){logger['debug'](_0x52ad6d(0xf6)+_0x5cdca6);}};process['on'](_0x5a4f3f[_0x233a30(0x111)],_0x213534),process['on'](_0x5a4f3f['hNIES'],_0x213534);}}function a33_0x2a24(){const _0x337a60=['DWTEo','EymMU','yYyOU','cignl','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','GWKAH','6hRrJBV','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','cTYaO','1064021SXkkUT','setupBrowserstackLocal','bVpaa','oIJbQ','JHxWl','getLocalConfig','zhfhH','2462986XTeBEd','GrQXQ','toString','FRAMEWORK','bxcbg','RcUld','keFLd','riJoV','RNdwA','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','Soslu','OkvAx','WQCNO','stopLocalBinary','vVxhl','bYnhQ','No\x20config\x20provided.','./setKeepAlive','xJMWT','sanitizeCaps','LcmeI','getAccessKey','../bin/mocha/test-observability/helper','yeLBn','info','getFinalCaps','konho','nbpIt','stopBrowserstackLocal','RbEQd','tbJlW','parallelsPerPlatform','VGosG','cliConfig','isRunning','IwFVD','RUQug','NwmHf','3305030FdLjbF','browserStackLocalOptions','xnTUX','debug','fireFunnelTestEvent','SDKTestAttempted','SDKTestSuccessful','KzcPB','HvdgM','./logger','getPackageVersion','PnbDq','DxMJM','../bin/utils/constants','winstonLogger','selenium-webdriver','setupKeepAlive','12XHJJVb','generateLocalIdentifier','tcpRJ','startLocalBinarySync','MuFEn','message','MYOoh','LMrcx','DyqYV','2304628rUEpRK','PjNnk','getConfigPath','localIdentifier','BRufR','browserstackLocal','Local\x20binary\x20stopped','TOmkQ','xiDBj','hNIES','OkBnM','cEQRz','xMnyy','Ldrvm','setProxySettings','QWBGE','hifZt','gKsln','constructor','sPcto','qKBfh','eipTk','FaNlz','tgupy','cYwUc','HyqhA','isUndefined','beforeExit','jCYGY','error','tpLcc','env','UOMDV','getUserName','kcahV','RHzgj','EuTva','getLocalIdentifier','EpEVg','xmXPg','warn','LQaPp','handleExceptions','default','PBqyd','PjrwJ','QjDaW','YyPoh','uncaughtException','PzwUy','NgIfy','VpgRS','requireSeleniumWebdriverCheck','NviTX','XYsAG','ywYbl','setLogLevel','orxMH','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','DaVrQ','bvnqO','SIGTERM','DkVgL','SIGINT','SXaFb','unhandledRejection','3533499pANsXt','guDAt','localOptions','bksZZ','pYtyA','framework','9002584QojqcO','envConfig','bnXoo','pwiHJ','NXqCM','MkvPt','useW3C','config','platforms','vDKVA','967223LtEzEA','IMJes'];a33_0x2a24=function(){return _0x337a60;};return a33_0x2a24();}function a33_0x5a06(_0x5eca5c,_0x2cf4b2){const _0x2a24ec=a33_0x2a24();return a33_0x5a06=function(_0x5a0649,_0x5184e6){_0x5a0649=_0x5a0649-0xab;let _0x27390f=_0x2a24ec[_0x5a0649];return _0x27390f;},a33_0x5a06(_0x5eca5c,_0x2cf4b2);}exports[a33_0xac2259(0xe7)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a34_0x3187(_0xa84e61,_0x580b5b){var _0xdd5d5b=a34_0xdd5d();return a34_0x3187=function(_0x31874b,_0x43334e){_0x31874b=_0x31874b-0x8d;var _0x4e2b3f=_0xdd5d5b[_0x31874b];return _0x4e2b3f;},a34_0x3187(_0xa84e61,_0x580b5b);}var a34_0x1b5a6f=a34_0x3187;function a34_0xdd5d(){var _0x3e6c74=['soEQP','BROWSERSTACK_OBSERVABILITY_DEBUG','browserstack.user_name','buildIdentifier','XYsSh','CVEXV','GmtnG','browserstack.automation','BROWSERSTACK_APP','browserstack.ppp','BROWSERSTACK_BUILD_NAME','BROWSERSTACK_USER_NAME','1352804CSDqhF','vkGSC','parallelsPerPlatform','BROWSERSTACK_RERUN_TESTS','OluFV','JeCgj','BROWSERSTACK_USERNAME','Tzcjm','automation','LNZgL','EHBKJ','957378kNJIno','BROWSERSTACK_LOCAL_IDENTIFIER','projectName','2764310FXIyGX','17902WeyxHS','zExFj','kWtuQ','kHROY','BROWSERSTACK_PROJECT_NAME','bIkYU','RtZGs','EnvCapsMapping','vCqKZ','ZmDEM','browserstack.local','browserstack.logLevel','DMUaV','browserstack.parallelsPerPlatform','3198582vltiqd','localIdentifier','640kzTBrn','Jczdh','pamFe','GQshs','browserstack.localIdentifier','EpjGE','browserstackLocal','BROWSERSTACK_BUILD_IDENTIFIER','iigHB','KPTRL','browserstack.userName','1294785wkshWw','8211uzgftd','taWio','60eQcSgF','rerunTests','logLevel','browserstack.accessKey','BROWSERSTACK_ACCESS_KEY','accessKey','OaURC','BROWSERSTACK_PARALLELS_PER_PLATFORM','bQdkd','CLICapsMapping','browserstack.rerunTests','oglkF','app','buildName'];a34_0xdd5d=function(){return _0x3e6c74;};return a34_0xdd5d();}(function(_0x5bd0e1,_0x1dc257){var _0x516caa=a34_0x3187,_0x11c9a7=_0x5bd0e1();while(!![]){try{var _0x4124af=-parseInt(_0x516caa(0xb8))/0x1*(-parseInt(_0x516caa(0x9a))/0x2)+parseInt(_0x516caa(0x96))/0x3+-parseInt(_0x516caa(0xd2))/0x4+parseInt(_0x516caa(0x99))/0x5+-parseInt(_0x516caa(0xa8))/0x6+parseInt(_0x516caa(0xb6))/0x7*(-parseInt(_0x516caa(0xaa))/0x8)+-parseInt(_0x516caa(0xb5))/0x9;if(_0x4124af===_0x1dc257)break;else _0x11c9a7['push'](_0x11c9a7['shift']());}catch(_0xefd0d7){_0x11c9a7['push'](_0x11c9a7['shift']());}}}(a34_0xdd5d,0x4940d),exports[a34_0x1b5a6f(0xc1)]=()=>{var _0x143bfa=a34_0x1b5a6f,_0x358395={};_0x358395[_0x143bfa(0xaf)]=_0x143bfa(0xc8),_0x358395[_0x143bfa(0x95)]=_0x143bfa(0xb4),_0x358395['CVEXV']='browserstack.access_key',_0x358395['KPTRL']=_0x143bfa(0xbb),_0x358395[_0x143bfa(0xa3)]='browserstack.buildName',_0x358395[_0x143bfa(0xc6)]='browserstack.projectName',_0x358395[_0x143bfa(0xc3)]='browserstack.buildIdentifier',_0x358395[_0x143bfa(0xbe)]=_0x143bfa(0xcf),_0x358395[_0x143bfa(0xad)]=_0x143bfa(0xa7),_0x358395[_0x143bfa(0xcc)]=_0x143bfa(0xa4),_0x358395[_0x143bfa(0x92)]=_0x143bfa(0xae),_0x358395['bIkYU']=_0x143bfa(0xc2),_0x358395[_0x143bfa(0xb7)]='browserstack.app',_0x358395[_0x143bfa(0xca)]=_0x143bfa(0xa5),_0x358395[_0x143bfa(0xac)]=_0x143bfa(0xcd);var _0x19a652=_0x358395,_0x5d913f={};return _0x5d913f['userName']=[_0x19a652[_0x143bfa(0xaf)],_0x19a652['EHBKJ']],_0x5d913f[_0x143bfa(0xbd)]=[_0x19a652[_0x143bfa(0xcb)],_0x19a652[_0x143bfa(0xb3)]],_0x5d913f['buildName']=[_0x19a652[_0x143bfa(0xa3)]],_0x5d913f[_0x143bfa(0x98)]=[_0x19a652[_0x143bfa(0xc6)]],_0x5d913f[_0x143bfa(0xc9)]=[_0x19a652[_0x143bfa(0xc3)]],_0x5d913f[_0x143bfa(0x8d)]=[_0x19a652['OaURC'],_0x19a652['GQshs']],_0x5d913f['browserstackLocal']=[_0x19a652[_0x143bfa(0xcc)]],_0x5d913f[_0x143bfa(0xa9)]=[_0x19a652['Tzcjm']],_0x5d913f[_0x143bfa(0xb9)]=[_0x19a652[_0x143bfa(0x9f)]],_0x5d913f[_0x143bfa(0xc4)]=[_0x19a652['taWio']],_0x5d913f[_0x143bfa(0xba)]=[_0x19a652[_0x143bfa(0xca)]],_0x5d913f[_0x143bfa(0x93)]=[_0x19a652[_0x143bfa(0xac)]],_0x5d913f;},exports[a34_0x1b5a6f(0xa1)]=()=>{var _0x173d6c=a34_0x1b5a6f,_0x1d4605={};_0x1d4605[_0x173d6c(0xa6)]=_0x173d6c(0x91),_0x1d4605[_0x173d6c(0x9c)]=_0x173d6c(0xd1),_0x1d4605[_0x173d6c(0xa2)]=_0x173d6c(0xbc),_0x1d4605[_0x173d6c(0x9b)]=_0x173d6c(0xd0),_0x1d4605[_0x173d6c(0xab)]=_0x173d6c(0x9e),_0x1d4605[_0x173d6c(0x94)]=_0x173d6c(0xb1),_0x1d4605[_0x173d6c(0x90)]=_0x173d6c(0xbf),_0x1d4605[_0x173d6c(0xc0)]='BROWSERSTACK_LOCAL',_0x1d4605[_0x173d6c(0xa0)]=_0x173d6c(0x97),_0x1d4605['kHROY']=_0x173d6c(0x8e),_0x1d4605[_0x173d6c(0xd3)]=_0x173d6c(0xce),_0x1d4605['iigHB']=_0x173d6c(0xc7),_0x1d4605[_0x173d6c(0x8f)]='BROWSERSTACK_AUTOMATION';var _0x35e79c=_0x1d4605,_0x3b398d={};return _0x3b398d['userName']=[_0x35e79c[_0x173d6c(0xa6)],_0x35e79c[_0x173d6c(0x9c)]],_0x3b398d[_0x173d6c(0xbd)]=[_0x35e79c['vCqKZ']],_0x3b398d[_0x173d6c(0xc5)]=[_0x35e79c[_0x173d6c(0x9b)]],_0x3b398d[_0x173d6c(0x98)]=[_0x35e79c[_0x173d6c(0xab)]],_0x3b398d['buildIdentifier']=[_0x35e79c[_0x173d6c(0x94)]],_0x3b398d['parallelsPerPlatform']=[_0x35e79c['JeCgj']],_0x3b398d[_0x173d6c(0xb0)]=[_0x35e79c[_0x173d6c(0xc0)]],_0x3b398d['localIdentifier']=[_0x35e79c[_0x173d6c(0xa0)]],_0x3b398d['rerunTests']=[_0x35e79c[_0x173d6c(0x9d)]],_0x3b398d[_0x173d6c(0xc4)]=[_0x35e79c[_0x173d6c(0xd3)]],_0x3b398d[_0x173d6c(0xba)]=[_0x35e79c[_0x173d6c(0xb2)]],_0x3b398d[_0x173d6c(0x93)]=[_0x35e79c[_0x173d6c(0x8f)]],_0x3b398d;});
|