browserstack-node-sdk 1.15.1 → 1.16.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/hubAllocationMethods.js +1 -0
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x5d5dfd=a30_0x47cf;(function(_0x1618ca,_0x697a09){const _0x3b7152=a30_0x47cf,_0x2737e0=_0x1618ca();while(!![]){try{const _0x354d26=parseInt(_0x3b7152(0x1bb))/0x1*(-parseInt(_0x3b7152(0x1bf))/0x2)+parseInt(_0x3b7152(0x1c7))/0x3+-parseInt(_0x3b7152(0x1c5))/0x4*(parseInt(_0x3b7152(0x1d1))/0x5)+-parseInt(_0x3b7152(0x1d3))/0x6*(parseInt(_0x3b7152(0x1d7))/0x7)+parseInt(_0x3b7152(0x1b9))/0x8+parseInt(_0x3b7152(0x1c1))/0x9*(-parseInt(_0x3b7152(0x1ba))/0xa)+parseInt(_0x3b7152(0x1be))/0xb*(parseInt(_0x3b7152(0x1c0))/0xc);if(_0x354d26===_0x697a09)break;else _0x2737e0['push'](_0x2737e0['shift']());}catch(_0x4c7283){_0x2737e0['push'](_0x2737e0['shift']());}}}(a30_0x19c4,0x78aad));const Transport=require(a30_0x5d5dfd(0x1d0)),{consoleHolder}=require(a30_0x5d5dfd(0x1d4)),a30_0x493dca={};a30_0x493dca['INFO']='INFO',a30_0x493dca[a30_0x5d5dfd(0x1ca)]=a30_0x5d5dfd(0x1ca),a30_0x493dca[a30_0x5d5dfd(0x1c6)]=a30_0x5d5dfd(0x1c6),a30_0x493dca[a30_0x5d5dfd(0x1cd)]=a30_0x5d5dfd(0x1cd),a30_0x493dca[a30_0x5d5dfd(0x1cc)]=a30_0x5d5dfd(0x1cc);function a30_0x19c4(){const _0x1a30e4=['bs:addLog:','7umkTJI','trace','1992968NCaxQS','3841010OAMrMa','249zvDzZj','toLowerCase','debug','143rqSkhF','5596fTxEfA','1404276PocSnh','9loeoRQ','info','toUpperCase','INFO','6668HfvjuX','DEBUG','2916405TBFpWe','error','toISOString','ERROR','warn','WARN','TRACE','emit','exports','winston-transport','1700lUrZEp','logToTestOps','3604314kZjJwb','../mocha/test-observability/constants','qFqHn'];a30_0x19c4=function(){return _0x1a30e4;};return a30_0x19c4();}const LOG_LEVELS=a30_0x493dca;class logPatcher extends Transport{constructor(_0x2c2efc){super(_0x2c2efc);}['logToTestOps']=(_0x858a8f=LOG_LEVELS[a30_0x5d5dfd(0x1c4)],_0x344505=[''])=>{const _0x1e3409=a30_0x5d5dfd,_0x79a33a={};_0x79a33a[_0x1e3409(0x1d5)]='TEST_LOG';const _0x2fa999=_0x79a33a;consoleHolder[_0x858a8f[_0x1e3409(0x1bc)]()](..._0x344505),process[_0x1e3409(0x1ce)](_0x1e3409(0x1d6)+process['pid'],{'timestamp':new Date()[_0x1e3409(0x1c9)](),'level':_0x858a8f[_0x1e3409(0x1c3)](),'message':'\x22'+_0x344505['join'](',\x20')+'\x22','kind':_0x2fa999[_0x1e3409(0x1d5)],'http_response':{}});};[a30_0x5d5dfd(0x1d8)]=(..._0x5096da)=>{const _0x3760ce=a30_0x5d5dfd;this['logToTestOps'](LOG_LEVELS[_0x3760ce(0x1cd)],_0x5096da);};[a30_0x5d5dfd(0x1bd)]=(..._0x150061)=>{const _0x4a8cc7=a30_0x5d5dfd;this['logToTestOps'](LOG_LEVELS[_0x4a8cc7(0x1c6)],_0x150061);};[a30_0x5d5dfd(0x1c2)]=(..._0x524e66)=>{const _0x409776=a30_0x5d5dfd;this[_0x409776(0x1d2)](LOG_LEVELS[_0x409776(0x1c4)],_0x524e66);};[a30_0x5d5dfd(0x1cb)]=(..._0x362bae)=>{const _0x4e5b3d=a30_0x5d5dfd;this[_0x4e5b3d(0x1d2)](LOG_LEVELS[_0x4e5b3d(0x1cc)],_0x362bae);};[a30_0x5d5dfd(0x1c8)]=(..._0x553589)=>{const _0x559b07=a30_0x5d5dfd;this[_0x559b07(0x1d2)](LOG_LEVELS['ERROR'],_0x553589);};['log']=(..._0x3843d7)=>{const _0x469144=a30_0x5d5dfd;this[_0x469144(0x1d2)](LOG_LEVELS['INFO'],_0x3843d7);};}function a30_0x47cf(_0x5b2133,_0x46c56e){const _0x19c42c=a30_0x19c4();return a30_0x47cf=function(_0x47cfaa,_0x9fa38b){_0x47cfaa=_0x47cfaa-0x1b9;let _0x4f446a=_0x19c42c[_0x47cfaa];return _0x4f446a;},a30_0x47cf(_0x5b2133,_0x46c56e);};module[a30_0x5d5dfd(0x1cf)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a31_0x5ab21e=a31_0x7dd0;function a31_0x7dd0(_0x442d8b,_0x51bed0){const _0x5d0392=a31_0x5d03();return a31_0x7dd0=function(_0x7dd0b,_0x3c56e2){_0x7dd0b=_0x7dd0b-0x1eb;let _0x37537f=_0x5d0392[_0x7dd0b];return _0x37537f;},a31_0x7dd0(_0x442d8b,_0x51bed0);}(function(_0x4e24ed,_0x2d7d40){const _0x1098f9=a31_0x7dd0,_0x381c35=_0x4e24ed();while(!![]){try{const _0x355174=-parseInt(_0x1098f9(0x1f3))/0x1*(-parseInt(_0x1098f9(0x208))/0x2)+-parseInt(_0x1098f9(0x201))/0x3+-parseInt(_0x1098f9(0x1fc))/0x4+parseInt(_0x1098f9(0x207))/0x5*(parseInt(_0x1098f9(0x210))/0x6)+parseInt(_0x1098f9(0x20f))/0x7+-parseInt(_0x1098f9(0x21b))/0x8*(-parseInt(_0x1098f9(0x214))/0x9)+-parseInt(_0x1098f9(0x1f6))/0xa;if(_0x355174===_0x2d7d40)break;else _0x381c35['push'](_0x381c35['shift']());}catch(_0x4ed4ce){_0x381c35['push'](_0x381c35['shift']());}}}(a31_0x5d03,0x51284));const Transport=require(a31_0x5ab21e(0x206)),{consoleHolder}=require(a31_0x5ab21e(0x211)),a31_0x4fbc1e={};a31_0x4fbc1e[a31_0x5ab21e(0x216)]=a31_0x5ab21e(0x216),a31_0x4fbc1e[a31_0x5ab21e(0x20d)]='ERROR',a31_0x4fbc1e[a31_0x5ab21e(0x1ed)]=a31_0x5ab21e(0x1ed),a31_0x4fbc1e[a31_0x5ab21e(0x200)]='TRACE',a31_0x4fbc1e['WARN']=a31_0x5ab21e(0x1f2);const LOG_LEVELS=a31_0x4fbc1e;class logReportingAPI extends Transport{constructor(_0x5733ee){super(_0x5733ee);}[a31_0x5ab21e(0x1ee)](_0x15cc48,_0x209e27){const _0x36a85c=a31_0x5ab21e,_0x4c5fb9={'PeIiZ':function(_0x1731be,_0x5ce916){return _0x1731be===_0x5ce916;},'ljzVU':_0x36a85c(0x219),'ocgjc':_0x36a85c(0x1f9),'KkqHj':_0x36a85c(0x215),'VvbuF':function(_0x572be6,_0x58a0de){return _0x572be6(_0x58a0de);},'XTHej':function(_0x59ccfa,_0x4ec0d0){return _0x59ccfa===_0x4ec0d0;},'rCljr':_0x36a85c(0x20e),'tcSKn':function(_0x579475){return _0x579475();},'mhxsx':function(_0x59639a,_0x35ba22){return _0x59639a(_0x35ba22);},'QWlGr':_0x36a85c(0x1eb),'ihZnS':_0x36a85c(0x217),'AYVCF':function(_0x22a4f6,_0x271075){return _0x22a4f6!==_0x271075;},'YJMQO':'hDJPg'};_0x4c5fb9[_0x36a85c(0x1f8)](setImmediate,()=>{const _0x510be5=_0x36a85c;_0x4c5fb9[_0x510be5(0x204)](_0x4c5fb9['ljzVU'],_0x4c5fb9['ocgjc'])?this[_0x510be5(0x1ef)](_0x537d52[_0x510be5(0x1ed)],_0x10d61e):this['emit'](_0x4c5fb9[_0x510be5(0x20a)],_0x15cc48);});if(_0x4c5fb9[_0x36a85c(0x1f1)](typeof _0x15cc48,_0x4c5fb9[_0x36a85c(0x21a)]))_0x4c5fb9[_0x36a85c(0x1f1)](_0x4c5fb9[_0x36a85c(0x203)],_0x4c5fb9[_0x36a85c(0x1f4)])?this[_0x36a85c(0x1fd)](_0x4c5fb9[_0x36a85c(0x20a)],_0xf8a2a2):this['logToTestOps'](_0x15cc48[_0x36a85c(0x1fb)]||LOG_LEVELS[_0x36a85c(0x216)],_0x15cc48[_0x36a85c(0x218)],![]);else{if(_0x4c5fb9[_0x36a85c(0x213)](_0x4c5fb9[_0x36a85c(0x21c)],_0x4c5fb9['YJMQO'])){_0x4c5fb9[_0x36a85c(0x1f5)](_0x5df5ff,()=>{const _0x6b6ba6=_0x36a85c;this[_0x6b6ba6(0x1fd)](_0x4c5fb9['KkqHj'],_0x4b7a99);});_0x4c5fb9[_0x36a85c(0x1f1)](typeof _0x263f98,_0x4c5fb9[_0x36a85c(0x21a)])?this[_0x36a85c(0x1ef)](_0x511dc6['level']||_0x5915ad['INFO'],_0x18eedd['message'],![]):this[_0x36a85c(0x1ef)](_0x23c000[_0x36a85c(0x216)],_0x2b6d03);if(_0x50db99)_0x4c5fb9[_0x36a85c(0x1f0)](_0x443d6b);}else this[_0x36a85c(0x1ef)](LOG_LEVELS[_0x36a85c(0x216)],_0x15cc48);}if(_0x209e27)_0x4c5fb9[_0x36a85c(0x1f0)](_0x209e27);}['logToTestOps']=(_0xc63ca5=LOG_LEVELS[a31_0x5ab21e(0x216)],_0x429c3a='',_0x283cd0=!![])=>{const _0x56a27a=a31_0x5ab21e,_0x5c4cd9={};_0x5c4cd9[_0x56a27a(0x212)]=_0x56a27a(0x1ff);const _0x4f06f0=_0x5c4cd9;if(_0x283cd0)consoleHolder[_0xc63ca5[_0x56a27a(0x20c)]()](_0x429c3a);process[_0x56a27a(0x1fd)]('bs:addLog:'+process[_0x56a27a(0x1fe)],{'timestamp':new Date()[_0x56a27a(0x1fa)](),'level':_0xc63ca5[_0x56a27a(0x1f7)](),'message':_0x429c3a,'kind':_0x4f06f0['FarBG'],'http_response':{}});};[a31_0x5ab21e(0x20b)]=(_0x18839c,_0x85b92)=>{const _0x38417f=a31_0x5ab21e;this[_0x38417f(0x1ef)](LOG_LEVELS['TRACE'],_0x18839c);};[a31_0x5ab21e(0x205)]=(_0x2d50a4,_0x5b5d03)=>{const _0x5218b8=a31_0x5ab21e;this[_0x5218b8(0x1ef)](LOG_LEVELS[_0x5218b8(0x1ed)],_0x2d50a4);};['info']=(_0x4a7808,_0xfff8db)=>{const _0x1ab4dd=a31_0x5ab21e;this[_0x1ab4dd(0x1ef)](LOG_LEVELS[_0x1ab4dd(0x216)],_0x4a7808);};[a31_0x5ab21e(0x209)]=(_0x22bd7b,_0x649825)=>{const _0x26b6f6=a31_0x5ab21e;this[_0x26b6f6(0x1ef)](LOG_LEVELS[_0x26b6f6(0x1f2)],_0x22bd7b);};[a31_0x5ab21e(0x1ec)]=(_0x4bd83c,_0x590fd1)=>{const _0x1410f0=a31_0x5ab21e;this[_0x1410f0(0x1ef)](LOG_LEVELS[_0x1410f0(0x20d)],_0x4bd83c);};};module[a31_0x5ab21e(0x202)]=logReportingAPI;function a31_0x5d03(){const _0x503981=['24xgocpf','YJMQO','lFCPw','error','DEBUG','log','logToTestOps','tcSKn','XTHej','WARN','624meWnOE','ihZnS','VvbuF','1295530CmjfIK','toUpperCase','mhxsx','jhBed','toISOString','level','2007752OTAuxt','emit','pid','TEST_LOG','TRACE','835080nwSJxu','exports','QWlGr','PeIiZ','debug','winston-transport','30UxRINx','384UijFLj','warn','KkqHj','trace','toLowerCase','ERROR','object','2504908LZpHXM','295362sPqOlL','../mocha/test-observability/constants','FarBG','AYVCF','1407771yGXqCJ','logged','INFO','fXSks','message','CaDWm','rCljr'];a31_0x5d03=function(){return _0x503981;};return a31_0x5d03();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';function a32_0x48c4(_0x1ffaf5,_0x32885d){const _0x4d4022=a32_0x4d40();return a32_0x48c4=function(_0x48c419,_0x27faa3){_0x48c419=_0x48c419-0x146;let _0x454207=_0x4d4022[_0x48c419];return _0x454207;},a32_0x48c4(_0x1ffaf5,_0x32885d);}const a32_0x916b5d=a32_0x48c4;(function(_0x3b650a,_0x59269d){const _0x16676d=a32_0x48c4,_0x1707be=_0x3b650a();while(!![]){try{const _0x36d7fb=parseInt(_0x16676d(0x164))/0x1+-parseInt(_0x16676d(0x15f))/0x2+parseInt(_0x16676d(0x15b))/0x3+parseInt(_0x16676d(0x185))/0x4*(parseInt(_0x16676d(0x173))/0x5)+-parseInt(_0x16676d(0x150))/0x6*(parseInt(_0x16676d(0x167))/0x7)+-parseInt(_0x16676d(0x148))/0x8+parseInt(_0x16676d(0x175))/0x9*(parseInt(_0x16676d(0x172))/0xa);if(_0x36d7fb===_0x59269d)break;else _0x1707be['push'](_0x1707be['shift']());}catch(_0x4746c3){_0x1707be['push'](_0x1707be['shift']());}}}(a32_0x4d40,0x5c65b));const fs=require('fs'),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a32_0x916b5d(0x14e)),{parallelVanillaRun}=require(a32_0x916b5d(0x166));function a32_0x4d40(){const _0x29f215=['cKnNA','platforms','configuration','getPlatformName','tuUMc','JaEHq','PJxxz','1364720XnGKut','join','zNBZN','5607048TCNXVl','useW3C','nAMPX','setUpHubUrl','htNal','length','../utils/constants','hubUrl','6MKyGdB','modifyBrowserStackW3CCaps','args','lbesI','NVhUr','WFWkB','parallelsPerPlatform','ZxJgN','File\x20path\x20is\x20required','\x20doesn\x27t\x20exist','ggGgQ','843681RpzqxC','MvKsp','cwd','file','432352QIlsyQ','nEITj','tqBvo','DEKoH','FEyTp','475960hRlSJw','fEDCA','../test-runner','3119641NFBJyC','config','modifyBrowserStackCaps','praFN','File\x20','bTziN','push','isUndefined','JxOsX','unUaF','ioyhm','62840debYLD','10BGbwKy','proxySettings','432ACUhuB','forEach','tfiZr','server','DPIaA','existsSync','EwiaE','XLOPZ','finalExecution'];a32_0x4d40=function(){return _0x29f215;};return a32_0x4d40();}async function run(_0x589e76,_0x5adfbf){const _0x4c771f=a32_0x916b5d,_0x464f93={'JaEHq':'vanilla','fEDCA':function(_0xb6006a,_0x3b1feb){return _0xb6006a!==_0x3b1feb;},'nEITj':_0x4c771f(0x184),'MvKsp':function(_0x421118,_0x5abe62){return _0x421118!==_0x5abe62;},'tuUMc':_0x4c771f(0x16f),'RJNgC':function(_0x1d7b5f,_0x935ebb){return _0x1d7b5f(_0x935ebb);},'ioyhm':_0x4c771f(0x158),'bTziN':function(_0x50a959,_0x3f2682){return _0x50a959(_0x3f2682);},'XLOPZ':function(_0x42d7c1,_0xb42479){return _0x42d7c1(_0xb42479);},'DPIaA':'Config\x20yml\x20is\x20required','WFWkB':function(_0x2e5150,_0xb15c21){return _0x2e5150>_0xb15c21;},'nAMPX':function(_0x37b4e2,_0x39cb14){return _0x37b4e2===_0x39cb14;},'ZxJgN':_0x4c771f(0x14c),'FEyTp':_0x4c771f(0x15a),'tqBvo':_0x4c771f(0x16a),'lbesI':_0x4c771f(0x177),'cKnNA':function(_0x50cf56,_0xae40d2){return _0x50cf56===_0xae40d2;},'EwiaE':'xhgll','DEKoH':_0x4c771f(0x170),'zNBZN':function(_0x24a33c,_0x3bbdc5){return _0x24a33c*_0x3bbdc5;},'NVhUr':function(_0x2865f5,_0x288b41,_0x3405c2){return _0x2865f5(_0x288b41,_0x3405c2);}},_0x39c39b=new BrowserStackSetup(_0x589e76,_0x464f93[_0x4c771f(0x183)]);await _0x39c39b[_0x4c771f(0x14b)]();let _0x1b7cdf=[];if(helper[_0x4c771f(0x16e)](_0x589e76['_'][0x1]))throw _0x464f93['RJNgC'](Error,_0x464f93[_0x4c771f(0x171)]);const _0x5e6cb5=path[_0x4c771f(0x146)](process[_0x4c771f(0x15d)](),_0x589e76['_'][0x1]);if(!fs[_0x4c771f(0x17a)](_0x5e6cb5))throw _0x464f93[_0x4c771f(0x16c)](Error,_0x4c771f(0x16b)+_0x589e76['_'][0x1]+_0x4c771f(0x159));if(!_0x39c39b[_0x4c771f(0x168)])throw _0x464f93[_0x4c771f(0x17c)](Error,_0x464f93[_0x4c771f(0x179)]);let _0x5793a4=helper[_0x4c771f(0x149)](_0x39c39b['config']);if(_0x39c39b[_0x4c771f(0x168)][_0x4c771f(0x17f)]&&_0x464f93[_0x4c771f(0x155)](_0x39c39b['config'][_0x4c771f(0x17f)][_0x4c771f(0x14d)],0x0)){if(_0x464f93[_0x4c771f(0x14a)](_0x464f93[_0x4c771f(0x157)],_0x464f93[_0x4c771f(0x163)])){if(_0x1a5f8c)_0x7b3de1[_0x4c771f(0x16d)](_0x148cd8[_0x4c771f(0x151)](_0x6a698a['config'],_0x464f93[_0x4c771f(0x183)],_0x3b2911));else _0x38cd96[_0x4c771f(0x16d)](_0x59074a['modifyBrowserStackCaps'](_0x2d0934[_0x4c771f(0x168)],_0x464f93[_0x4c771f(0x183)],_0x43c2b1));}else _0x39c39b[_0x4c771f(0x168)]['platforms'][_0x4c771f(0x176)]((_0x2fa37f,_0x5eddfc)=>{const _0x2f3171=_0x4c771f;if(_0x464f93[_0x2f3171(0x165)](_0x464f93[_0x2f3171(0x160)],_0x464f93[_0x2f3171(0x160)]))_0x2f8dce[_0x2f3171(0x176)](_0x30f3cf=>{const _0x417a69=_0x2f3171;_0x1f8d06={'server':_0x30dc53['hubUrl'],'proxySettings':_0x294c4c[_0x417a69(0x168)][_0x417a69(0x174)],'platform':_0x35ad2c[_0x417a69(0x181)](_0x30f3cf)};const _0x5935a5={'capability':_0x30f3cf,..._0x180b3f};_0x5935a5[_0x417a69(0x15e)]=_0x47c5bb,_0x5935a5['args']=_0x31322a;const _0x19ef8e={};_0x19ef8e[_0x417a69(0x180)]=_0x5935a5,_0x4ef216=_0x19ef8e,_0x367f92[_0x417a69(0x16d)](_0x4024e8);});else{if(_0x5793a4)_0x1b7cdf[_0x2f3171(0x16d)](helper['modifyBrowserStackW3CCaps'](_0x39c39b[_0x2f3171(0x168)],_0x464f93['JaEHq'],_0x5eddfc));else _0x1b7cdf['push'](helper['modifyBrowserStackCaps'](_0x39c39b[_0x2f3171(0x168)],_0x464f93['JaEHq'],_0x5eddfc));}});}let _0xe06e33,_0x5b4cfc;const _0x11f443=[];if(_0x464f93[_0x4c771f(0x155)](_0x1b7cdf['length'],0x0))_0x464f93[_0x4c771f(0x14a)](_0x464f93[_0x4c771f(0x161)],_0x464f93[_0x4c771f(0x153)])?_0x8a5d0e['config'][_0x4c771f(0x17f)][_0x4c771f(0x176)]((_0x23e8e7,_0x4ae485)=>{const _0x3b5d68=_0x4c771f;if(_0x255223)_0x50988b[_0x3b5d68(0x16d)](_0x3d50cb['modifyBrowserStackW3CCaps'](_0x5b11e8[_0x3b5d68(0x168)],_0x464f93[_0x3b5d68(0x183)],_0x4ae485));else _0x3612c2['push'](_0x598afd[_0x3b5d68(0x169)](_0x35430a[_0x3b5d68(0x168)],_0x464f93[_0x3b5d68(0x183)],_0x4ae485));}):_0x1b7cdf['forEach'](_0x252de1=>{const _0x4d1baa=_0x4c771f;if(_0x464f93[_0x4d1baa(0x15c)](_0x464f93['tuUMc'],_0x464f93[_0x4d1baa(0x182)])){_0x40a9bd={'server':_0x31702c['hubUrl'],'proxySettings':_0x153cd8[_0x4d1baa(0x168)][_0x4d1baa(0x174)],'platform':_0x3dc6f1[_0x4d1baa(0x181)](_0x357587)};const _0x10a43b={'capability':_0x1a1d57,..._0xb08dd6};_0x10a43b['file']=_0x4245c7,_0x10a43b[_0x4d1baa(0x152)]=_0x441b89;const _0x3e90c4={};_0x3e90c4['configuration']=_0x10a43b,_0x9c1a2e=_0x3e90c4,_0x3aec6a['push'](_0x188c91);}else{_0xe06e33={'server':constants[_0x4d1baa(0x14f)],'proxySettings':_0x39c39b[_0x4d1baa(0x168)]['proxySettings'],'platform':helper[_0x4d1baa(0x181)](_0x252de1)};const _0x33542a={'capability':_0x252de1,..._0xe06e33};_0x33542a[_0x4d1baa(0x15e)]=_0x5e6cb5,_0x33542a[_0x4d1baa(0x152)]=_0x5adfbf;const _0x40b927={};_0x40b927[_0x4d1baa(0x180)]=_0x33542a,_0x5b4cfc=_0x40b927,_0x11f443[_0x4d1baa(0x16d)](_0x5b4cfc);}});else{if(_0x464f93[_0x4c771f(0x17e)](_0x464f93[_0x4c771f(0x17b)],_0x464f93[_0x4c771f(0x162)])){let _0x54d872;if(_0x14eaa6)_0x54d872=_0x2fb06a[_0x4c771f(0x151)](_0x2c647d[_0x4c771f(0x168)],_0x464f93[_0x4c771f(0x183)],0x0);else _0x54d872=_0x29e645[_0x4c771f(0x169)](_0x1000cc['config'],_0x464f93['JaEHq'],0x0);const _0x236501={};_0x236501[_0x4c771f(0x178)]=_0x53bd1c[_0x4c771f(0x14f)],_0x236501['proxySettings']=_0x26dd39[_0x4c771f(0x168)][_0x4c771f(0x174)],_0x176905=_0x236501;const _0x448f2a={'capability':_0x54d872,..._0x1f029b};_0x448f2a[_0x4c771f(0x15e)]=_0x48c787,_0x448f2a[_0x4c771f(0x152)]=_0x1a3f37;const _0x377020={};_0x377020['configuration']=_0x448f2a,_0x5b68e7=_0x377020,_0x4d0ca1[_0x4c771f(0x16d)](_0x3e530b);}else{let _0x101bec;if(_0x5793a4)_0x101bec=helper['modifyBrowserStackW3CCaps'](_0x39c39b[_0x4c771f(0x168)],_0x464f93[_0x4c771f(0x183)],0x0);else _0x101bec=helper[_0x4c771f(0x169)](_0x39c39b['config'],_0x464f93[_0x4c771f(0x183)],0x0);const _0x457ef3={};_0x457ef3['server']=constants['hubUrl'],_0x457ef3[_0x4c771f(0x174)]=_0x39c39b[_0x4c771f(0x168)]['proxySettings'],_0xe06e33=_0x457ef3;const _0x1a5ae0={'capability':_0x101bec,..._0xe06e33};_0x1a5ae0[_0x4c771f(0x15e)]=_0x5e6cb5,_0x1a5ae0['args']=_0x5adfbf;const _0x4c2586={};_0x4c2586[_0x4c771f(0x180)]=_0x1a5ae0,_0x5b4cfc=_0x4c2586,_0x11f443[_0x4c771f(0x16d)](_0x5b4cfc);}}const _0x24fccb=_0x464f93[_0x4c771f(0x147)](_0x39c39b[_0x4c771f(0x168)]['platforms']['length']||0x1,_0x39c39b[_0x4c771f(0x168)][_0x4c771f(0x156)]);_0x464f93[_0x4c771f(0x154)](parallelVanillaRun,_0x11f443,_0x24fccb)['then'](_0x45b681=>{})['finally'](async()=>{const _0x510fa3=_0x4c771f;await helper[_0x510fa3(0x17d)](_0x39c39b);});}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a33_0x8d2e(_0x2361a0,_0x4108d9){const _0x11b8e3=a33_0x11b8();return a33_0x8d2e=function(_0x8d2ea6,_0x9ff8f0){_0x8d2ea6=_0x8d2ea6-0x16c;let _0x41ee7c=_0x11b8e3[_0x8d2ea6];return _0x41ee7c;},a33_0x8d2e(_0x2361a0,_0x4108d9);}const a33_0x43ed30=a33_0x8d2e;function a33_0x11b8(){const _0x24a3a4=['57321BgqVaN','hbDkz','sanitizeCaps','readConfig','format','1671565AwwYQq','1610076XnThWh','length','pkqBs','beforeExit','tPuhJ','ZXcSu','80KMuSiX','tJGno','unhandledErrors','fireFunnelTestEvent','generateLocalIdentifier','toString','kZohO','nVqZG','getConfigPath','htiTH','Error\x20occured\x20while\x20stopping\x20local\x20binary','oHsgF','stopBrowserstackLocal','getPackageVersion','YNmFn','PVogh','getUserName','obdnU','setCLICaps','keizI','kTcvk','GlUtx','SDKTestAttempted','cliConfig','fmKlp','991904HJTGfT','sPSOs','browserStackLocalOptions','UMeij','vnBiG','pAbnL','ojyon','7ocdViK','yQrst','localIdentifier','uNLfU','MCcJZ','setupKeepAlive','hbSHJ','./helper','unhandledRejection','QHReo','TxuRD','FURRJ','SIGTERM','HLGSx','constructor','userName\x20or\x20accessKey\x20is\x20not\x20defined','ARhZy','isUndefined','Local\x20binary\x20stopped','useW3C','cMMRy','No\x20config\x20provided.','isRunning','./logger','iXDmS','bYjtU','EwhSO','startLocalBinarySync','warn','Dahrb','euEML','FRAMEWORK','util','info','browserstackLocal','bREHR','bZbzO','platforms','FMqBP','oNFvz','hcWWM','HFyBl','nFlvb','uncaughtException','getAccessKey','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','setupBrowserstackLocal','vkyWK','BfNwx','kpokV','push','nnaPe','winstonLogger','localOptions','UnZUX','POUnf','cLwdI','envConfig','ZmWOD','JAAqh','10SedEqz','message','error','8933914yHXrAm','ZzTJf','ENKNH','handleExceptions','framework','debug','ZLvHy','KbYxp','soRPV','149598dHSMqV','exyVX','EeTty','lNYRa','CReuX','QTqUT','stopLocalBinary','NDacE','FclHd','CjJdx','HVjlZ','pvrjc','axdlK','WxJZw','ZnEKL','HjwtS','config','kXTTe','olKbv','./setKeepAlive','setLogLevel','kNPOR','BjrkO','epufs','VbsIt','3218670jMrgBH','env','PHSwC','qMDhf','parallelsPerPlatform','KxOeY','Makgb','jmGZK','SknoM','YZUWc','SIGINT','cpMAI','fwIxX','FpUTp','../bin/mocha/test-observability/helper','setEnvCaps','default','LYRWp','getLocalConfig','1PlkPrD','setProxySettings','AZuCD'];a33_0x11b8=function(){return _0x24a3a4;};return a33_0x11b8();}(function(_0x1e3f25,_0x37eb65){const _0x4f75e8=a33_0x8d2e,_0x1a5e76=_0x1e3f25();while(!![]){try{const _0x2aa1d5=parseInt(_0x4f75e8(0x1ff))/0x1*(parseInt(_0x4f75e8(0x1d3))/0x2)+parseInt(_0x4f75e8(0x202))/0x3*(parseInt(_0x4f75e8(0x20e))/0x4)+parseInt(_0x4f75e8(0x207))/0x5+-parseInt(_0x4f75e8(0x208))/0x6*(parseInt(_0x4f75e8(0x18a))/0x7)+parseInt(_0x4f75e8(0x183))/0x8+parseInt(_0x4f75e8(0x1ec))/0x9+-parseInt(_0x4f75e8(0x1c7))/0xa*(parseInt(_0x4f75e8(0x1ca))/0xb);if(_0x2aa1d5===_0x37eb65)break;else _0x1a5e76['push'](_0x1a5e76['shift']());}catch(_0x7f4dbd){_0x1a5e76['push'](_0x1a5e76['shift']());}}}(a33_0x11b8,0x2ef5e));const util=require(a33_0x43ed30(0x1aa)),logger=require(a33_0x43ed30(0x1a1))[a33_0x43ed30(0x1bf)],helper=require(a33_0x43ed30(0x191)),{isBrowserstackInfra}=require(a33_0x43ed30(0x1fa));class BrowserStackSetup{constructor(_0x55fea6,_0x1f5077){const _0x1d38e0=a33_0x43ed30,_0x2547ca={'axdlK':_0x1d38e0(0x180),'nVqZG':function(_0x457669,_0xd0aee8){return _0x457669<_0xd0aee8;},'olKbv':function(_0x69c90a,_0x5abd5a){return _0x69c90a(_0x5abd5a);},'ARhZy':'selenium-webdriver','nnaPe':function(_0x1270fe,_0x56beb9){return _0x1270fe>=_0x56beb9;},'JAAqh':function(_0x18dfc1,_0x29ebbf){return _0x18dfc1===_0x29ebbf;},'epufs':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','pAbnL':_0x1d38e0(0x1b8),'MCcJZ':_0x1d38e0(0x192),'hXPQv':_0x1d38e0(0x1b5),'KjmiR':_0x1d38e0(0x1e6),'jmGZK':_0x1d38e0(0x174),'FURRJ':_0x1d38e0(0x19f),'hbSHJ':function(_0x4cfa3d){return _0x4cfa3d();},'kNPOR':function(_0x29cd68,_0x1b7a42){return _0x29cd68===_0x1b7a42;},'exyVX':_0x1d38e0(0x1de),'EwhSO':_0x1d38e0(0x178),'mfngK':_0x1d38e0(0x17b),'jceXY':'mziaN','BfNwx':function(_0x382294,_0x11631d){return _0x382294===_0x11631d;},'ZmWOD':_0x1d38e0(0x1d6),'VdggU':function(_0x27d507){return _0x27d507();},'pCMvZ':_0x1d38e0(0x1e0),'HFyBl':_0x1d38e0(0x20c),'kTcvk':function(_0x46e592,_0x5dd58c){return _0x46e592(_0x5dd58c);},'snSdI':function(_0x220469,_0x2979a2){return _0x220469!==_0x2979a2;},'keizI':_0x1d38e0(0x1bc),'Makgb':_0x1d38e0(0x1ba),'HjwtS':function(_0x45a26b,_0xb7bab1){return _0x45a26b!==_0xb7bab1;},'cLwdI':'brftX','LYRWp':function(_0x172ae8,_0x158d83){return _0x172ae8!==_0x158d83;},'SknoM':_0x1d38e0(0x201),'CReuX':_0x1d38e0(0x1a3),'PVogh':_0x1d38e0(0x1d0),'fmKlp':function(_0x1ead0e,_0x42f0d6){return _0x1ead0e!==_0x42f0d6;},'pkqBs':_0x1d38e0(0x1d5),'qMDhf':function(_0x3882fc,_0x31b16b){return _0x3882fc===_0x31b16b;},'UunEw':'jhUVW','uNLfU':'JMFCc','fwIxX':_0x1d38e0(0x199),'oNFvz':_0x1d38e0(0x1ae),'HVjlZ':_0x1d38e0(0x1da),'WckaH':_0x1d38e0(0x1f7),'KbYxp':'gSBiO','ojyon':function(_0xe72625,_0x110176){return _0xe72625!==_0x110176;},'FclHd':_0x1d38e0(0x1a8),'IScsr':'AeFtV','ZXcSu':'niKGH'};this[_0x1d38e0(0x16c)]=[],this['cliConfig']=helper[_0x1d38e0(0x17c)](_0x55fea6),this[_0x1d38e0(0x1c4)]=helper[_0x1d38e0(0x1fb)](),this['browserstackLocal']=null,this[_0x1d38e0(0x1e3)]=helper[_0x1d38e0(0x205)](helper[_0x1d38e0(0x172)](_0x55fea6)),global[_0x1d38e0(0x1e3)]=this[_0x1d38e0(0x1e3)],global['framework']=_0x1f5077,helper[_0x1d38e0(0x204)](this['config']),this['framework']=_0x1f5077;if(helper[_0x1d38e0(0x19b)](this[_0x1d38e0(0x1e3)]))throw new Error(_0x2547ca[_0x1d38e0(0x195)]);if(this['config'][_0x1d38e0(0x1c9)])throw new Error(this[_0x1d38e0(0x1e3)][_0x1d38e0(0x1c9)]);helper['getFinalCaps'](this[_0x1d38e0(0x1e3)],this[_0x1d38e0(0x181)],this[_0x1d38e0(0x1c4)]),this[_0x1d38e0(0x1cd)]();if(!_0x2547ca[_0x1d38e0(0x190)](isBrowserstackInfra)){if(_0x2547ca[_0x1d38e0(0x1e8)](_0x2547ca[_0x1d38e0(0x1d4)],_0x2547ca[_0x1d38e0(0x1a4)]))_0x59b0f7[_0x1d38e0(0x1ed)]['FRAMEWORK']=_0x2c464d['_'][0x0],_0x245c02[_0x1d38e0(0x16d)](_0x2547ca[_0x1d38e0(0x1df)],{},this[_0x1d38e0(0x1e3)],this[_0x1d38e0(0x1ce)]);else try{_0x2547ca[_0x1d38e0(0x1e8)](_0x2547ca['mfngK'],_0x2547ca['jceXY'])?this[_0x1d38e0(0x1e3)][_0x1d38e0(0x185)]={'localIdentifier':_0xb75cf6[_0x1d38e0(0x16e)]()}:(process[_0x1d38e0(0x1ed)]['FRAMEWORK']=_0x1f5077,helper[_0x1d38e0(0x16d)](_0x2547ca[_0x1d38e0(0x1df)],{},this[_0x1d38e0(0x1e3)],this[_0x1d38e0(0x1ce)]));}catch(_0x2c56a5){_0x2547ca[_0x1d38e0(0x1bb)](_0x2547ca[_0x1d38e0(0x1c5)],_0x2547ca[_0x1d38e0(0x1c5)])?logger[_0x1d38e0(0x1cf)](_0x1d38e0(0x1b7)+_0x2c56a5):_0x55124b[_0x1d38e0(0x1cf)](_0x1d38e0(0x1b7)+_0x3e2b49);}}if(!_0x2547ca['VdggU'](isBrowserstackInfra))return;helper['requireSeleniumWebdriverCheck'](_0x1f5077)&&(_0x2547ca[_0x1d38e0(0x1bb)](_0x2547ca['pCMvZ'],_0x2547ca[_0x1d38e0(0x1b3)])?(_0x2547ca['nVqZG'](_0x2547ca[_0x1d38e0(0x1e5)](_0x3857f0,_0x47c3e9[_0x1d38e0(0x177)](_0x2547ca[_0x1d38e0(0x19a)])),0x3)&&(this['config'][_0x1d38e0(0x19d)]=![]),_0x2547ca[_0x1d38e0(0x1be)](_0x2547ca[_0x1d38e0(0x1e5)](_0x366b01,_0x566867['getPackageVersion'](_0x2547ca[_0x1d38e0(0x19a)])),4.5)&&(this[_0x1d38e0(0x1e3)][_0x1d38e0(0x19d)]=!![])):(_0x2547ca[_0x1d38e0(0x171)](_0x2547ca[_0x1d38e0(0x17e)](parseInt,helper[_0x1d38e0(0x177)](_0x2547ca[_0x1d38e0(0x19a)])),0x3)&&(_0x2547ca['snSdI'](_0x2547ca[_0x1d38e0(0x17d)],_0x2547ca[_0x1d38e0(0x1f2)])?this['config']['useW3C']=![]:_0x31eb57[_0x1d38e0(0x1cf)](_0x1d38e0(0x1b7)+_0x298f5a)),_0x2547ca[_0x1d38e0(0x1be)](_0x2547ca[_0x1d38e0(0x1e5)](parseInt,helper[_0x1d38e0(0x177)](_0x2547ca[_0x1d38e0(0x19a)])),4.5)&&(_0x2547ca[_0x1d38e0(0x1e2)](_0x2547ca[_0x1d38e0(0x1c3)],_0x2547ca['cLwdI'])?!_0x47fb01[_0x1d38e0(0x19b)](this[_0x1d38e0(0x1e3)]['browserStackLocalOptions'])&&_0x2547ca['JAAqh'](this['config']['browserStackLocalOptions'][_0x1d38e0(0x198)],_0x345240)?this[_0x1d38e0(0x1e3)]['browserStackLocalOptions'][_0x1d38e0(0x18c)]=_0x1b8cdb[_0x1d38e0(0x16e)]():this[_0x1d38e0(0x1e3)][_0x1d38e0(0x185)]={'localIdentifier':_0x1ffddc[_0x1d38e0(0x16e)]()}:this[_0x1d38e0(0x1e3)][_0x1d38e0(0x19d)]=!![])));if(helper[_0x1d38e0(0x19b)](this[_0x1d38e0(0x1e3)]['platforms'])||helper[_0x1d38e0(0x19b)](this['config']['platforms'][_0x1d38e0(0x209)])){if(_0x2547ca[_0x1d38e0(0x1fd)](_0x2547ca[_0x1d38e0(0x1f4)],_0x2547ca[_0x1d38e0(0x1d7)])){if(helper[_0x1d38e0(0x19b)](this['config'][_0x1d38e0(0x1f0)]))_0x2547ca[_0x1d38e0(0x1bb)](_0x2547ca[_0x1d38e0(0x179)],_0x2547ca[_0x1d38e0(0x179)])?logger['info'](_0x2547ca[_0x1d38e0(0x1ea)]):(_0x2b815c['isUndefined'](this[_0x1d38e0(0x1e3)]['parallelsPerPlatform'])?_0x472545[_0x1d38e0(0x1ab)](_0x2547ca[_0x1d38e0(0x1ea)]):_0x4d4328['warn'](_0x2547ca[_0x1d38e0(0x188)]),this[_0x1d38e0(0x1e3)]['platforms']=[]);else{if(_0x2547ca[_0x1d38e0(0x182)](_0x2547ca[_0x1d38e0(0x20a)],_0x2547ca[_0x1d38e0(0x20a)])){const _0xaebb0d=_0x2e8a01=>{const _0x48d6a4=_0x1d38e0;_0x21802e['error'](_0x2e8a01['message']),_0x477e77[_0x48d6a4(0x1cf)](_0x151c9b[_0x48d6a4(0x206)](_0x2e8a01)),this[_0x48d6a4(0x16c)][_0x48d6a4(0x1bd)](_0x526223[_0x48d6a4(0x206)]('%j',_0x2e8a01));};_0x16fa1a['on'](_0x2547ca[_0x1d38e0(0x18e)],_0xaebb0d),_0x2f872a['on'](_0x2547ca['hXPQv'],_0xaebb0d);}else logger[_0x1d38e0(0x1a6)](_0x2547ca[_0x1d38e0(0x188)]);}this['config'][_0x1d38e0(0x1af)]=[];}else this[_0x1d38e0(0x1e3)][_0x1d38e0(0x19d)]=![];}!this[_0x1d38e0(0x1e3)][_0x1d38e0(0x185)]&&(this[_0x1d38e0(0x1e3)][_0x1d38e0(0x185)]=this[_0x1d38e0(0x1e3)][_0x1d38e0(0x1c0)]||{});if(helper[_0x1d38e0(0x19b)](helper[_0x1d38e0(0x17a)](this[_0x1d38e0(0x1e3)]))||helper['isUndefined'](helper[_0x1d38e0(0x1b6)](this[_0x1d38e0(0x1e3)]))){if(_0x2547ca[_0x1d38e0(0x1ef)](_0x2547ca['UunEw'],_0x2547ca[_0x1d38e0(0x18d)]))this['config'][_0x1d38e0(0x185)][_0x1d38e0(0x18c)]=_0x1aaec2['generateLocalIdentifier']();else throw new Error(_0x2547ca[_0x1d38e0(0x1f8)]);}helper[_0x1d38e0(0x1fe)](this['config'])&&helper['isUndefined'](helper['getLocalIdentifier'](this[_0x1d38e0(0x1e3)]))&&(_0x2547ca[_0x1d38e0(0x1e8)](_0x2547ca[_0x1d38e0(0x1b1)],_0x2547ca[_0x1d38e0(0x1b1)])?!helper[_0x1d38e0(0x19b)](this[_0x1d38e0(0x1e3)][_0x1d38e0(0x185)])&&_0x2547ca[_0x1d38e0(0x1e8)](this[_0x1d38e0(0x1e3)][_0x1d38e0(0x185)][_0x1d38e0(0x198)],Object)?_0x2547ca[_0x1d38e0(0x1c6)](_0x2547ca[_0x1d38e0(0x1dd)],_0x2547ca[_0x1d38e0(0x1dd)])?this[_0x1d38e0(0x1e3)]['browserStackLocalOptions']['localIdentifier']=helper[_0x1d38e0(0x16e)]():_0x2547ca[_0x1d38e0(0x1e5)](_0x3a4895,_0x2547ca['KjmiR'])():_0x2547ca[_0x1d38e0(0x1c6)](_0x2547ca['WckaH'],_0x2547ca[_0x1d38e0(0x1d1)])?_0x2ac260['error'](_0x2547ca[_0x1d38e0(0x1f3)],_0x53e81c['message']):this[_0x1d38e0(0x1e3)][_0x1d38e0(0x185)]={'localIdentifier':helper[_0x1d38e0(0x16e)]()}:(_0x2d7fa6[_0x1d38e0(0x1ed)]['FRAMEWORK']=_0x43e47a,_0x9f414e[_0x1d38e0(0x16d)](_0x2547ca[_0x1d38e0(0x1df)],{},this[_0x1d38e0(0x1e3)],this[_0x1d38e0(0x1ce)])));helper[_0x1d38e0(0x1e7)](this[_0x1d38e0(0x1e3)],this[_0x1d38e0(0x181)],this[_0x1d38e0(0x1c4)]),helper[_0x1d38e0(0x200)](this[_0x1d38e0(0x1e3)]);try{_0x2547ca[_0x1d38e0(0x189)](_0x2547ca[_0x1d38e0(0x1db)],_0x2547ca[_0x1d38e0(0x1db)])?(_0xbce2b7['error'](_0x524984[_0x1d38e0(0x1c8)]),_0x3d05b6[_0x1d38e0(0x1cf)](_0x9d8f9c[_0x1d38e0(0x206)](_0x38ec45)),this[_0x1d38e0(0x16c)]['push'](_0x5aff7a[_0x1d38e0(0x206)]('%j',_0x3772e0))):(process[_0x1d38e0(0x1ed)][_0x1d38e0(0x1a9)]=_0x55fea6['_'][0x0],helper[_0x1d38e0(0x16d)](_0x2547ca['axdlK'],{},this[_0x1d38e0(0x1e3)],this[_0x1d38e0(0x1ce)]));}catch(_0x2d291c){_0x2547ca[_0x1d38e0(0x1fd)](_0x2547ca['IScsr'],_0x2547ca[_0x1d38e0(0x20d)])?logger['debug']('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x2d291c):_0x5ea977[_0x1d38e0(0x1a6)](_0x2547ca[_0x1d38e0(0x188)]);}this[_0x1d38e0(0x1b9)](),this[_0x1d38e0(0x18f)]();}[a33_0x43ed30(0x1b9)](){const _0xcd0470=a33_0x43ed30,_0x4d055f={};_0x4d055f['QTqUT']=function(_0x466a66,_0xcffe2e){return _0x466a66!==_0xcffe2e;},_0x4d055f[_0xcd0470(0x1ee)]=_0xcd0470(0x1d2),_0x4d055f[_0xcd0470(0x1dc)]=_0xcd0470(0x1eb),_0x4d055f[_0xcd0470(0x1f5)]=function(_0x9b1096,_0x5a8488){return _0x9b1096==_0x5a8488;},_0x4d055f['mmftp']=_0xcd0470(0x180),_0x4d055f[_0xcd0470(0x20f)]='Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined',_0x4d055f[_0xcd0470(0x19e)]=_0xcd0470(0x199),_0x4d055f[_0xcd0470(0x1e9)]=function(_0xab6f36,_0x307b5e){return _0xab6f36==_0x307b5e;},_0x4d055f['edvvF']=function(_0x34df00,_0x38eb84){return _0x34df00!==_0x38eb84;},_0x4d055f['ZnEKL']=_0xcd0470(0x1cb),_0x4d055f[_0xcd0470(0x1c2)]=_0xcd0470(0x203),_0x4d055f['QHReo']=function(_0x1368af,_0x15a83a){return _0x1368af!==_0x15a83a;},_0x4d055f[_0xcd0470(0x173)]=_0xcd0470(0x175),_0x4d055f[_0xcd0470(0x1f1)]=_0xcd0470(0x194),_0x4d055f[_0xcd0470(0x17f)]='Local\x20binary\x20started\x20successfully',_0x4d055f[_0xcd0470(0x18b)]=_0xcd0470(0x20b),_0x4d055f[_0xcd0470(0x1a7)]=_0xcd0470(0x1f6),_0x4d055f[_0xcd0470(0x1b0)]=_0xcd0470(0x196),_0x4d055f[_0xcd0470(0x1c1)]=function(_0x1dcc04,_0x36855c){return _0x1dcc04===_0x36855c;},_0x4d055f[_0xcd0470(0x1f9)]='BrKnv',_0x4d055f[_0xcd0470(0x186)]=_0xcd0470(0x1e4);const _0x434fee=_0x4d055f;if(_0x434fee[_0xcd0470(0x1e9)](this[_0xcd0470(0x1e3)][_0xcd0470(0x1ac)],!![])&&(!this['browserstackLocal']||!this[_0xcd0470(0x1ac)][_0xcd0470(0x1a0)]())){if(_0x434fee['edvvF'](_0x434fee[_0xcd0470(0x1e1)],_0x434fee[_0xcd0470(0x1c2)]))try{if(_0x434fee[_0xcd0470(0x193)](_0x434fee[_0xcd0470(0x173)],_0x434fee[_0xcd0470(0x1f1)])){this['browserstackLocal']=helper[_0xcd0470(0x1a5)](this[_0xcd0470(0x1e3)]),logger['info'](_0x434fee[_0xcd0470(0x17f)]);let _0x31e71e=0x0;const _0x25b6aa=async()=>{const _0x3b6dbf=_0xcd0470;if(_0x434fee[_0x3b6dbf(0x1d8)](_0x434fee[_0x3b6dbf(0x1ee)],_0x434fee[_0x3b6dbf(0x1dc)]))_0x31e71e++,_0x434fee[_0x3b6dbf(0x1f5)](_0x31e71e,0x1)&&await this[_0x3b6dbf(0x176)]();else{_0xb09c1e[_0x3b6dbf(0x1cf)](_0x4d40c7);throw new _0x168006(_0x3d6b44[_0x3b6dbf(0x16f)]());}};process['on'](_0x434fee[_0xcd0470(0x18b)],_0x25b6aa),process['on'](_0x434fee[_0xcd0470(0x1a7)],_0x25b6aa),process['on'](_0x434fee[_0xcd0470(0x1b0)],_0x25b6aa);}else try{_0x1f2e54[_0xcd0470(0x1ed)][_0xcd0470(0x1a9)]=_0x544660,_0x5ce91c['fireFunnelTestEvent'](_0x434fee['mmftp'],{},this[_0xcd0470(0x1e3)],this[_0xcd0470(0x1ce)]);}catch(_0x155778){_0x1360e8[_0xcd0470(0x1cf)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x155778);}}catch(_0x53b0f7){if(_0x434fee[_0xcd0470(0x1c1)](_0x434fee['FpUTp'],_0x434fee[_0xcd0470(0x186)]))_0x3abc9a[_0xcd0470(0x1ab)](_0x434fee[_0xcd0470(0x20f)]);else{logger[_0xcd0470(0x1cf)](_0x53b0f7);throw new Error(_0x53b0f7[_0xcd0470(0x16f)]());}}else throw new _0x56d631(_0x434fee['cMMRy']);}}async[a33_0x43ed30(0x176)](){const _0x119a63=a33_0x43ed30,_0x351e61={};_0x351e61[_0x119a63(0x197)]=function(_0x3be062,_0x50ef5e){return _0x3be062!==_0x50ef5e;},_0x351e61[_0x119a63(0x1b2)]=_0x119a63(0x1a2),_0x351e61[_0x119a63(0x1cc)]='RfSdq',_0x351e61[_0x119a63(0x1b4)]=_0x119a63(0x19c),_0x351e61['vnBiG']=_0x119a63(0x174);const _0x1309a9=_0x351e61;if(this[_0x119a63(0x1ac)]&&this[_0x119a63(0x1ac)]['isRunning']())try{_0x1309a9[_0x119a63(0x197)](_0x1309a9['hcWWM'],_0x1309a9[_0x119a63(0x1cc)])?(await helper[_0x119a63(0x1d9)](this['browserstackLocal']),logger[_0x119a63(0x1ab)](_0x1309a9[_0x119a63(0x1b4)])):this[_0x119a63(0x1e3)][_0x119a63(0x19d)]=!![];}catch(_0x58b420){logger[_0x119a63(0x1c9)](_0x1309a9[_0x119a63(0x187)],_0x58b420[_0x119a63(0x1c8)]);}}['setupKeepAlive'](){const _0x217e77=a33_0x43ed30,_0x332bce={'bREHR':function(_0x19cbe2,_0xfe48b9){return _0x19cbe2(_0xfe48b9);},'LYmaz':'./setKeepAlive'};_0x332bce[_0x217e77(0x1ad)](require,_0x332bce['LYmaz'])();}[a33_0x43ed30(0x1cd)](){const _0x2879c3=a33_0x43ed30,_0x275aa0={};_0x275aa0['sPSOs']=_0x2879c3(0x192),_0x275aa0[_0x2879c3(0x170)]=_0x2879c3(0x1b5);const _0x3eb3f5=_0x275aa0,_0x101124=_0x3b7670=>{const _0x3b6beb=_0x2879c3;logger[_0x3b6beb(0x1c9)](_0x3b7670['message']),logger[_0x3b6beb(0x1cf)](util[_0x3b6beb(0x206)](_0x3b7670)),this[_0x3b6beb(0x16c)][_0x3b6beb(0x1bd)](util[_0x3b6beb(0x206)]('%j',_0x3b7670));};process['on'](_0x3eb3f5[_0x2879c3(0x184)],_0x101124),process['on'](_0x3eb3f5[_0x2879c3(0x170)],_0x101124);}}exports[a33_0x43ed30(0x1fc)]=BrowserStackSetup;
|
|
1
|
+
function a33_0x5593(){const _0x788191=['mSZMX','rIqMZ','WATne','push','GIoSr','DkJEA','FRAFJ','browserstackLocal','constructor','OXbtU','tlXjl','format','gWeZN','QWsVz','Orypl','bUiAh','dFpdt','nzSzS','167987wmQJuh','PPIiR','SjvaO','aovFa','Local\x20binary\x20started\x20successfully','SIGINT','fireFunnelTestEvent','GOIie','oisDL','6643902Rxcwlk','kxClX','iZBqF','SDKTestAttempted','9563384Miqblw','oOvtX','vxLra','browserStackLocalOptions','../bin/mocha/test-observability/helper','5617755ZwvUrB','CPzAk','./setKeepAlive','JAvaX','RjDqk','debug','config','handleExceptions','stopBrowserstackLocal','dmJLG','eLQyI','platforms','getAccessKey','vFtXQ','error','mtFqx','bwHXk','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','SILLc','tlfif','kDewz','vsSWs','isUndefined','cliConfig','DHaYN','zzfXe','FIBkJ','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','iBdHI','wNGfs','NFGal','oIsGO','brWrB','NuWhp','kkSNr','GzoQc','xXIXf','getLocalIdentifier','YvDme','util','length','1540506jIRbXh','XtyPW','RXGOS','getConfigPath','tpCPI','jDvuY','framework','toString','AgkNI','5836xmyFWN','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','default','kcmxb','getPackageVersion','WuyaL','ZNZkm','QVRjI','localIdentifier','otHhu','setupBrowserstackLocal','selenium-webdriver','OEhJr','warn','cbOtq','envConfig','EmjdW','PrMNP','GbcVX','readConfig','getUserName','unhandledErrors','Local\x20binary\x20stopped','userName\x20or\x20accessKey\x20is\x20not\x20defined','1962KwTwNK','parallelsPerPlatform','nHCte','getFinalCaps','IsHNn','JGEbi','sUlkP','env','beforeExit','winstonLogger','SHXRp','nLLzM','pOVlo','DGZqa','ohYGu','pIpvP','setLogLevel','isRunning','message','setupKeepAlive','eGdkK','info','../hubAllocationMethods','getLocalConfig','setUpHubUrl','dXLVd','localOptions','XBIzb','5CYtsJT','hHitL','QrzXg','unhandledRejection','9494044SlqEvX','setEnvCaps','setCLICaps','hhQKQ','FRAMEWORK','vroEz','AvmPp','generateLocalIdentifier','./helper','OrGHk','useW3C','YLajD','oeLLH','wwAZP','SiQYN','jENGl','KXGYz','evICM','startLocalBinarySync','byGMx','zjosX','Error\x20occured\x20while\x20stopping\x20local\x20binary','stopLocalBinary'];a33_0x5593=function(){return _0x788191;};return a33_0x5593();}const a33_0xd41f55=a33_0x472e;(function(_0x41d91e,_0x63c69d){const _0x2eb12b=a33_0x472e,_0x44ba65=_0x41d91e();while(!![]){try{const _0x2a99f0=-parseInt(_0x2eb12b(0x1b7))/0x1+parseInt(_0x2eb12b(0x1f2))/0x2+-parseInt(_0x2eb12b(0x213))/0x3*(-parseInt(_0x2eb12b(0x1fb))/0x4)+parseInt(_0x2eb12b(0x22f))/0x5*(parseInt(_0x2eb12b(0x1c0))/0x6)+-parseInt(_0x2eb12b(0x233))/0x7+-parseInt(_0x2eb12b(0x1c4))/0x8+parseInt(_0x2eb12b(0x1c9))/0x9;if(_0x2a99f0===_0x63c69d)break;else _0x44ba65['push'](_0x44ba65['shift']());}catch(_0x2b5be5){_0x44ba65['push'](_0x44ba65['shift']());}}}(a33_0x5593,0xb3bf9));const util=require(a33_0xd41f55(0x1f0)),logger=require('./logger')[a33_0xd41f55(0x21c)],helper=require(a33_0xd41f55(0x23b)),hubAllocator=require(a33_0xd41f55(0x229)),{isBrowserstackInfra}=require(a33_0xd41f55(0x1c8));class BrowserStackSetup{constructor(_0x18ff64,_0x11c548){const _0x1c2102=a33_0xd41f55,_0x25e0a5={'XBIzb':_0x1c2102(0x1da),'kDewz':function(_0x11a5b7,_0x242ddd){return _0x11a5b7<_0x242ddd;},'FIBkJ':function(_0x1600c9,_0x3c2efa){return _0x1600c9(_0x3c2efa);},'KXGYz':_0x1c2102(0x206),'oIsGO':function(_0x15aff1,_0x30ec18){return _0x15aff1>=_0x30ec18;},'oeLLH':_0x1c2102(0x1c3),'QVRjI':function(_0x538ed8,_0x410984){return _0x538ed8(_0x410984);},'CPzAk':_0x1c2102(0x1cb),'evICM':_0x1c2102(0x1a3),'AgkNI':_0x1c2102(0x1fc),'FRAFJ':_0x1c2102(0x232),'pIpvP':'uncaughtException','nLLzM':'No\x20config\x20provided.','iZBqF':function(_0x2b2069){return _0x2b2069();},'zjosX':function(_0x17f530,_0x275e31){return _0x17f530!==_0x275e31;},'dMiTK':'bGPIw','WATne':_0x1c2102(0x1b1),'dXLVd':_0x1c2102(0x1cc),'DkJEA':function(_0xf6a2e6){return _0xf6a2e6();},'PPIiR':function(_0x5e7a80,_0x567c6d){return _0x5e7a80===_0x567c6d;},'sUlkP':_0x1c2102(0x1af),'ohYGu':function(_0x433ffe,_0x1af302){return _0x433ffe<_0x1af302;},'vsSWs':function(_0x53a54b,_0x1dcc9c){return _0x53a54b!==_0x1dcc9c;},'tpCPI':_0x1c2102(0x1c6),'oisDL':_0x1c2102(0x200),'jENGl':function(_0x15170d,_0x45beaf){return _0x15170d>=_0x45beaf;},'oOvtX':'vNZLv','PrMNP':_0x1c2102(0x1a6),'QWsVz':function(_0x2c0635,_0x184573){return _0x2c0635===_0x184573;},'OrGHk':_0x1c2102(0x217),'QtTqC':'GKtMu','NuWhp':_0x1c2102(0x1be),'brWrB':_0x1c2102(0x201),'wNGfs':_0x1c2102(0x1b3),'nHCte':'MDCVp','XtyPW':function(_0x4647f4,_0x47457e){return _0x4647f4!==_0x47457e;},'DotMl':_0x1c2102(0x1b9),'QwzOM':'uymJH','NFGal':_0x1c2102(0x212),'aovFa':function(_0x1568da,_0x408a65){return _0x1568da!==_0x408a65;},'kkSNr':_0x1c2102(0x1db),'QZTqi':_0x1c2102(0x227),'iBdHI':function(_0x56a914,_0x34c109){return _0x56a914===_0x34c109;},'kxClX':_0x1c2102(0x1b6),'OEhJr':_0x1c2102(0x1b5),'vFtXQ':_0x1c2102(0x20b),'byGMx':function(_0x3ecd3e,_0x11d4f0){return _0x3ecd3e!==_0x11d4f0;},'dmJLG':_0x1c2102(0x1a5),'eLQyI':'SDptJ'};this[_0x1c2102(0x210)]=[],this[_0x1c2102(0x1e0)]=helper[_0x1c2102(0x235)](_0x18ff64),this[_0x1c2102(0x20a)]=helper[_0x1c2102(0x234)](),this['browserstackLocal']=null,this[_0x1c2102(0x1cf)]=helper[_0x1c2102(0x20e)](helper[_0x1c2102(0x1f5)](_0x18ff64)),global[_0x1c2102(0x1cf)]=this[_0x1c2102(0x1cf)],global['framework']=_0x11c548,helper['sanitizeCaps'](this['config']),this[_0x1c2102(0x1f8)]=_0x11c548;if(helper[_0x1c2102(0x1df)](this['config']))throw new Error(_0x25e0a5[_0x1c2102(0x21e)]);if(this[_0x1c2102(0x1cf)][_0x1c2102(0x1d7)])throw new Error(this[_0x1c2102(0x1cf)][_0x1c2102(0x1d7)]);helper[_0x1c2102(0x216)](this[_0x1c2102(0x1cf)],this[_0x1c2102(0x1e0)],this[_0x1c2102(0x20a)]),this[_0x1c2102(0x1d0)]();if(!_0x25e0a5[_0x1c2102(0x1c2)](isBrowserstackInfra)){if(_0x25e0a5[_0x1c2102(0x1a2)](_0x25e0a5['dMiTK'],_0x25e0a5['dMiTK'])){_0x331bcf[_0x1c2102(0x1ce)](_0x4976a6);throw new _0x18014b(_0x3fcfe0[_0x1c2102(0x1f9)]());}else try{_0x25e0a5[_0x1c2102(0x1a2)](_0x25e0a5[_0x1c2102(0x1a7)],_0x25e0a5[_0x1c2102(0x1a7)])?this[_0x1c2102(0x1cf)][_0x1c2102(0x1c7)][_0x1c2102(0x203)]=_0x3cfe79[_0x1c2102(0x23a)]():(process[_0x1c2102(0x21a)]['FRAMEWORK']=_0x11c548,helper[_0x1c2102(0x1bd)](_0x25e0a5[_0x1c2102(0x23f)],{},this['config'],this[_0x1c2102(0x1f8)]));}catch(_0x26bb58){_0x25e0a5[_0x1c2102(0x1a2)](_0x25e0a5[_0x1c2102(0x22c)],_0x25e0a5[_0x1c2102(0x22c)])?_0x502b19[_0x1c2102(0x208)](_0x25e0a5['XBIzb']):logger[_0x1c2102(0x1ce)](_0x1c2102(0x1e4)+_0x26bb58);}}if(!_0x25e0a5[_0x1c2102(0x1aa)](isBrowserstackInfra))return;helper['requireSeleniumWebdriverCheck'](_0x11c548)&&(_0x25e0a5[_0x1c2102(0x1b8)](_0x25e0a5[_0x1c2102(0x219)],_0x25e0a5[_0x1c2102(0x219)])?(_0x25e0a5[_0x1c2102(0x221)](_0x25e0a5['FIBkJ'](parseInt,helper[_0x1c2102(0x1ff)](_0x25e0a5[_0x1c2102(0x243)])),0x3)&&(_0x25e0a5['vsSWs'](_0x25e0a5[_0x1c2102(0x1f6)],_0x25e0a5[_0x1c2102(0x1bf)])?this['config'][_0x1c2102(0x23d)]=![]:(_0x25e0a5[_0x1c2102(0x1dd)](_0x25e0a5[_0x1c2102(0x1e3)](_0x20d0a2,_0x28ca60[_0x1c2102(0x1ff)](_0x25e0a5['KXGYz'])),0x3)&&(this[_0x1c2102(0x1cf)][_0x1c2102(0x23d)]=![]),_0x25e0a5[_0x1c2102(0x1e8)](_0x25e0a5['FIBkJ'](_0x415c70,_0x58de58[_0x1c2102(0x1ff)](_0x25e0a5[_0x1c2102(0x243)])),4.5)&&(this[_0x1c2102(0x1cf)][_0x1c2102(0x23d)]=!![]))),_0x25e0a5[_0x1c2102(0x242)](_0x25e0a5[_0x1c2102(0x202)](parseInt,helper[_0x1c2102(0x1ff)](_0x25e0a5[_0x1c2102(0x243)])),4.5)&&(_0x25e0a5[_0x1c2102(0x1de)](_0x25e0a5[_0x1c2102(0x1c5)],_0x25e0a5[_0x1c2102(0x20c)])?this[_0x1c2102(0x1cf)][_0x1c2102(0x23d)]=!![]:(_0x1225d5[_0x1c2102(0x21a)][_0x1c2102(0x237)]=_0x42e380['_'][0x0],_0x2234b4[_0x1c2102(0x1bd)](_0x25e0a5[_0x1c2102(0x23f)],{},this[_0x1c2102(0x1cf)],this[_0x1c2102(0x1f8)])))):_0x5699df[_0x1c2102(0x1ce)](_0x1c2102(0x1e4)+_0x1d4ec3));(helper[_0x1c2102(0x1df)](this[_0x1c2102(0x1cf)]['platforms'])||helper[_0x1c2102(0x1df)](this[_0x1c2102(0x1cf)][_0x1c2102(0x1d4)][_0x1c2102(0x1f1)]))&&(_0x25e0a5[_0x1c2102(0x1b2)](_0x25e0a5[_0x1c2102(0x23c)],_0x25e0a5['QtTqC'])?_0x25e0a5[_0x1c2102(0x202)](_0xa106cd,_0x25e0a5[_0x1c2102(0x1ca)])():(helper[_0x1c2102(0x1df)](this[_0x1c2102(0x1cf)][_0x1c2102(0x214)])?_0x25e0a5[_0x1c2102(0x1b2)](_0x25e0a5[_0x1c2102(0x1ea)],_0x25e0a5[_0x1c2102(0x1e9)])?_0x2f2c6b[_0x1c2102(0x1d7)](_0x25e0a5[_0x1c2102(0x19f)],_0xb3590d[_0x1c2102(0x225)]):logger[_0x1c2102(0x228)](_0x25e0a5['AgkNI']):_0x25e0a5[_0x1c2102(0x1b2)](_0x25e0a5[_0x1c2102(0x1e6)],_0x25e0a5[_0x1c2102(0x215)])?_0x8ddcf4[_0x1c2102(0x228)](_0x25e0a5[_0x1c2102(0x1fa)]):logger['warn'](_0x25e0a5[_0x1c2102(0x22e)]),this[_0x1c2102(0x1cf)]['platforms']=[]));!this[_0x1c2102(0x1cf)][_0x1c2102(0x1c7)]&&(this[_0x1c2102(0x1cf)][_0x1c2102(0x1c7)]=this[_0x1c2102(0x1cf)][_0x1c2102(0x22d)]||{});if(helper[_0x1c2102(0x1df)](helper[_0x1c2102(0x20f)](this[_0x1c2102(0x1cf)]))||helper['isUndefined'](helper[_0x1c2102(0x1d5)](this['config']))){if(_0x25e0a5[_0x1c2102(0x1f3)](_0x25e0a5['DotMl'],_0x25e0a5['QwzOM']))throw new Error(_0x25e0a5[_0x1c2102(0x1e7)]);else{const _0x349a4a=_0x298397=>{const _0x4ff0a6=_0x1c2102;_0x4c4056[_0x4ff0a6(0x1d7)](_0x298397[_0x4ff0a6(0x225)]),_0x4b75ac[_0x4ff0a6(0x1ce)](_0x2f4c1f['format'](_0x298397)),this['unhandledErrors'][_0x4ff0a6(0x1a8)](_0x126f5e[_0x4ff0a6(0x1b0)]('%j',_0x298397));};_0x5872b2['on'](_0x25e0a5[_0x1c2102(0x1ab)],_0x349a4a),_0x213b85['on'](_0x25e0a5[_0x1c2102(0x222)],_0x349a4a);}}helper[_0x1c2102(0x22a)](this['config'])&&helper[_0x1c2102(0x1df)](helper[_0x1c2102(0x1ee)](this[_0x1c2102(0x1cf)]))&&(_0x25e0a5[_0x1c2102(0x1ba)](_0x25e0a5[_0x1c2102(0x1eb)],_0x25e0a5['QZTqi'])?!helper[_0x1c2102(0x1df)](this[_0x1c2102(0x1cf)][_0x1c2102(0x1c7)])&&_0x25e0a5[_0x1c2102(0x1e5)](this['config']['browserStackLocalOptions'][_0x1c2102(0x1ad)],Object)?_0x25e0a5['vsSWs'](_0x25e0a5[_0x1c2102(0x1c1)],_0x25e0a5[_0x1c2102(0x207)])?this[_0x1c2102(0x1cf)][_0x1c2102(0x1c7)]['localIdentifier']=helper['generateLocalIdentifier']():this[_0x1c2102(0x1cf)]['browserStackLocalOptions']={'localIdentifier':_0x5c009['generateLocalIdentifier']()}:_0x25e0a5[_0x1c2102(0x1e5)](_0x25e0a5[_0x1c2102(0x1d6)],_0x25e0a5[_0x1c2102(0x1d6)])?this[_0x1c2102(0x1cf)][_0x1c2102(0x1c7)]={'localIdentifier':helper[_0x1c2102(0x23a)]()}:_0x151105[_0x1c2102(0x1ce)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x8980b1):this[_0x1c2102(0x1cf)][_0x1c2102(0x23d)]=!![]);helper[_0x1c2102(0x223)](this[_0x1c2102(0x1cf)],this[_0x1c2102(0x1e0)],this['envConfig']),helper['setProxySettings'](this[_0x1c2102(0x1cf)]);try{if(_0x25e0a5[_0x1c2102(0x1a1)](_0x25e0a5[_0x1c2102(0x1d2)],_0x25e0a5[_0x1c2102(0x1d2)]))try{_0x1e995f[_0x1c2102(0x21a)][_0x1c2102(0x237)]=_0x5c5a27,_0x27c5dc['fireFunnelTestEvent'](_0x25e0a5[_0x1c2102(0x23f)],{},this['config'],this[_0x1c2102(0x1f8)]);}catch(_0x415122){_0x58bf1e[_0x1c2102(0x1ce)](_0x1c2102(0x1e4)+_0x415122);}else process[_0x1c2102(0x21a)]['FRAMEWORK']=_0x18ff64['_'][0x0],helper['fireFunnelTestEvent'](_0x25e0a5[_0x1c2102(0x23f)],{},this[_0x1c2102(0x1cf)],this['framework']);}catch(_0xb6126b){_0x25e0a5[_0x1c2102(0x1a1)](_0x25e0a5[_0x1c2102(0x1d3)],_0x25e0a5[_0x1c2102(0x1d3)])?(_0x26384c[_0x1c2102(0x1df)](this[_0x1c2102(0x1cf)][_0x1c2102(0x214)])?_0x359646[_0x1c2102(0x228)](_0x25e0a5[_0x1c2102(0x1fa)]):_0x4c2148[_0x1c2102(0x208)](_0x25e0a5[_0x1c2102(0x22e)]),this[_0x1c2102(0x1cf)][_0x1c2102(0x1d4)]=[]):logger[_0x1c2102(0x1ce)](_0x1c2102(0x1e4)+_0xb6126b);}this[_0x1c2102(0x205)](),this['setupKeepAlive']();}[a33_0xd41f55(0x205)](){const _0x570f8c=a33_0xd41f55,_0x1d38e9={};_0x1d38e9[_0x570f8c(0x1d8)]=_0x570f8c(0x1c3),_0x1d38e9['SHXRp']=function(_0x194120,_0x1fdca5){return _0x194120===_0x1fdca5;},_0x1d38e9[_0x570f8c(0x1fe)]=_0x570f8c(0x1ed),_0x1d38e9[_0x570f8c(0x1e1)]=_0x570f8c(0x241),_0x1d38e9[_0x570f8c(0x240)]=function(_0x9bedc5,_0x4acb0a){return _0x9bedc5==_0x4acb0a;},_0x1d38e9['GIoSr']=_0x570f8c(0x212),_0x1d38e9[_0x570f8c(0x1dc)]=function(_0x117869,_0x598c03){return _0x117869===_0x598c03;},_0x1d38e9['pOVlo']=_0x570f8c(0x1f4),_0x1d38e9[_0x570f8c(0x20d)]=function(_0x1e3c44,_0x1d182b){return _0x1e3c44===_0x1d182b;},_0x1d38e9[_0x570f8c(0x238)]='xvIQA',_0x1d38e9[_0x570f8c(0x23e)]=_0x570f8c(0x1bb),_0x1d38e9[_0x570f8c(0x209)]=_0x570f8c(0x21b),_0x1d38e9[_0x570f8c(0x1ae)]=_0x570f8c(0x1bc),_0x1d38e9[_0x570f8c(0x1b4)]='SIGTERM',_0x1d38e9[_0x570f8c(0x1cd)]=function(_0xaf4670,_0x937dd1){return _0xaf4670!==_0x937dd1;},_0x1d38e9[_0x570f8c(0x220)]=_0x570f8c(0x204);const _0x4b21f5=_0x1d38e9;if(_0x4b21f5[_0x570f8c(0x240)](this[_0x570f8c(0x1cf)][_0x570f8c(0x1ac)],!![])&&(!this[_0x570f8c(0x1ac)]||!this[_0x570f8c(0x1ac)][_0x570f8c(0x224)]())){if(_0x4b21f5['tlfif'](_0x4b21f5[_0x570f8c(0x21f)],_0x4b21f5['pOVlo']))try{if(_0x4b21f5[_0x570f8c(0x20d)](_0x4b21f5['vroEz'],_0x4b21f5[_0x570f8c(0x238)])){this[_0x570f8c(0x1ac)]=helper[_0x570f8c(0x1a0)](this[_0x570f8c(0x1cf)]),logger[_0x570f8c(0x228)](_0x4b21f5[_0x570f8c(0x23e)]);let _0x2a684a=0x0;const _0x58a74d=async()=>{const _0x5b23cc=_0x570f8c,_0x4f1bb8={};_0x4f1bb8[_0x5b23cc(0x1ec)]=_0x4b21f5[_0x5b23cc(0x1d8)];const _0x1409d9=_0x4f1bb8;_0x4b21f5[_0x5b23cc(0x21d)](_0x4b21f5[_0x5b23cc(0x1fe)],_0x4b21f5['DHaYN'])?(_0x9cf586['env'][_0x5b23cc(0x237)]=_0x2000bf,_0x202c03[_0x5b23cc(0x1bd)](_0x1409d9[_0x5b23cc(0x1ec)],{},this[_0x5b23cc(0x1cf)],this[_0x5b23cc(0x1f8)])):(_0x2a684a++,_0x4b21f5[_0x5b23cc(0x240)](_0x2a684a,0x1)&&await this[_0x5b23cc(0x1d1)]());};process['on'](_0x4b21f5[_0x570f8c(0x209)],_0x58a74d),process['on'](_0x4b21f5[_0x570f8c(0x1ae)],_0x58a74d),process['on'](_0x4b21f5[_0x570f8c(0x1b4)],_0x58a74d);}else throw new _0x1b5fd1(_0x4b21f5[_0x570f8c(0x1a9)]);}catch(_0x3dc5fd){if(_0x4b21f5[_0x570f8c(0x1cd)](_0x4b21f5[_0x570f8c(0x220)],_0x4b21f5['DGZqa']))!_0x3b081f[_0x570f8c(0x1df)](this[_0x570f8c(0x1cf)][_0x570f8c(0x1c7)])&&_0x4b21f5[_0x570f8c(0x1dc)](this['config'][_0x570f8c(0x1c7)]['constructor'],_0x566d4b)?this[_0x570f8c(0x1cf)][_0x570f8c(0x1c7)]['localIdentifier']=_0x5d1db7['generateLocalIdentifier']():this['config']['browserStackLocalOptions']={'localIdentifier':_0x4e3bb4[_0x570f8c(0x23a)]()};else{logger[_0x570f8c(0x1ce)](_0x3dc5fd);throw new Error(_0x3dc5fd[_0x570f8c(0x1f9)]());}}else this['config']['useW3C']=![];}}async[a33_0xd41f55(0x1d1)](){const _0x5be81c=a33_0xd41f55,_0x345474={};_0x345474[_0x5be81c(0x1ef)]=function(_0x53527f,_0x358c93){return _0x53527f!==_0x358c93;},_0x345474[_0x5be81c(0x1f7)]=_0x5be81c(0x1d9),_0x345474[_0x5be81c(0x218)]=_0x5be81c(0x211),_0x345474[_0x5be81c(0x239)]=_0x5be81c(0x1a3);const _0x2fc091=_0x345474;if(this[_0x5be81c(0x1ac)]&&this['browserstackLocal'][_0x5be81c(0x224)]())try{_0x2fc091[_0x5be81c(0x1ef)](_0x2fc091[_0x5be81c(0x1f7)],_0x2fc091[_0x5be81c(0x1f7)])?(_0x28a641[_0x5be81c(0x1d7)](_0x470249[_0x5be81c(0x225)]),_0x3c7582[_0x5be81c(0x1ce)](_0x16eb73[_0x5be81c(0x1b0)](_0x5cbb12)),this['unhandledErrors'][_0x5be81c(0x1a8)](_0x1b8aa1[_0x5be81c(0x1b0)]('%j',_0x4b3074))):(await helper[_0x5be81c(0x1a4)](this[_0x5be81c(0x1ac)]),logger[_0x5be81c(0x228)](_0x2fc091[_0x5be81c(0x218)]));}catch(_0x191954){logger[_0x5be81c(0x1d7)](_0x2fc091[_0x5be81c(0x239)],_0x191954[_0x5be81c(0x225)]);}}async[a33_0xd41f55(0x22b)](){const _0x507456=a33_0xd41f55;await hubAllocator['allocateHub'](this[_0x507456(0x1cf)]);}[a33_0xd41f55(0x226)](){const _0x2fd0f3=a33_0xd41f55,_0xd1d1ae={'zzfXe':function(_0x6986cf,_0x48d790){return _0x6986cf(_0x48d790);},'hHitL':'./setKeepAlive'};_0xd1d1ae[_0x2fd0f3(0x1e2)](require,_0xd1d1ae[_0x2fd0f3(0x230)])();}[a33_0xd41f55(0x1d0)](){const _0x3f351a=a33_0xd41f55,_0x4b64e4={};_0x4b64e4['QrzXg']=_0x3f351a(0x232),_0x4b64e4[_0x3f351a(0x236)]='uncaughtException';const _0x412052=_0x4b64e4,_0x4aa208=_0x258ed0=>{const _0x3ca547=_0x3f351a;logger[_0x3ca547(0x1d7)](_0x258ed0[_0x3ca547(0x225)]),logger['debug'](util[_0x3ca547(0x1b0)](_0x258ed0)),this['unhandledErrors']['push'](util[_0x3ca547(0x1b0)]('%j',_0x258ed0));};process['on'](_0x412052[_0x3f351a(0x231)],_0x4aa208),process['on'](_0x412052['hhQKQ'],_0x4aa208);}}function a33_0x472e(_0x159a66,_0x4be6a6){const _0x5593aa=a33_0x5593();return a33_0x472e=function(_0x472edb,_0x25bfb6){_0x472edb=_0x472edb-0x19f;let _0x3b2c6e=_0x5593aa[_0x472edb];return _0x3b2c6e;},a33_0x472e(_0x159a66,_0x4be6a6);}exports[a33_0xd41f55(0x1fd)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a34_0x31580f=a34_0x2496;function a34_0x2496(_0x438862,_0x56efdb){var _0x2fc93f=a34_0x2fc9();return a34_0x2496=function(_0x2496a2,_0x2c8279){_0x2496a2=_0x2496a2-0x7d;var _0x3b3dd1=_0x2fc93f[_0x2496a2];return _0x3b3dd1;},a34_0x2496(_0x438862,_0x56efdb);}(function(_0x152c98,_0x2b6ea0){var _0x7801d8=a34_0x2496,_0x306976=_0x152c98();while(!![]){try{var _0x4a2bf5=parseInt(_0x7801d8(0xb6))/0x1+-parseInt(_0x7801d8(0xb8))/0x2+-parseInt(_0x7801d8(0xba))/0x3*(parseInt(_0x7801d8(0x88))/0x4)+-parseInt(_0x7801d8(0x9b))/0x5*(-parseInt(_0x7801d8(0xa7))/0x6)+parseInt(_0x7801d8(0x9d))/0x7*(-parseInt(_0x7801d8(0x92))/0x8)+-parseInt(_0x7801d8(0x85))/0x9*(-parseInt(_0x7801d8(0x90))/0xa)+parseInt(_0x7801d8(0xa0))/0xb;if(_0x4a2bf5===_0x2b6ea0)break;else _0x306976['push'](_0x306976['shift']());}catch(_0x266994){_0x306976['push'](_0x306976['shift']());}}}(a34_0x2fc9,0x738a0),exports[a34_0x31580f(0x98)]=()=>{var _0x214a09=a34_0x31580f,_0x4f24af={};_0x4f24af['DxFJZ']=_0x214a09(0xc1),_0x4f24af[_0x214a09(0x8d)]=_0x214a09(0x8a),_0x4f24af['PzZMJ']=_0x214a09(0xa1),_0x4f24af[_0x214a09(0xbf)]='browserstack.accessKey',_0x4f24af[_0x214a09(0x7e)]=_0x214a09(0x95),_0x4f24af[_0x214a09(0xb2)]=_0x214a09(0x97),_0x4f24af[_0x214a09(0x91)]=_0x214a09(0x94),_0x4f24af[_0x214a09(0x96)]='browserstack.ppp',_0x4f24af[_0x214a09(0xa3)]=_0x214a09(0x8f),_0x4f24af['JIgTQ']='browserstack.local',_0x4f24af['VVWgR']=_0x214a09(0x93),_0x4f24af['TQgbd']=_0x214a09(0xbe),_0x4f24af['inflW']=_0x214a09(0x81),_0x4f24af[_0x214a09(0x9f)]=_0x214a09(0x84),_0x4f24af[_0x214a09(0xb9)]='browserstack.automation';var _0x4d386f=_0x4f24af,_0x3da279={};return _0x3da279[_0x214a09(0xc3)]=[_0x4d386f[_0x214a09(0x9e)],_0x4d386f['xURvo']],_0x3da279[_0x214a09(0xb3)]=[_0x4d386f[_0x214a09(0x7d)],_0x4d386f['ATAtC']],_0x3da279[_0x214a09(0xb1)]=[_0x4d386f['QljQV']],_0x3da279[_0x214a09(0x9a)]=[_0x4d386f[_0x214a09(0xb2)]],_0x3da279[_0x214a09(0xb5)]=[_0x4d386f['fFodW']],_0x3da279[_0x214a09(0xbd)]=[_0x4d386f['kPZUM'],_0x4d386f[_0x214a09(0xa3)]],_0x3da279[_0x214a09(0x89)]=[_0x4d386f[_0x214a09(0xb4)]],_0x3da279[_0x214a09(0x83)]=[_0x4d386f['VVWgR']],_0x3da279['rerunTests']=[_0x4d386f[_0x214a09(0xad)]],_0x3da279['app']=[_0x4d386f[_0x214a09(0x9c)]],_0x3da279[_0x214a09(0xc2)]=[_0x4d386f[_0x214a09(0x9f)]],_0x3da279['automation']=[_0x4d386f['zuBQB']],_0x3da279;},exports[a34_0x31580f(0xb7)]=()=>{var _0x4f163c=a34_0x31580f,_0x5a4fa0={};_0x5a4fa0[_0x4f163c(0xc0)]=_0x4f163c(0xaf),_0x5a4fa0[_0x4f163c(0x8e)]='BROWSERSTACK_USER_NAME',_0x5a4fa0[_0x4f163c(0xa6)]=_0x4f163c(0xbb),_0x5a4fa0[_0x4f163c(0xa5)]=_0x4f163c(0x82),_0x5a4fa0[_0x4f163c(0xa4)]=_0x4f163c(0x99),_0x5a4fa0['jKgxS']=_0x4f163c(0x7f),_0x5a4fa0[_0x4f163c(0xab)]=_0x4f163c(0xb0),_0x5a4fa0[_0x4f163c(0xaa)]='BROWSERSTACK_LOCAL',_0x5a4fa0[_0x4f163c(0xc4)]=_0x4f163c(0xc5),_0x5a4fa0[_0x4f163c(0xae)]=_0x4f163c(0xac),_0x5a4fa0[_0x4f163c(0xbc)]=_0x4f163c(0xa2),_0x5a4fa0[_0x4f163c(0x87)]=_0x4f163c(0x86),_0x5a4fa0['asHJR']=_0x4f163c(0xa8);var _0x29845b=_0x5a4fa0,_0x204e6d={};return _0x204e6d[_0x4f163c(0xc3)]=[_0x29845b[_0x4f163c(0xc0)],_0x29845b[_0x4f163c(0x8e)]],_0x204e6d[_0x4f163c(0xb3)]=[_0x29845b[_0x4f163c(0xa6)]],_0x204e6d[_0x4f163c(0xb1)]=[_0x29845b[_0x4f163c(0xa5)]],_0x204e6d[_0x4f163c(0x9a)]=[_0x29845b[_0x4f163c(0xa4)]],_0x204e6d[_0x4f163c(0xb5)]=[_0x29845b[_0x4f163c(0x8c)]],_0x204e6d[_0x4f163c(0xbd)]=[_0x29845b[_0x4f163c(0xab)]],_0x204e6d[_0x4f163c(0x89)]=[_0x29845b[_0x4f163c(0xaa)]],_0x204e6d[_0x4f163c(0x83)]=[_0x29845b['pCmtk']],_0x204e6d[_0x4f163c(0x80)]=[_0x29845b[_0x4f163c(0xae)]],_0x204e6d[_0x4f163c(0x8b)]=[_0x29845b[_0x4f163c(0xbc)]],_0x204e6d[_0x4f163c(0xc2)]=[_0x29845b['QMsvO']],_0x204e6d['automation']=[_0x29845b[_0x4f163c(0xa9)]],_0x204e6d;});function a34_0x2fc9(){var _0x243b4a=['ZOaCx','sKkwh','1284840XBotAO','BROWSERSTACK_AUTOMATION','asHJR','QjRea','xvlGe','BROWSERSTACK_RERUN_TESTS','TQgbd','scPvk','BROWSERSTACK_USERNAME','BROWSERSTACK_PARALLELS_PER_PLATFORM','buildName','WxtrD','accessKey','JIgTQ','buildIdentifier','367583IxOPqO','EnvCapsMapping','1740264RuuMPQ','zuBQB','405SXJGDs','BROWSERSTACK_ACCESS_KEY','PHvZt','parallelsPerPlatform','browserstack.rerunTests','ATAtC','XtdCb','browserstack.user_name','logLevel','userName','pCmtk','BROWSERSTACK_LOCAL_IDENTIFIER','PzZMJ','QljQV','BROWSERSTACK_BUILD_IDENTIFIER','rerunTests','browserstack.app','BROWSERSTACK_BUILD_NAME','localIdentifier','browserstack.logLevel','198FFJeuN','BROWSERSTACK_OBSERVABILITY_DEBUG','QMsvO','12292MbOLtZ','browserstackLocal','browserstack.userName','app','jKgxS','xURvo','VVaPp','browserstack.parallelsPerPlatform','191090OEZEms','fFodW','1028784UYUsEy','browserstack.localIdentifier','browserstack.buildIdentifier','browserstack.buildName','kPZUM','browserstack.projectName','CLICapsMapping','BROWSERSTACK_PROJECT_NAME','projectName','20wpSYEB','inflW','7FqemSS','DxFJZ','TlSmz','2665212DNfhgz','browserstack.access_key','BROWSERSTACK_APP','dZsCs','qoQUC'];a34_0x2fc9=function(){return _0x243b4a;};return a34_0x2fc9();}
|