browserstack-node-sdk 1.17.0 → 1.18.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 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a31_0x2eaa4e=a31_0x1258;(function(_0x1f89a7,_0x114594){const _0x436777=a31_0x1258,_0x59a638=_0x1f89a7();while(!![]){try{const _0x2c65df=-parseInt(_0x436777(0xf6))/0x1+-parseInt(_0x436777(0x11e))/0x2*(-parseInt(_0x436777(0xfb))/0x3)+parseInt(_0x436777(0x117))/0x4*(-parseInt(_0x436777(0x123))/0x5)+-parseInt(_0x436777(0x113))/0x6*(-parseInt(_0x436777(0xf2))/0x7)+-parseInt(_0x436777(0x114))/0x8+-parseInt(_0x436777(0x10a))/0x9*(parseInt(_0x436777(0xfc))/0xa)+parseInt(_0x436777(0x111))/0xb*(parseInt(_0x436777(0x10c))/0xc);if(_0x2c65df===_0x114594)break;else _0x59a638['push'](_0x59a638['shift']());}catch(_0x52132b){_0x59a638['push'](_0x59a638['shift']());}}}(a31_0x490b,0xbdacb));function a31_0x490b(){const _0x1d2d05=['winston-transport','message','Ctxss','11vYLYOL','error','12sIGpgs','9445264OOVwEq','log','hGxBT','64uzoZVo','SZKan','ZjOHc','DEBUG','logToTestOps','logged','YRkjc','17114dNqlrx','DPHlp','TEST_LOG','info','TRACE','26070oMvdJX','object','TdlEv','WARN','kIuIk','253589PEAOXh','RrSEc','ZweIR','emit','965340EOLSGx','toUpperCase','toISOString','lrXEJ','debug','69aOWMPG','20fLDklp','level','WlSKf','warn','loijY','exports','INFO','pid','JZfro','toLowerCase','NpQNW','umOyq','ERROR','zvLrl','668889QNycUQ','VQvvy','34628472IEGjQv','bs:addLog:'];a31_0x490b=function(){return _0x1d2d05;};return a31_0x490b();}const Transport=require(a31_0x2eaa4e(0x10e)),{consoleHolder}=require('../mocha/test-observability/constants'),a31_0x27bfb2={};function a31_0x1258(_0x6c015a,_0x2a3467){const _0x490b8a=a31_0x490b();return a31_0x1258=function(_0x12584e,_0x53235d){_0x12584e=_0x12584e-0xf0;let _0x526036=_0x490b8a[_0x12584e];return _0x526036;},a31_0x1258(_0x6c015a,_0x2a3467);}a31_0x27bfb2[a31_0x2eaa4e(0x102)]=a31_0x2eaa4e(0x102),a31_0x27bfb2['ERROR']=a31_0x2eaa4e(0x108),a31_0x27bfb2[a31_0x2eaa4e(0x11a)]=a31_0x2eaa4e(0x11a),a31_0x27bfb2['TRACE']='TRACE',a31_0x27bfb2[a31_0x2eaa4e(0xf0)]='WARN';const LOG_LEVELS=a31_0x27bfb2;class logReportingAPI extends Transport{constructor(_0xa333ab){super(_0xa333ab);}[a31_0x2eaa4e(0x115)](_0x4a69a0,_0x4dc8c2){const _0x13a5ec=a31_0x2eaa4e,_0x31e628={'lrXEJ':function(_0x5e3442,_0x1b4100){return _0x5e3442(_0x1b4100);},'kIuIk':function(_0x1d280b,_0x559b2f){return _0x1d280b===_0x559b2f;},'umOyq':_0x13a5ec(0x124),'ZweIR':function(_0x26f133){return _0x26f133();},'SZKan':_0x13a5ec(0x11c),'TNmzj':_0x13a5ec(0xf3),'YRkjc':_0x13a5ec(0x119),'JZfro':'TEST_LOG','OPgDH':function(_0x4a55a3,_0x526be4){return _0x4a55a3(_0x526be4);},'Ctxss':function(_0x3b02f2,_0x146c4d){return _0x3b02f2===_0x146c4d;},'DPHlp':function(_0x50381f,_0x2f6310){return _0x50381f!==_0x2f6310;},'zvLrl':_0x13a5ec(0x100),'NpQNW':function(_0x45f7d0,_0x1677f3){return _0x45f7d0!==_0x1677f3;},'VQvvy':_0x13a5ec(0x116)};_0x31e628['OPgDH'](setImmediate,()=>{const _0x4deeb6=_0x13a5ec,_0x4f339c={};_0x4f339c[_0x4deeb6(0xfe)]=_0x31e628[_0x4deeb6(0x118)];const _0x5c3f30=_0x4f339c;if(_0x31e628[_0x4deeb6(0xf1)](_0x31e628['TNmzj'],_0x31e628[_0x4deeb6(0x11d)])){_0x31e628[_0x4deeb6(0xf9)](_0x471fc3,()=>{const _0x503261=_0x4deeb6;this[_0x503261(0xf5)](_0x5c3f30[_0x503261(0xfe)],_0x2e517b);});_0x31e628[_0x4deeb6(0xf1)](typeof _0x122752,_0x31e628[_0x4deeb6(0x107)])?this[_0x4deeb6(0x11b)](_0x272488[_0x4deeb6(0xfd)]||_0x15c975[_0x4deeb6(0x102)],_0x5b3e62[_0x4deeb6(0x10f)],![]):this[_0x4deeb6(0x11b)](_0x3896e0[_0x4deeb6(0x102)],_0x5bca44);if(_0x3312c9)_0x31e628[_0x4deeb6(0xf4)](_0x387943);}else this[_0x4deeb6(0xf5)](_0x31e628[_0x4deeb6(0x118)],_0x4a69a0);});if(_0x31e628[_0x13a5ec(0x110)](typeof _0x4a69a0,_0x31e628['umOyq'])){if(_0x31e628[_0x13a5ec(0x11f)](_0x31e628[_0x13a5ec(0x109)],_0x31e628['zvLrl'])){if(_0x3ad941)_0xc386ba[_0xf96c03[_0x13a5ec(0x105)]()](_0x3b39e8);_0x345d45['emit'](_0x13a5ec(0x10d)+_0x176cdd[_0x13a5ec(0x103)],{'timestamp':new _0x52998c()[_0x13a5ec(0xf8)](),'level':_0x233d6['toUpperCase'](),'message':_0x142c03,'kind':_0x31e628[_0x13a5ec(0x104)],'http_response':{}});}else this['logToTestOps'](_0x4a69a0[_0x13a5ec(0xfd)]||LOG_LEVELS[_0x13a5ec(0x102)],_0x4a69a0['message'],![]);}else _0x31e628[_0x13a5ec(0x106)](_0x31e628[_0x13a5ec(0x10b)],_0x31e628[_0x13a5ec(0x10b)])?this[_0x13a5ec(0x11b)](_0x3d3157[_0x13a5ec(0xfd)]||_0x4b353c[_0x13a5ec(0x102)],_0x242445[_0x13a5ec(0x10f)],![]):this['logToTestOps'](LOG_LEVELS[_0x13a5ec(0x102)],_0x4a69a0);if(_0x4dc8c2)_0x31e628['ZweIR'](_0x4dc8c2);}[a31_0x2eaa4e(0x11b)]=(_0x6ac783=LOG_LEVELS['INFO'],_0x1be260='',_0xee5b30=!![])=>{const _0x2fdc73=a31_0x2eaa4e,_0x509b69={};_0x509b69['TdlEv']=_0x2fdc73(0x120);const _0x545a84=_0x509b69;if(_0xee5b30)consoleHolder[_0x6ac783[_0x2fdc73(0x105)]()](_0x1be260);process[_0x2fdc73(0xf5)]('bs:addLog:'+process[_0x2fdc73(0x103)],{'timestamp':new Date()[_0x2fdc73(0xf8)](),'level':_0x6ac783[_0x2fdc73(0xf7)](),'message':_0x1be260,'kind':_0x545a84[_0x2fdc73(0x125)],'http_response':{}});};['trace']=(_0x469ae6,_0x1502e5)=>{const _0x1e8368=a31_0x2eaa4e;this[_0x1e8368(0x11b)](LOG_LEVELS[_0x1e8368(0x122)],_0x469ae6);};[a31_0x2eaa4e(0xfa)]=(_0x20de29,_0x1c7de4)=>{const _0x26b5ca=a31_0x2eaa4e;this[_0x26b5ca(0x11b)](LOG_LEVELS[_0x26b5ca(0x11a)],_0x20de29);};[a31_0x2eaa4e(0x121)]=(_0x171408,_0x569ceb)=>{const _0x26d64b=a31_0x2eaa4e;this[_0x26d64b(0x11b)](LOG_LEVELS[_0x26d64b(0x102)],_0x171408);};[a31_0x2eaa4e(0xff)]=(_0x18e5e2,_0x4ebe50)=>{const _0x3968c0=a31_0x2eaa4e;this[_0x3968c0(0x11b)](LOG_LEVELS[_0x3968c0(0xf0)],_0x18e5e2);};[a31_0x2eaa4e(0x112)]=(_0x40e02f,_0x28cd96)=>{const _0x553db0=a31_0x2eaa4e;this['logToTestOps'](LOG_LEVELS[_0x553db0(0x108)],_0x40e02f);};};module[a31_0x2eaa4e(0x101)]=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a32_0xaf12(){const _0x2bc6da=['hSBje','3324nrehRa','qYbng','file','SftOv','args','../../helpers/BrowserStackSetup','KCezh','11GIcLXq','proxySettings','modifyBrowserStackW3CCaps','10867488FehgXf','getPlatformName','configuration','fcFlB','36359772RJbRDs','uYtEQ','894737ukGply','existsSync','oZWcr','tdbNY','forEach','TooyQ','oNbZh','../test-runner','KmMUi','parallelsPerPlatform','GxpZO','nEJyG','3766960tQfekf','exports','NXpPm','YircR','then','qwhCk','join','File\x20path\x20is\x20required','server','nEpKB','vanilla','ukvIU','modifyBrowserStackCaps','jFCdR','zlYso','Config\x20yml\x20is\x20required','fzjRv','../../helpers/helper','platforms','3170fVbZwr','hubUrl','2MdkwzQ','useW3C','dQqmF','4467jaVXKS','push','config','5222koRZFa','10746ZOmUqd','setUpHubUrl','isUndefined','File\x20','finally','length','finalExecution','72EDxKMS'];a32_0xaf12=function(){return _0x2bc6da;};return a32_0xaf12();}const a32_0x126323=a32_0x46e1;function a32_0x46e1(_0x35ce4c,_0x505671){const _0xaf1297=a32_0xaf12();return a32_0x46e1=function(_0x46e146,_0x54e645){_0x46e146=_0x46e146-0x18c;let _0x24fe39=_0xaf1297[_0x46e146];return _0x24fe39;},a32_0x46e1(_0x35ce4c,_0x505671);}(function(_0x4a69a7,_0xe8276){const _0xcae2be=a32_0x46e1,_0x5e03e3=_0x4a69a7();while(!![]){try{const _0x1ef2c2=parseInt(_0xcae2be(0x1a3))/0x1*(-parseInt(_0xcae2be(0x1c4))/0x2)+-parseInt(_0xcae2be(0x1c7))/0x3*(-parseInt(_0xcae2be(0x191))/0x4)+parseInt(_0xcae2be(0x1af))/0x5+parseInt(_0xcae2be(0x193))/0x6*(-parseInt(_0xcae2be(0x1ca))/0x7)+-parseInt(_0xcae2be(0x19d))/0x8+-parseInt(_0xcae2be(0x1cb))/0x9*(parseInt(_0xcae2be(0x1c2))/0xa)+-parseInt(_0xcae2be(0x19a))/0xb*(-parseInt(_0xcae2be(0x1a1))/0xc);if(_0x1ef2c2===_0xe8276)break;else _0x5e03e3['push'](_0x5e03e3['shift']());}catch(_0x44e3ee){_0x5e03e3['push'](_0x5e03e3['shift']());}}}(a32_0xaf12,0xbad24));const fs=require('fs'),{default:BrowserStackSetup}=require(a32_0x126323(0x198)),helper=require(a32_0x126323(0x1c0)),constants=require('../utils/constants'),{parallelVanillaRun}=require(a32_0x126323(0x1aa));async function run(_0x2839ee,_0x489f6b){const _0xb0a773=a32_0x126323,_0x1bbacd={'uYtEQ':_0xb0a773(0x1b9),'zlYso':function(_0x1185bf,_0xd35571){return _0x1185bf!==_0xd35571;},'qwhCk':'gRAsL','ukvIU':_0xb0a773(0x1b1),'KmMUi':function(_0x392cde,_0x4d903c){return _0x392cde===_0x4d903c;},'fzjRv':'EcyqZ','nEJyG':function(_0x52b458,_0x7b13a8){return _0x52b458(_0x7b13a8);},'nEpKB':_0xb0a773(0x1b6),'tdbNY':function(_0x52faa1,_0x54fd5d){return _0x52faa1(_0x54fd5d);},'fcFlB':_0xb0a773(0x1be),'hSBje':function(_0xd6b667,_0x5a94cc){return _0xd6b667>_0x5a94cc;},'oZWcr':_0xb0a773(0x1b2),'KCezh':function(_0x126266,_0x2fe307){return _0x126266>_0x2fe307;},'dQqmF':_0xb0a773(0x1bc),'xFuTm':_0xb0a773(0x1a9),'qYbng':_0xb0a773(0x1a8),'GxpZO':function(_0x433fc1,_0x2b4b09){return _0x433fc1*_0x2b4b09;},'oIcQZ':function(_0x588aca,_0x21baaf,_0x236cf2){return _0x588aca(_0x21baaf,_0x236cf2);}},_0x445070=new BrowserStackSetup(_0x2839ee,_0x1bbacd['uYtEQ']);await _0x445070[_0xb0a773(0x1cc)]();let _0x2f2716=[];if(helper[_0xb0a773(0x18c)](_0x2839ee['_'][0x1]))throw _0x1bbacd[_0xb0a773(0x1ae)](Error,_0x1bbacd[_0xb0a773(0x1b8)]);const _0x3f5106=path[_0xb0a773(0x1b5)](process['cwd'](),_0x2839ee['_'][0x1]);if(!fs[_0xb0a773(0x1a4)](_0x3f5106))throw _0x1bbacd[_0xb0a773(0x1a6)](Error,_0xb0a773(0x18d)+_0x2839ee['_'][0x1]+'\x20doesn\x27t\x20exist');if(!_0x445070[_0xb0a773(0x1c9)])throw _0x1bbacd[_0xb0a773(0x1a6)](Error,_0x1bbacd[_0xb0a773(0x1a0)]);let _0x42ad85=helper[_0xb0a773(0x1c5)](_0x445070['config']);if(_0x445070[_0xb0a773(0x1c9)][_0xb0a773(0x1c1)]&&_0x1bbacd[_0xb0a773(0x192)](_0x445070[_0xb0a773(0x1c9)][_0xb0a773(0x1c1)]['length'],0x0)){if(_0x1bbacd['KmMUi'](_0x1bbacd[_0xb0a773(0x1a5)],_0x1bbacd[_0xb0a773(0x1a5)]))_0x445070[_0xb0a773(0x1c9)][_0xb0a773(0x1c1)]['forEach']((_0xd7feea,_0x5051c0)=>{const _0x589a8b=_0xb0a773,_0x213b4b={};_0x213b4b['SftOv']=_0x1bbacd[_0x589a8b(0x1a2)];const _0x141c04=_0x213b4b;if(_0x1bbacd[_0x589a8b(0x1bd)](_0x1bbacd[_0x589a8b(0x1b4)],_0x1bbacd[_0x589a8b(0x1ba)])){if(_0x42ad85)_0x2f2716[_0x589a8b(0x1c8)](helper['modifyBrowserStackW3CCaps'](_0x445070[_0x589a8b(0x1c9)],_0x1bbacd[_0x589a8b(0x1a2)],_0x5051c0));else _0x2f2716[_0x589a8b(0x1c8)](helper[_0x589a8b(0x1bb)](_0x445070[_0x589a8b(0x1c9)],_0x1bbacd['uYtEQ'],_0x5051c0));}else _0x2017a8[_0x589a8b(0x1c9)][_0x589a8b(0x1c1)][_0x589a8b(0x1a7)]((_0x520eb9,_0x10046e)=>{const _0xc8370d=_0x589a8b;if(_0x47649e)_0x499f0b[_0xc8370d(0x1c8)](_0x10652d['modifyBrowserStackW3CCaps'](_0x2c3810['config'],_0x141c04[_0xc8370d(0x196)],_0x10046e));else _0x509e92[_0xc8370d(0x1c8)](_0x38f58d[_0xc8370d(0x1bb)](_0x150e37['config'],_0x141c04[_0xc8370d(0x196)],_0x10046e));});});else{let _0x28a12a;if(_0xe6943c)_0x28a12a=_0xeeab5b['modifyBrowserStackW3CCaps'](_0x17adeb[_0xb0a773(0x1c9)],_0x1bbacd[_0xb0a773(0x1a2)],0x0);else _0x28a12a=_0x24eb0b[_0xb0a773(0x1bb)](_0x507062['config'],_0x1bbacd['uYtEQ'],0x0);const _0x373ca5={};_0x373ca5[_0xb0a773(0x1b7)]=_0x555b8d[_0xb0a773(0x1c3)],_0x373ca5[_0xb0a773(0x19b)]=_0x3d85fd[_0xb0a773(0x1c9)][_0xb0a773(0x19b)],_0x61d0d2=_0x373ca5;const _0x35759d={'capability':_0x28a12a,..._0x4a65b2};_0x35759d[_0xb0a773(0x195)]=_0x22910d,_0x35759d[_0xb0a773(0x197)]=_0x2080ac;const _0x33a306={};_0x33a306[_0xb0a773(0x19f)]=_0x35759d,_0x3e1d80=_0x33a306,_0x502eea['push'](_0x200857);}}let _0x492c60,_0x531cdf;const _0x2d229a=[];if(_0x1bbacd[_0xb0a773(0x199)](_0x2f2716[_0xb0a773(0x18f)],0x0)){if(_0x1bbacd[_0xb0a773(0x1ab)](_0x1bbacd[_0xb0a773(0x1c6)],_0x1bbacd['dQqmF']))_0x2f2716[_0xb0a773(0x1a7)](_0x4beb62=>{const _0x44955c=_0xb0a773;if(_0x1bbacd[_0x44955c(0x1ab)](_0x1bbacd[_0x44955c(0x1bf)],_0x1bbacd[_0x44955c(0x1bf)])){_0x492c60={'server':constants[_0x44955c(0x1c3)],'proxySettings':_0x445070[_0x44955c(0x1c9)]['proxySettings'],'platform':helper[_0x44955c(0x19e)](_0x4beb62)};const _0x31a2ba={'capability':_0x4beb62,..._0x492c60};_0x31a2ba[_0x44955c(0x195)]=_0x3f5106,_0x31a2ba[_0x44955c(0x197)]=_0x489f6b;const _0xf45c0e={};_0xf45c0e[_0x44955c(0x19f)]=_0x31a2ba,_0x531cdf=_0xf45c0e,_0x2d229a[_0x44955c(0x1c8)](_0x531cdf);}else _0x568c44[_0x44955c(0x1a7)](_0x59464b=>{const _0x4e04f4=_0x44955c;_0xc6fed6={'server':_0x989ec0['hubUrl'],'proxySettings':_0x35f7fe[_0x4e04f4(0x1c9)]['proxySettings'],'platform':_0x4ca2ee[_0x4e04f4(0x19e)](_0x59464b)};const _0x38debe={'capability':_0x59464b,..._0x4901c2};_0x38debe['file']=_0x25d712,_0x38debe[_0x4e04f4(0x197)]=_0x1537ca;const _0x2bc7fe={};_0x2bc7fe['configuration']=_0x38debe,_0x5a54f4=_0x2bc7fe,_0x447358[_0x4e04f4(0x1c8)](_0x3cd3fd);});});else{if(_0x40a73b)_0x6c1d65[_0xb0a773(0x1c8)](_0x39ef5d[_0xb0a773(0x19c)](_0x1c3157[_0xb0a773(0x1c9)],_0x1bbacd[_0xb0a773(0x1a2)],_0x4d132f));else _0x19e3bc[_0xb0a773(0x1c8)](_0x4ae35d[_0xb0a773(0x1bb)](_0x470490[_0xb0a773(0x1c9)],_0x1bbacd[_0xb0a773(0x1a2)],_0x52be35));}}else{if(_0x1bbacd[_0xb0a773(0x1ab)](_0x1bbacd['xFuTm'],_0x1bbacd[_0xb0a773(0x194)])){_0x3a1433={'server':_0x35ea0b[_0xb0a773(0x1c3)],'proxySettings':_0x50b53e[_0xb0a773(0x1c9)][_0xb0a773(0x19b)],'platform':_0x258736[_0xb0a773(0x19e)](_0x223509)};const _0x5e5601={'capability':_0x55da41,..._0x22d350};_0x5e5601[_0xb0a773(0x195)]=_0x468484,_0x5e5601[_0xb0a773(0x197)]=_0x4577a2;const _0x3c0b5e={};_0x3c0b5e['configuration']=_0x5e5601,_0x13c617=_0x3c0b5e,_0x73aa6c[_0xb0a773(0x1c8)](_0x19c8b1);}else{let _0x5db3f5;if(_0x42ad85)_0x5db3f5=helper[_0xb0a773(0x19c)](_0x445070[_0xb0a773(0x1c9)],_0x1bbacd['uYtEQ'],0x0);else _0x5db3f5=helper[_0xb0a773(0x1bb)](_0x445070['config'],_0x1bbacd[_0xb0a773(0x1a2)],0x0);const _0x41e3e9={};_0x41e3e9[_0xb0a773(0x1b7)]=constants[_0xb0a773(0x1c3)],_0x41e3e9[_0xb0a773(0x19b)]=_0x445070['config'][_0xb0a773(0x19b)],_0x492c60=_0x41e3e9;const _0x1b81ee={'capability':_0x5db3f5,..._0x492c60};_0x1b81ee['file']=_0x3f5106,_0x1b81ee[_0xb0a773(0x197)]=_0x489f6b;const _0x5f3efc={};_0x5f3efc[_0xb0a773(0x19f)]=_0x1b81ee,_0x531cdf=_0x5f3efc,_0x2d229a[_0xb0a773(0x1c8)](_0x531cdf);}}const _0x90cfeb=_0x1bbacd[_0xb0a773(0x1ad)](_0x445070[_0xb0a773(0x1c9)][_0xb0a773(0x1c1)][_0xb0a773(0x18f)]||0x1,_0x445070['config'][_0xb0a773(0x1ac)]);_0x1bbacd['oIcQZ'](parallelVanillaRun,_0x2d229a,_0x90cfeb)[_0xb0a773(0x1b3)](_0x2d3125=>{})[_0xb0a773(0x18e)](async()=>{const _0x598c15=_0xb0a773;await helper[_0x598c15(0x190)](_0x445070);});}module[a32_0x126323(0x1b0)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a33_0x4920e1=a33_0x3a56;function a33_0x2922(){const _0x4bd697=['fireFunnelTestEvent','NNrFc','MtBCh','ifUjI','Error\x20occured\x20while\x20stopping\x20local\x20binary','rwbuo','getFinalCaps','error','push','env','eFJMZ','HWyBV','uxhAS','HvPUo','euRmr','845446rSmQia','getPackageVersion','KCPvB','Cjfbu','SDKTestAttempted','YTBLh','sanitizeCaps','LcBqm','arebE','QnooT','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','config','fLejf','beforeExit','warn','NRYKU','10570MEmmag','testContextOptions','requireSeleniumWebdriverCheck','info','IJJBg','format','rUqQG','1174308sBOYSS','dsQxO','KNtzq','uKvbr','ZkysA','srgkd','browserstackLocal','dZkix','length','readConfig','wzeXN','klxib','55934MUhXRg','getUserName','HydZc','unhandledRejection','CDUav','uncaughtException','kadjU','TyXUE','debug','IJpQN','userName\x20or\x20accessKey\x20is\x20not\x20defined','parallelsPerPlatform','5HigYBA','QPkyx','LFewK','ecsKs','nzLIZ','setupKeepAlive','yrgca','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','hUuyY','zRDAU','FHjel','cWkLY','zCrth','./setKeepAlive','HgRrV','peteF','XODyn','generateLocalIdentifier','MaKaa','getLocalIdentifier','nMcti','hWKrM','getAccessKey','localIdentifier','HTcBl','Local\x20binary\x20stopped','dkjcH','toString','../hubAllocationMethods','useW3C','fEhso','constructor','12075520niarCu','FRAMEWORK','rSPYF','YdniZ','platforms','CSqQe','GQHMl','message','Local\x20binary\x20started\x20successfully','WLXUX','NwJwi','unhandledErrors','159jmGsHZ','yPfAr','getConfigPath','IygAO','EswxC','354djNlzn','rgmeO','AexiW','jZymY','BEzgI','iItsX','localOptions','framework','cliConfig','ZaJNO','stopBrowserstackLocal','iEMnt','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','dkidT','xaQen','NLmgv','isUndefined','browserStackLocalOptions','xscNh','cSADd','isRunning','NYJYr','15657928unrOkG','fxzUU','dGYLF','hqVaM','uuiRu','1137438mDKIrG','../bin/mocha/test-observability/helper','./logger','VNcov','setEnvCaps','stopLocalBinary','xvGgg','QnfFi','handleExceptions','hiZKP','default','SIGTERM','envConfig','getLocalConfig','16kTcnOt','oesxs'];a33_0x2922=function(){return _0x4bd697;};return a33_0x2922();}(function(_0x582f60,_0xe237f2){const _0x1d9408=a33_0x3a56,_0x31cf20=_0x582f60();while(!![]){try{const _0x504eae=-parseInt(_0x1d9408(0x177))/0x1+-parseInt(_0x1d9408(0x19a))/0x2*(-parseInt(_0x1d9408(0x138))/0x3)+parseInt(_0x1d9408(0x18e))/0x4*(-parseInt(_0x1d9408(0x10c))/0x5)+-parseInt(_0x1d9408(0x13d))/0x6*(-parseInt(_0x1d9408(0x187))/0x7)+parseInt(_0x1d9408(0x166))/0x8*(parseInt(_0x1d9408(0x158))/0x9)+-parseInt(_0x1d9408(0x12c))/0xa+parseInt(_0x1d9408(0x153))/0xb;if(_0x504eae===_0xe237f2)break;else _0x31cf20['push'](_0x31cf20['shift']());}catch(_0x427d8f){_0x31cf20['push'](_0x31cf20['shift']());}}}(a33_0x2922,0xdbf72));function a33_0x3a56(_0x1401d9,_0x1a144f){const _0x2922aa=a33_0x2922();return a33_0x3a56=function(_0x3a5681,_0x21a46c){_0x3a5681=_0x3a5681-0x10b;let _0x23d8f2=_0x2922aa[_0x3a5681];return _0x23d8f2;},a33_0x3a56(_0x1401d9,_0x1a144f);}const util=require('util'),logger=require(a33_0x4920e1(0x15a))['winstonLogger'],helper=require('./helper'),hubAllocator=require(a33_0x4920e1(0x128)),{isBrowserstackInfra}=require(a33_0x4920e1(0x159));class BrowserStackSetup{constructor(_0xa2fdd1,_0x1505df){const _0x4a3200=a33_0x4920e1,_0x46441d={'YTBLh':_0x4a3200(0x181),'ZaJNO':function(_0x40853a,_0x2d75a8){return _0x40853a<_0x2d75a8;},'LcBqm':function(_0x4f43fd,_0x504bfd){return _0x4f43fd(_0x504bfd);},'arebE':'selenium-webdriver','zRDAU':function(_0x14c085,_0x16f6d6){return _0x14c085>=_0x16f6d6;},'uKvbr':function(_0xbb9dac,_0x49e670){return _0xbb9dac(_0x49e670);},'HvPUo':_0x4a3200(0x17b),'cWkLY':_0x4a3200(0x1a4),'YdniZ':function(_0x480d28,_0x310a00){return _0x480d28(_0x310a00);},'NatSW':_0x4a3200(0x119),'ewqVw':function(_0x427e19,_0x168a12){return _0x427e19===_0x168a12;},'mEYAk':_0x4a3200(0x149),'zCrth':'No\x20config\x20provided.','dkjcH':function(_0x3fde8b){return _0x3fde8b();},'xscNh':function(_0x124bfd,_0x4ae12d){return _0x124bfd!==_0x4ae12d;},'yPfAr':'PFXoK','oesxs':function(_0x5462cb,_0x277e7d){return _0x5462cb!==_0x277e7d;},'NjUjI':_0x4a3200(0x16d),'xvGgg':_0x4a3200(0x179),'CDUav':'twNSR','GiYdx':function(_0x3522b1){return _0x3522b1();},'HgRrV':function(_0x402890,_0x33696a){return _0x402890!==_0x33696a;},'TaXhq':'lOLjV','cEpng':'BUpQS','fLejf':_0x4a3200(0x198),'srgkd':function(_0x28dc7e,_0x436ce4){return _0x28dc7e===_0x436ce4;},'MaKaa':_0x4a3200(0x15b),'QnooT':function(_0x532444,_0x1a38fb){return _0x532444===_0x1a38fb;},'fEhso':_0x4a3200(0x174),'qjsCq':_0x4a3200(0x172),'nzLIZ':_0x4a3200(0x156),'LvEqt':_0x4a3200(0x148),'IygAO':_0x4a3200(0x120),'NRYKU':function(_0x4408ca,_0x46ed59){return _0x4408ca!==_0x46ed59;},'QPkyx':_0x4a3200(0x16b),'hWKrM':function(_0x3c25f2,_0x4f2581){return _0x3c25f2===_0x4f2581;},'KNtzq':'uCNGE','HydZc':function(_0x57deb5,_0x1e7a22){return _0x57deb5===_0x1e7a22;},'GQHMl':_0x4a3200(0x18d),'xaQen':_0x4a3200(0x18b),'EswxC':function(_0x3abe5f,_0x8f5674){return _0x3abe5f===_0x8f5674;},'Papbj':_0x4a3200(0x169),'rgmeO':_0x4a3200(0x112),'NwJwi':'momop','qRsFW':_0x4a3200(0x176),'eHhdc':_0x4a3200(0x142),'HWyBV':_0x4a3200(0x1a3)};this[_0x4a3200(0x137)]=[],this[_0x4a3200(0x145)]=helper['setCLICaps'](_0xa2fdd1),this[_0x4a3200(0x164)]=helper[_0x4a3200(0x15c)](),this[_0x4a3200(0x194)]=null,this[_0x4a3200(0x182)]=helper[_0x4a3200(0x197)](helper[_0x4a3200(0x13a)](_0xa2fdd1)),global[_0x4a3200(0x182)]=this[_0x4a3200(0x182)],global[_0x4a3200(0x144)]=_0x1505df,helper[_0x4a3200(0x17d)](this['config']),this[_0x4a3200(0x144)]=_0x1505df;if(helper[_0x4a3200(0x14d)](this[_0x4a3200(0x182)]))throw new Error(_0x46441d[_0x4a3200(0x118)]);if(this['config']['error'])throw new Error(this[_0x4a3200(0x182)][_0x4a3200(0x16f)]);helper[_0x4a3200(0x16e)](this[_0x4a3200(0x182)],this[_0x4a3200(0x145)],this[_0x4a3200(0x164)]),this[_0x4a3200(0x160)]();if(!_0x46441d[_0x4a3200(0x126)](isBrowserstackInfra)){if(_0x46441d['xscNh'](_0x46441d[_0x4a3200(0x139)],_0x46441d[_0x4a3200(0x139)]))this['config'][_0x4a3200(0x129)]=![];else try{_0x46441d[_0x4a3200(0x167)](_0x46441d['NjUjI'],_0x46441d[_0x4a3200(0x15e)])?(process[_0x4a3200(0x171)]['FRAMEWORK']=_0x1505df,helper[_0x4a3200(0x168)](_0x46441d[_0x4a3200(0x175)],{},this[_0x4a3200(0x182)],this[_0x4a3200(0x144)])):_0x547012[_0x4a3200(0x18a)](_0x46441d[_0x4a3200(0x17c)]);}catch(_0x3bd9d5){if(_0x46441d['xscNh'](_0x46441d[_0x4a3200(0x19e)],_0x46441d['CDUav'])){_0x42257b[_0x4a3200(0x1a2)](_0x2a199b);throw new _0x5bef1f(_0x554041[_0x4a3200(0x127)]());}else logger[_0x4a3200(0x1a2)](_0x4a3200(0x113)+_0x3bd9d5);}}if(!_0x46441d['GiYdx'](isBrowserstackInfra))return;helper[_0x4a3200(0x189)](_0x1505df)&&(_0x46441d[_0x4a3200(0x11a)](_0x46441d['TaXhq'],_0x46441d['cEpng'])?(_0x46441d[_0x4a3200(0x146)](_0x46441d[_0x4a3200(0x191)](parseInt,helper['getPackageVersion'](_0x46441d[_0x4a3200(0x17f)])),0x3)&&(_0x46441d[_0x4a3200(0x14f)](_0x46441d[_0x4a3200(0x183)],_0x46441d['fLejf'])?(_0x46441d[_0x4a3200(0x146)](_0x46441d[_0x4a3200(0x17e)](_0x1a4511,_0x2523c7[_0x4a3200(0x178)](_0x46441d[_0x4a3200(0x17f)])),0x3)&&(this['config']['useW3C']=![]),_0x46441d['zRDAU'](_0x46441d['uKvbr'](_0x127ed7,_0x4e2a51[_0x4a3200(0x178)](_0x46441d[_0x4a3200(0x17f)])),4.5)&&(this[_0x4a3200(0x182)][_0x4a3200(0x129)]=!![])):this[_0x4a3200(0x182)][_0x4a3200(0x129)]=![]),_0x46441d[_0x4a3200(0x115)](_0x46441d['LcBqm'](parseInt,helper['getPackageVersion'](_0x46441d[_0x4a3200(0x17f)])),4.5)&&(_0x46441d[_0x4a3200(0x193)](_0x46441d[_0x4a3200(0x11e)],_0x46441d['MaKaa'])?this[_0x4a3200(0x182)][_0x4a3200(0x129)]=!![]:(_0x13152a[_0x4a3200(0x16f)](_0x5452ec[_0x4a3200(0x133)]),_0x463f3b['debug'](_0x4f099b[_0x4a3200(0x18c)](_0x867760)),this['unhandledErrors']['push'](_0x20a1c7[_0x4a3200(0x18c)]('%j',_0x4a5006))))):this[_0x4a3200(0x182)][_0x4a3200(0x14e)]={'localIdentifier':_0xb6c6e0[_0x4a3200(0x11d)]()});if(helper[_0x4a3200(0x14d)](this[_0x4a3200(0x182)][_0x4a3200(0x130)])||helper[_0x4a3200(0x14d)](this[_0x4a3200(0x182)][_0x4a3200(0x130)][_0x4a3200(0x196)])){if(_0x46441d[_0x4a3200(0x180)](_0x46441d[_0x4a3200(0x12a)],_0x46441d[_0x4a3200(0x12a)]))helper['isUndefined'](this[_0x4a3200(0x182)][_0x4a3200(0x10b)])?_0x46441d[_0x4a3200(0x193)](_0x46441d['qjsCq'],_0x46441d[_0x4a3200(0x110)])?_0x43b1d6['debug'](_0x4a3200(0x113)+_0x2d8a48):logger['info'](_0x46441d[_0x4a3200(0x17c)]):_0x46441d[_0x4a3200(0x167)](_0x46441d['LvEqt'],_0x46441d[_0x4a3200(0x13b)])?logger[_0x4a3200(0x185)](_0x46441d['mEYAk']):(_0x173770['env'][_0x4a3200(0x12d)]=_0x309fb2,_0x5caeeb['fireFunnelTestEvent'](_0x46441d[_0x4a3200(0x175)],{},this[_0x4a3200(0x182)],this[_0x4a3200(0x144)])),this['config']['platforms']=[];else throw new _0x33f140(_0x46441d[_0x4a3200(0x117)]);}!this[_0x4a3200(0x182)][_0x4a3200(0x14e)]&&(this[_0x4a3200(0x182)][_0x4a3200(0x14e)]=this[_0x4a3200(0x182)][_0x4a3200(0x143)]||{}),!this['config'][_0x4a3200(0x188)]&&(this[_0x4a3200(0x182)][_0x4a3200(0x188)]={});if(helper['isUndefined'](helper[_0x4a3200(0x19b)](this[_0x4a3200(0x182)]))||helper[_0x4a3200(0x14d)](helper[_0x4a3200(0x122)](this[_0x4a3200(0x182)]))){if(_0x46441d[_0x4a3200(0x186)](_0x46441d[_0x4a3200(0x10d)],_0x46441d[_0x4a3200(0x10d)]))_0x46441d[_0x4a3200(0x12f)](_0xc44926,_0x46441d['NatSW'])();else throw new Error(_0x46441d[_0x4a3200(0x117)]);}helper[_0x4a3200(0x165)](this[_0x4a3200(0x182)])&&helper['isUndefined'](helper[_0x4a3200(0x11f)](this[_0x4a3200(0x182)]))&&(_0x46441d[_0x4a3200(0x121)](_0x46441d[_0x4a3200(0x190)],_0x46441d[_0x4a3200(0x190)])?!helper['isUndefined'](this[_0x4a3200(0x182)][_0x4a3200(0x14e)])&&_0x46441d[_0x4a3200(0x19c)](this[_0x4a3200(0x182)][_0x4a3200(0x14e)]['constructor'],Object)?_0x46441d['HgRrV'](_0x46441d[_0x4a3200(0x132)],_0x46441d[_0x4a3200(0x14b)])?this[_0x4a3200(0x182)]['browserStackLocalOptions'][_0x4a3200(0x123)]=helper[_0x4a3200(0x11d)]():_0x3888a8['debug'](_0x4a3200(0x113)+_0x301bde):_0x46441d[_0x4a3200(0x13c)](_0x46441d['Papbj'],_0x46441d[_0x4a3200(0x13e)])?!_0x338bd5[_0x4a3200(0x14d)](this[_0x4a3200(0x182)][_0x4a3200(0x14e)])&&_0x46441d['ewqVw'](this['config'][_0x4a3200(0x14e)][_0x4a3200(0x12b)],_0x5b2ff5)?this[_0x4a3200(0x182)][_0x4a3200(0x14e)][_0x4a3200(0x123)]=_0x1c79d7[_0x4a3200(0x11d)]():this['config'][_0x4a3200(0x14e)]={'localIdentifier':_0x16702d['generateLocalIdentifier']()}:this[_0x4a3200(0x182)][_0x4a3200(0x14e)]={'localIdentifier':helper['generateLocalIdentifier']()}:_0x92a514[_0x4a3200(0x185)](_0x46441d['mEYAk']));helper['setLogLevel'](this[_0x4a3200(0x182)],this[_0x4a3200(0x145)],this['envConfig']),helper['setProxySettings'](this['config']);try{_0x46441d[_0x4a3200(0x19c)](_0x46441d[_0x4a3200(0x136)],_0x46441d['qRsFW'])?(_0x1f8060[_0x4a3200(0x171)][_0x4a3200(0x12d)]=_0x1cb7d0['_'][0x0],_0x40d50b[_0x4a3200(0x168)](_0x46441d[_0x4a3200(0x175)],{},this[_0x4a3200(0x182)],this[_0x4a3200(0x144)])):(process[_0x4a3200(0x171)][_0x4a3200(0x12d)]=_0xa2fdd1['_'][0x0],helper[_0x4a3200(0x168)](_0x46441d[_0x4a3200(0x175)],{},this['config'],this[_0x4a3200(0x144)]));}catch(_0x4a7f60){_0x46441d[_0x4a3200(0x167)](_0x46441d['eHhdc'],_0x46441d[_0x4a3200(0x173)])?logger[_0x4a3200(0x1a2)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x4a7f60):this[_0x4a3200(0x182)]['useW3C']=!![];}this['setupBrowserstackLocal'](),this['setupKeepAlive']();}['setupBrowserstackLocal'](){const _0x1720f0=a33_0x4920e1,_0x4e9bd4={};_0x4e9bd4[_0x1720f0(0x18f)]=_0x1720f0(0x17b),_0x4e9bd4[_0x1720f0(0x155)]=_0x1720f0(0x19d),_0x4e9bd4[_0x1720f0(0x161)]=_0x1720f0(0x19f),_0x4e9bd4[_0x1720f0(0x15f)]=function(_0x137b6e,_0x898c4c){return _0x137b6e===_0x898c4c;},_0x4e9bd4[_0x1720f0(0x114)]='IemJg',_0x4e9bd4[_0x1720f0(0x124)]=_0x1720f0(0x12e),_0x4e9bd4[_0x1720f0(0x14a)]=function(_0x4461f9,_0x3a292b){return _0x4461f9==_0x3a292b;},_0x4e9bd4[_0x1720f0(0x1a0)]=_0x1720f0(0x181),_0x4e9bd4[_0x1720f0(0x16a)]=_0x1720f0(0x149),_0x4e9bd4[_0x1720f0(0x135)]=function(_0x2559ef,_0x4fa2ee){return _0x2559ef==_0x4fa2ee;},_0x4e9bd4[_0x1720f0(0x11c)]=function(_0x294e9b,_0x541d65){return _0x294e9b!==_0x541d65;},_0x4e9bd4[_0x1720f0(0x116)]=_0x1720f0(0x199),_0x4e9bd4[_0x1720f0(0x17a)]='rAUaR',_0x4e9bd4[_0x1720f0(0x13f)]=_0x1720f0(0x134),_0x4e9bd4[_0x1720f0(0x1a1)]=_0x1720f0(0x184),_0x4e9bd4[_0x1720f0(0x195)]='SIGINT',_0x4e9bd4[_0x1720f0(0x10f)]=_0x1720f0(0x163),_0x4e9bd4[_0x1720f0(0x14c)]=_0x1720f0(0x141);const _0x38bf14=_0x4e9bd4;if(_0x38bf14['WLXUX'](this[_0x1720f0(0x182)][_0x1720f0(0x194)],!![])&&(!this[_0x1720f0(0x194)]||!this[_0x1720f0(0x194)]['isRunning']())){if(_0x38bf14[_0x1720f0(0x11c)](_0x38bf14['FHjel'],_0x38bf14['FHjel']))this['config'][_0x1720f0(0x14e)][_0x1720f0(0x123)]=_0x5bf9a7[_0x1720f0(0x11d)]();else try{if(_0x38bf14[_0x1720f0(0x11c)](_0x38bf14[_0x1720f0(0x17a)],_0x38bf14['Cjfbu']))try{_0x281a3b[_0x1720f0(0x171)][_0x1720f0(0x12d)]=_0x3954e8,_0x5d8167[_0x1720f0(0x168)](_0x38bf14['dsQxO'],{},this['config'],this[_0x1720f0(0x144)]);}catch(_0x322dd2){_0x5dcc49[_0x1720f0(0x1a2)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x322dd2);}else{this[_0x1720f0(0x194)]=helper['startLocalBinarySync'](this[_0x1720f0(0x182)]),logger['info'](_0x38bf14[_0x1720f0(0x13f)]);let _0x4fac88=0x0;const _0x2a9522=async()=>{const _0x300a85=_0x1720f0;if(_0x38bf14[_0x300a85(0x15f)](_0x38bf14['hUuyY'],_0x38bf14[_0x300a85(0x124)])){const _0x11558a=_0x1ae38c=>{const _0x509e25=_0x300a85;_0x5d54ed[_0x509e25(0x16f)](_0x1ae38c[_0x509e25(0x133)]),_0xc35bd0[_0x509e25(0x1a2)](_0xaf810d['format'](_0x1ae38c)),this[_0x509e25(0x137)][_0x509e25(0x170)](_0x405f7a['format']('%j',_0x1ae38c));};_0x6dd09b['on'](_0x38bf14[_0x300a85(0x155)],_0x11558a),_0x245012['on'](_0x38bf14[_0x300a85(0x161)],_0x11558a);}else _0x4fac88++,_0x38bf14[_0x300a85(0x14a)](_0x4fac88,0x1)&&await this[_0x300a85(0x147)]();};process['on'](_0x38bf14[_0x1720f0(0x1a1)],_0x2a9522),process['on'](_0x38bf14[_0x1720f0(0x195)],_0x2a9522),process['on'](_0x38bf14[_0x1720f0(0x10f)],_0x2a9522);}}catch(_0x51f96d){if(_0x38bf14[_0x1720f0(0x15f)](_0x38bf14[_0x1720f0(0x14c)],_0x38bf14[_0x1720f0(0x14c)])){logger[_0x1720f0(0x1a2)](_0x51f96d);throw new Error(_0x51f96d['toString']());}else _0x46f1a2['isUndefined'](this[_0x1720f0(0x182)][_0x1720f0(0x10b)])?_0x5aabd1[_0x1720f0(0x18a)](_0x38bf14[_0x1720f0(0x1a0)]):_0x6ff4c2[_0x1720f0(0x185)](_0x38bf14[_0x1720f0(0x16a)]),this[_0x1720f0(0x182)][_0x1720f0(0x130)]=[];}}}async[a33_0x4920e1(0x147)](){const _0x4abeed=a33_0x4920e1,_0x2538ac={};_0x2538ac[_0x4abeed(0x140)]=_0x4abeed(0x16c),_0x2538ac[_0x4abeed(0x10e)]=function(_0x161d26,_0x1f34b4){return _0x161d26!==_0x1f34b4;},_0x2538ac[_0x4abeed(0x131)]=_0x4abeed(0x152),_0x2538ac[_0x4abeed(0x157)]=_0x4abeed(0x11b),_0x2538ac[_0x4abeed(0x150)]=_0x4abeed(0x125);const _0x49aea9=_0x2538ac;if(this[_0x4abeed(0x194)]&&this[_0x4abeed(0x194)][_0x4abeed(0x151)]())try{_0x49aea9[_0x4abeed(0x10e)](_0x49aea9['CSqQe'],_0x49aea9[_0x4abeed(0x157)])?(await helper[_0x4abeed(0x15d)](this[_0x4abeed(0x194)]),logger['info'](_0x49aea9['cSADd'])):_0x5678fd[_0x4abeed(0x16f)](_0x49aea9[_0x4abeed(0x140)],_0x3386f0[_0x4abeed(0x133)]);}catch(_0x2e0eb7){logger[_0x4abeed(0x16f)](_0x49aea9[_0x4abeed(0x140)],_0x2e0eb7[_0x4abeed(0x133)]);}}async['setUpHubUrl'](){const _0x7318f0=a33_0x4920e1;await hubAllocator['allocateHub'](this[_0x7318f0(0x182)]);}[a33_0x4920e1(0x111)](){const _0xd0d2d7=a33_0x4920e1,_0x5ed582={'FSSpz':function(_0x514359,_0xa5ebdc){return _0x514359(_0xa5ebdc);},'fxzUU':_0xd0d2d7(0x119)};_0x5ed582['FSSpz'](require,_0x5ed582[_0xd0d2d7(0x154)])();}['handleExceptions'](){const _0x43599c=a33_0x4920e1,_0x3990bd={};_0x3990bd['MbCUd']=_0x43599c(0x19d),_0x3990bd[_0x43599c(0x192)]=_0x43599c(0x19f);const _0x4a0bf5=_0x3990bd,_0x1e21a1=_0x4c3038=>{const _0x33ad14=_0x43599c;logger[_0x33ad14(0x16f)](_0x4c3038[_0x33ad14(0x133)]),logger[_0x33ad14(0x1a2)](util[_0x33ad14(0x18c)](_0x4c3038)),this[_0x33ad14(0x137)][_0x33ad14(0x170)](util['format']('%j',_0x4c3038));};process['on'](_0x4a0bf5['MbCUd'],_0x1e21a1),process['on'](_0x4a0bf5[_0x43599c(0x192)],_0x1e21a1);}}exports[a33_0x4920e1(0x162)]=BrowserStackSetup;
|
|
1
|
+
const a33_0x200997=a33_0x485c;(function(_0x58b53b,_0x33de55){const _0x5df716=a33_0x485c,_0xd5af02=_0x58b53b();while(!![]){try{const _0x1ae839=parseInt(_0x5df716(0xdd))/0x1+parseInt(_0x5df716(0xfe))/0x2*(parseInt(_0x5df716(0xe3))/0x3)+-parseInt(_0x5df716(0xfd))/0x4+-parseInt(_0x5df716(0xa4))/0x5*(-parseInt(_0x5df716(0x13b))/0x6)+parseInt(_0x5df716(0x12b))/0x7*(parseInt(_0x5df716(0xe7))/0x8)+-parseInt(_0x5df716(0x12a))/0x9+-parseInt(_0x5df716(0x134))/0xa*(parseInt(_0x5df716(0xbb))/0xb);if(_0x1ae839===_0x33de55)break;else _0xd5af02['push'](_0xd5af02['shift']());}catch(_0x4c7832){_0xd5af02['push'](_0xd5af02['shift']());}}}(a33_0x1d6c,0x5727b));function a33_0x485c(_0x51be99,_0x4a6fce){const _0x1d6c3c=a33_0x1d6c();return a33_0x485c=function(_0x485c63,_0x322c3b){_0x485c63=_0x485c63-0xa0;let _0x2b60ca=_0x1d6c3c[_0x485c63];return _0x2b60ca;},a33_0x485c(_0x51be99,_0x4a6fce);}const util=require('util'),logger=require('./logger')['winstonLogger'],helper=require(a33_0x200997(0xee)),hubAllocator=require(a33_0x200997(0x11d)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');function a33_0x1d6c(){const _0xdcfa68=['qoEOd','Cliwr','selenium-webdriver','vBOCK','QPrSX','afoQc','QzwxU','nuSEE','setEnvCaps','isRunning','bMaiV','NvgSg','NDoGS','ayWSm','jQHbV','EcsRU','readConfig','PQxzB','eGliu','nTZPA','jyqyN','QRqCH','env','Local\x20binary\x20started\x20successfully','207661ylCXBQ','LatzZ','beforeExit','push','envConfig','yvXKX','3453eTNxpI','lVgwS','message','toString','88ldVTdM','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','NVhYN','setLogLevel','warn','EnbXl','handleExceptions','./helper','cliConfig','TLXnS','localIdentifier','IAJqo','FRAMEWORK','CXIXj','fireFunnelTestEvent','YlmFH','allocateHub','USlfE','eGytP','CTbMA','HACQM','KLqqH','387172cFBZFh','210ccvTIq','setCLICaps','rFglZ','default','setupBrowserstackLocal','./setKeepAlive','info','constructor','DTkKd','unhandledErrors','error','YNQZO','testContextOptions','config','xpCrT','parallelsPerPlatform','localOptions','IgApy','nGcxX','setUpHubUrl','qTHIv','xdHkW','SIGINT','wLyKv','wKYLM','UtwBs','isUndefined','requireSeleniumWebdriverCheck','Error\x20occured\x20while\x20stopping\x20local\x20binary','Pjszm','LqaTB','../hubAllocationMethods','generateLocalIdentifier','hjGQH','uncaughtException','getUserName','FbcXT','nQbfz','format','QsBCo','stopLocalBinary','PBQFA','eUPac','sanitizeCaps','1908270aPtqGc','148918xxUOSp','getConfigPath','BOFSc','stopBrowserstackLocal','quFto','heuma','NnYtC','LnjgQ','awezc','1008890gyHoFO','eISfj','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','platforms','yTllh','unhandledRejection','VSDOw','6bueSEi','iitlk','OrwxR','setupKeepAlive','MHNns','framework','2029735nYSjSn','browserStackLocalOptions','Local\x20binary\x20stopped','Uejdp','yDvyn','SccEP','KoWqh','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','No\x20config\x20provided.','YQGKY','SDKTestAttempted','zzddw','KWflb','FXaof','kWWIm','Lzfpv','ByKDX','useW3C','browserstackLocal','debug','BdBsp','ettwr','startLocalBinarySync','33HtNhSA','KZMJg','rMZTV','jSLdn','FZvfE','getPackageVersion','RDTBc','urVvQ','kFAEI','VMijY'];a33_0x1d6c=function(){return _0xdcfa68;};return a33_0x1d6c();}class BrowserStackSetup{constructor(_0x273364,_0x27397e){const _0x50f4f9=a33_0x200997,_0x5c617e={'IAJqo':function(_0x23071f,_0x31b0c4){return _0x23071f<_0x31b0c4;},'TLXnS':function(_0xbf67bd,_0x5bb43d){return _0xbf67bd(_0x5bb43d);},'quFto':_0x50f4f9(0xc7),'qoEOd':function(_0x3f595b,_0x28af9f){return _0x3f595b>=_0x28af9f;},'nTZPA':_0x50f4f9(0x139),'wKYLM':_0x50f4f9(0x120),'iitlk':_0x50f4f9(0x103),'USlfE':'userName\x20or\x20accessKey\x20is\x20not\x20defined','LatzZ':_0x50f4f9(0xab),'tiUoo':_0x50f4f9(0x11a),'QzwxU':_0x50f4f9(0xae),'urVvQ':_0x50f4f9(0x136),'SSLrv':_0x50f4f9(0xac),'xeYbe':function(_0x5d420b){return _0x5d420b();},'Uejdp':function(_0x4bd0dd,_0x49732a){return _0x4bd0dd===_0x49732a;},'yvXKX':_0x50f4f9(0xa9),'IgApy':'zDIJT','QRqCH':function(_0x3c38f0,_0x76e726){return _0x3c38f0===_0x76e726;},'Cliwr':'iqMjU','HACQM':'GrssJ','sEzXG':'ZNBTz','nQbfz':function(_0x4a6395){return _0x4a6395();},'NnYtC':function(_0xfb4f7f,_0x178767){return _0xfb4f7f===_0x178767;},'xdHkW':'psHNe','NPLYk':function(_0x175adf,_0x2eab73){return _0x175adf<_0x2eab73;},'LxWfK':function(_0x3136e7,_0x5e1ea6){return _0x3136e7(_0x5e1ea6);},'zzddw':function(_0x1029cf,_0x2e90fe){return _0x1029cf!==_0x2e90fe;},'kWWIm':_0x50f4f9(0xb0),'BdBsp':function(_0x5a4aac,_0x378637){return _0x5a4aac(_0x378637);},'QcsFD':function(_0x1c1e60,_0x5c0ee0){return _0x1c1e60===_0x5c0ee0;},'NvgSg':_0x50f4f9(0x115),'FXaof':_0x50f4f9(0xc9),'vBOCK':function(_0x3ea17f,_0x7d0e4b){return _0x3ea17f===_0x7d0e4b;},'tYNRn':'SXdwx','NVhYN':'CEOmG','xpCrT':_0x50f4f9(0xd9),'KCFUL':function(_0x5a7a32,_0x54bd2a){return _0x5a7a32===_0x54bd2a;},'WQLUd':_0x50f4f9(0xa0),'BOFSc':'BNKKe','Pjszm':_0x50f4f9(0xc4),'awezc':_0x50f4f9(0x11c),'eUPac':function(_0x2420e2,_0x1b341b){return _0x2420e2===_0x1b341b;},'Lzfpv':_0x50f4f9(0xf4),'rFglZ':'oJmtm','NDoGS':function(_0x35f392,_0xb5faf5){return _0x35f392!==_0xb5faf5;},'FZvfE':'zHjoj','MHNns':function(_0x2e7c43,_0x79a7e5){return _0x2e7c43===_0x79a7e5;},'PBQFA':_0x50f4f9(0xc3),'qXsav':function(_0x558852,_0x5c91c4){return _0x558852===_0x5c91c4;},'nuSEE':_0x50f4f9(0x117),'EnbXl':'LEWKU','bMaiV':_0x50f4f9(0xe4),'QsBCo':'CatGi'};this[_0x50f4f9(0x107)]=[],this[_0x50f4f9(0xef)]=helper[_0x50f4f9(0xff)](_0x273364),this[_0x50f4f9(0xe1)]=helper[_0x50f4f9(0xcd)](),this[_0x50f4f9(0xb6)]=null,this['config']=helper[_0x50f4f9(0xd5)](helper[_0x50f4f9(0x12c)](_0x273364)),global[_0x50f4f9(0x10b)]=this[_0x50f4f9(0x10b)],global['framework']=_0x27397e,helper[_0x50f4f9(0x129)](this[_0x50f4f9(0x10b)]),this[_0x50f4f9(0xa3)]=_0x27397e;if(helper[_0x50f4f9(0x118)](this[_0x50f4f9(0x10b)]))throw new Error(_0x5c617e['SSLrv']);if(this[_0x50f4f9(0x10b)]['error'])throw new Error(this['config'][_0x50f4f9(0x108)]);helper['getFinalCaps'](this['config'],this['cliConfig'],this[_0x50f4f9(0xe1)]),this[_0x50f4f9(0xed)]();if(!_0x5c617e['xeYbe'](isBrowserstackInfra)){if(_0x5c617e[_0x50f4f9(0xa7)](_0x5c617e[_0x50f4f9(0xe2)],_0x5c617e[_0x50f4f9(0x10f)]))this[_0x50f4f9(0x10b)][_0x50f4f9(0xa5)]={'localIdentifier':_0xb3a2be[_0x50f4f9(0x11e)]()};else try{_0x5c617e[_0x50f4f9(0xda)](_0x5c617e[_0x50f4f9(0xc6)],_0x5c617e[_0x50f4f9(0xc6)])?(process[_0x50f4f9(0xdb)]['FRAMEWORK']=_0x27397e,helper['fireFunnelTestEvent'](_0x5c617e[_0x50f4f9(0xcb)],{},this[_0x50f4f9(0x10b)],this[_0x50f4f9(0xa3)])):(_0x5c617e[_0x50f4f9(0xf2)](_0x5c617e[_0x50f4f9(0xf0)](_0x1a0e49,_0x49dbb9[_0x50f4f9(0xc0)](_0x5c617e[_0x50f4f9(0x12f)])),0x3)&&(this[_0x50f4f9(0x10b)][_0x50f4f9(0xb5)]=![]),_0x5c617e[_0x50f4f9(0xc5)](_0x5c617e[_0x50f4f9(0xf0)](_0x28bfe9,_0xd06663[_0x50f4f9(0xc0)](_0x5c617e['quFto'])),4.5)&&(this[_0x50f4f9(0x10b)][_0x50f4f9(0xb5)]=!![]));}catch(_0x38ebdd){if(_0x5c617e[_0x50f4f9(0xa7)](_0x5c617e[_0x50f4f9(0xfb)],_0x5c617e['sEzXG'])){const _0x59ba73=_0x2f24bd=>{const _0x2f79ab=_0x50f4f9;_0x5679f5[_0x2f79ab(0x108)](_0x2f24bd[_0x2f79ab(0xe5)]),_0x6339f2[_0x2f79ab(0xb7)](_0x1f52bb[_0x2f79ab(0x124)](_0x2f24bd)),this['unhandledErrors'][_0x2f79ab(0xe0)](_0x27c156[_0x2f79ab(0x124)]('%j',_0x2f24bd));};_0x259b33['on'](_0x5c617e[_0x50f4f9(0xd8)],_0x59ba73),_0x1d32ab['on'](_0x5c617e[_0x50f4f9(0x116)],_0x59ba73);}else logger[_0x50f4f9(0xb7)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x38ebdd);}}if(!_0x5c617e[_0x50f4f9(0x123)](isBrowserstackInfra))return;if(helper[_0x50f4f9(0x119)](_0x27397e)){if(_0x5c617e[_0x50f4f9(0x131)](_0x5c617e['xdHkW'],_0x5c617e[_0x50f4f9(0x113)]))_0x5c617e['NPLYk'](_0x5c617e['LxWfK'](parseInt,helper[_0x50f4f9(0xc0)](_0x5c617e[_0x50f4f9(0x12f)])),0x3)&&(_0x5c617e['zzddw'](_0x5c617e[_0x50f4f9(0xb2)],_0x5c617e[_0x50f4f9(0xb2)])?this['config'][_0x50f4f9(0xb5)]=!![]:this['config'][_0x50f4f9(0xb5)]=![]),_0x5c617e[_0x50f4f9(0xc5)](_0x5c617e[_0x50f4f9(0xb8)](parseInt,helper[_0x50f4f9(0xc0)](_0x5c617e[_0x50f4f9(0x12f)])),4.5)&&(_0x5c617e['QcsFD'](_0x5c617e[_0x50f4f9(0xd0)],_0x5c617e[_0x50f4f9(0xb1)])?_0x5c617e[_0x50f4f9(0xf0)](_0xf898cc,_0x5c617e[_0x50f4f9(0x13c)])():this[_0x50f4f9(0x10b)][_0x50f4f9(0xb5)]=!![]);else throw new _0x1422b7(_0x5c617e[_0x50f4f9(0xf8)]);}if(helper[_0x50f4f9(0x118)](this[_0x50f4f9(0x10b)][_0x50f4f9(0x137)])||helper[_0x50f4f9(0x118)](this['config']['platforms']['length'])){if(_0x5c617e[_0x50f4f9(0xc8)](_0x5c617e['tYNRn'],_0x5c617e[_0x50f4f9(0xe9)]))_0x5b485a[_0x50f4f9(0xb7)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x31b03c);else{if(helper[_0x50f4f9(0x118)](this[_0x50f4f9(0x10b)][_0x50f4f9(0x10d)]))_0x5c617e['vBOCK'](_0x5c617e['xpCrT'],_0x5c617e[_0x50f4f9(0x10c)])?logger[_0x50f4f9(0x104)](_0x5c617e[_0x50f4f9(0xde)]):_0x344cd8[_0x50f4f9(0x104)](_0x5c617e[_0x50f4f9(0xde)]);else{if(_0x5c617e['KCFUL'](_0x5c617e['WQLUd'],_0x5c617e[_0x50f4f9(0x12d)])){_0x394d23[_0x50f4f9(0xb7)](_0x6614fe);throw new _0x23af37(_0x453a4b['toString']());}else logger[_0x50f4f9(0xeb)](_0x5c617e[_0x50f4f9(0xc2)]);}this[_0x50f4f9(0x10b)]['platforms']=[];}}!this[_0x50f4f9(0x10b)]['browserStackLocalOptions']&&(this['config']['browserStackLocalOptions']=this[_0x50f4f9(0x10b)][_0x50f4f9(0x10e)]||{}),!this['config'][_0x50f4f9(0x10a)]&&(this['config'][_0x50f4f9(0x10a)]={});if(helper[_0x50f4f9(0x118)](helper[_0x50f4f9(0x121)](this[_0x50f4f9(0x10b)]))||helper['isUndefined'](helper['getAccessKey'](this['config']))){if(_0x5c617e[_0x50f4f9(0xaf)](_0x5c617e[_0x50f4f9(0x11b)],_0x5c617e[_0x50f4f9(0x133)]))throw new Error(_0x5c617e['USlfE']);else _0x4ad7f1['error'](_0x5c617e['tiUoo'],_0x1f9ef8[_0x50f4f9(0xe5)]);}helper['getLocalConfig'](this[_0x50f4f9(0x10b)])&&helper[_0x50f4f9(0x118)](helper['getLocalIdentifier'](this[_0x50f4f9(0x10b)]))&&(_0x5c617e[_0x50f4f9(0x128)](_0x5c617e[_0x50f4f9(0xb3)],_0x5c617e[_0x50f4f9(0x100)])?(_0x37668f[_0x50f4f9(0xdb)][_0x50f4f9(0xf3)]=_0x1a8502['_'][0x0],_0x29f4cb[_0x50f4f9(0xf5)](_0x5c617e[_0x50f4f9(0xcb)],{},this[_0x50f4f9(0x10b)],this[_0x50f4f9(0xa3)])):!helper[_0x50f4f9(0x118)](this[_0x50f4f9(0x10b)]['browserStackLocalOptions'])&&_0x5c617e[_0x50f4f9(0x131)](this[_0x50f4f9(0x10b)][_0x50f4f9(0xa5)][_0x50f4f9(0x105)],Object)?_0x5c617e['NDoGS'](_0x5c617e[_0x50f4f9(0xbf)],_0x5c617e['FZvfE'])?(_0xacabe2[_0x50f4f9(0x118)](this['config']['parallelsPerPlatform'])?_0x4a107b[_0x50f4f9(0x104)](_0x5c617e[_0x50f4f9(0xde)]):_0x2cb470[_0x50f4f9(0xeb)](_0x5c617e[_0x50f4f9(0xc2)]),this[_0x50f4f9(0x10b)][_0x50f4f9(0x137)]=[]):this[_0x50f4f9(0x10b)][_0x50f4f9(0xa5)][_0x50f4f9(0xf1)]=helper[_0x50f4f9(0x11e)]():_0x5c617e[_0x50f4f9(0xa2)](_0x5c617e[_0x50f4f9(0x127)],_0x5c617e[_0x50f4f9(0x127)])?this[_0x50f4f9(0x10b)]['browserStackLocalOptions']={'localIdentifier':helper[_0x50f4f9(0x11e)]()}:this[_0x50f4f9(0x10b)]['browserStackLocalOptions']['localIdentifier']=_0x265fd3[_0x50f4f9(0x11e)]());helper[_0x50f4f9(0xea)](this['config'],this[_0x50f4f9(0xef)],this[_0x50f4f9(0xe1)]),helper['setProxySettings'](this[_0x50f4f9(0x10b)]);try{_0x5c617e['qXsav'](_0x5c617e[_0x50f4f9(0xcc)],_0x5c617e[_0x50f4f9(0xec)])?(_0x4afcbc[_0x50f4f9(0xdb)]['FRAMEWORK']=_0x4953e6,_0x1be402[_0x50f4f9(0xf5)](_0x5c617e['QzwxU'],{},this[_0x50f4f9(0x10b)],this['framework'])):(process[_0x50f4f9(0xdb)][_0x50f4f9(0xf3)]=_0x273364['_'][0x0],helper[_0x50f4f9(0xf5)](_0x5c617e[_0x50f4f9(0xcb)],{},this[_0x50f4f9(0x10b)],this[_0x50f4f9(0xa3)]));}catch(_0x505753){_0x5c617e[_0x50f4f9(0xd1)](_0x5c617e[_0x50f4f9(0xcf)],_0x5c617e[_0x50f4f9(0x125)])?logger[_0x50f4f9(0xb7)](_0x50f4f9(0xe8)+_0x505753):_0x50d7c7['warn'](_0x5c617e[_0x50f4f9(0xc2)]);}this[_0x50f4f9(0x102)](),this[_0x50f4f9(0xa1)]();}[a33_0x200997(0x102)](){const _0x4e50e6=a33_0x200997,_0x5bbf14={};_0x5bbf14[_0x4e50e6(0xd2)]=function(_0x44521a,_0x3c7390){return _0x44521a===_0x3c7390;},_0x5bbf14[_0x4e50e6(0x132)]=function(_0x4b4483,_0x2871f1){return _0x4b4483===_0x2871f1;},_0x5bbf14[_0x4e50e6(0x110)]=_0x4e50e6(0x130),_0x5bbf14[_0x4e50e6(0xaa)]=function(_0x40df51,_0x29b98c){return _0x40df51==_0x29b98c;},_0x5bbf14[_0x4e50e6(0xbe)]=_0x4e50e6(0xd3),_0x5bbf14['eGliu']=_0x4e50e6(0x112),_0x5bbf14[_0x4e50e6(0xf6)]=function(_0x4744cd,_0x58f6f4){return _0x4744cd===_0x58f6f4;},_0x5bbf14[_0x4e50e6(0xc1)]=_0x4e50e6(0x106),_0x5bbf14[_0x4e50e6(0x11f)]=_0x4e50e6(0xdc),_0x5bbf14[_0x4e50e6(0xb9)]=_0x4e50e6(0xdf),_0x5bbf14['KZMJg']=_0x4e50e6(0x114),_0x5bbf14[_0x4e50e6(0xfc)]='SIGTERM',_0x5bbf14['YQGKY']=function(_0x1da0a1,_0x276667){return _0x1da0a1!==_0x276667;},_0x5bbf14['PQxzB']='RxnCn';const _0x164a9c=_0x5bbf14;if(_0x164a9c[_0x4e50e6(0xaa)](this[_0x4e50e6(0x10b)][_0x4e50e6(0xb6)],!![])&&(!this[_0x4e50e6(0xb6)]||!this[_0x4e50e6(0xb6)][_0x4e50e6(0xce)]())){if(_0x164a9c[_0x4e50e6(0xd2)](_0x164a9c[_0x4e50e6(0xbe)],_0x164a9c[_0x4e50e6(0xd7)]))_0x12ab75[_0x4e50e6(0xb7)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x172b61);else try{if(_0x164a9c['YlmFH'](_0x164a9c['RDTBc'],_0x164a9c[_0x4e50e6(0xc1)])){this[_0x4e50e6(0xb6)]=helper[_0x4e50e6(0xba)](this[_0x4e50e6(0x10b)]),logger[_0x4e50e6(0x104)](_0x164a9c[_0x4e50e6(0x11f)]);let _0x538fe2=0x0;const _0x53ecb3=async()=>{const _0x375038=_0x4e50e6,_0x41af96={'YNQZO':function(_0x81273,_0xcc3383){const _0x49d037=a33_0x485c;return _0x164a9c[_0x49d037(0xd2)](_0x81273,_0xcc3383);}};_0x164a9c[_0x375038(0x132)](_0x164a9c[_0x375038(0x110)],_0x164a9c[_0x375038(0x110)])?(_0x538fe2++,_0x164a9c[_0x375038(0xaa)](_0x538fe2,0x1)&&await this[_0x375038(0x12e)]()):!_0x55070c['isUndefined'](this[_0x375038(0x10b)][_0x375038(0xa5)])&&_0x41af96[_0x375038(0x109)](this[_0x375038(0x10b)]['browserStackLocalOptions'][_0x375038(0x105)],_0x3c7b91)?this['config'][_0x375038(0xa5)][_0x375038(0xf1)]=_0x3f2e2a[_0x375038(0x11e)]():this[_0x375038(0x10b)]['browserStackLocalOptions']={'localIdentifier':_0x487ea5[_0x375038(0x11e)]()};};process['on'](_0x164a9c[_0x4e50e6(0xb9)],_0x53ecb3),process['on'](_0x164a9c[_0x4e50e6(0xbc)],_0x53ecb3),process['on'](_0x164a9c[_0x4e50e6(0xfc)],_0x53ecb3);}else this['config']['useW3C']=![];}catch(_0xd87c02){if(_0x164a9c[_0x4e50e6(0xad)](_0x164a9c[_0x4e50e6(0xd6)],_0x164a9c['PQxzB']))_0x4090a8[_0x4e50e6(0x108)](_0x3a9f1e[_0x4e50e6(0xe5)]),_0x5d9a61[_0x4e50e6(0xb7)](_0x1a79d2[_0x4e50e6(0x124)](_0x3d2a50)),this[_0x4e50e6(0x107)][_0x4e50e6(0xe0)](_0x4bdd0a['format']('%j',_0x1bd33e));else{logger['debug'](_0xd87c02);throw new Error(_0xd87c02[_0x4e50e6(0xe6)]());}}}}async[a33_0x200997(0x12e)](){const _0x356c14=a33_0x200997,_0x3b73e3={};_0x3b73e3[_0x356c14(0x138)]=_0x356c14(0xae),_0x3b73e3[_0x356c14(0xf9)]=function(_0x5b4efc,_0xb21fb1){return _0x5b4efc!==_0xb21fb1;},_0x3b73e3[_0x356c14(0x122)]=_0x356c14(0xca),_0x3b73e3[_0x356c14(0x135)]='chybP',_0x3b73e3['EcsRU']=_0x356c14(0xa6),_0x3b73e3['rMZTV']=_0x356c14(0x11a);const _0x2c1b65=_0x3b73e3;if(this[_0x356c14(0xb6)]&&this[_0x356c14(0xb6)][_0x356c14(0xce)]())try{if(_0x2c1b65['eGytP'](_0x2c1b65[_0x356c14(0x122)],_0x2c1b65['eISfj']))await helper[_0x356c14(0x126)](this[_0x356c14(0xb6)]),logger[_0x356c14(0x104)](_0x2c1b65[_0x356c14(0xd4)]);else try{_0x2b55f7['env'][_0x356c14(0xf3)]=_0xfaa0c,_0x21a830['fireFunnelTestEvent'](_0x2c1b65['yTllh'],{},this[_0x356c14(0x10b)],this[_0x356c14(0xa3)]);}catch(_0x4da401){_0x3993f9[_0x356c14(0xb7)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x4da401);}}catch(_0x25dfbc){logger[_0x356c14(0x108)](_0x2c1b65[_0x356c14(0xbd)],_0x25dfbc[_0x356c14(0xe5)]);}}async[a33_0x200997(0x111)](){const _0x2b9119=a33_0x200997;await hubAllocator[_0x2b9119(0xf7)](this[_0x2b9119(0x10b)]);}[a33_0x200997(0xa1)](){const _0x1dff04=a33_0x200997,_0x5eca25={'yDvyn':function(_0x5754f7,_0x18106f){return _0x5754f7(_0x18106f);},'CTbMA':_0x1dff04(0x103)};_0x5eca25[_0x1dff04(0xa8)](require,_0x5eca25[_0x1dff04(0xfa)])();}[a33_0x200997(0xed)](){const _0x3bd91b=a33_0x200997,_0x31f310={};_0x31f310[_0x3bd91b(0x13a)]=_0x3bd91b(0x139),_0x31f310[_0x3bd91b(0xb4)]=_0x3bd91b(0x120);const _0x39a4a6=_0x31f310,_0x462270=_0x3cc7c8=>{const _0x2b85b8=_0x3bd91b;logger[_0x2b85b8(0x108)](_0x3cc7c8[_0x2b85b8(0xe5)]),logger[_0x2b85b8(0xb7)](util['format'](_0x3cc7c8)),this[_0x2b85b8(0x107)][_0x2b85b8(0xe0)](util['format']('%j',_0x3cc7c8));};process['on'](_0x39a4a6[_0x3bd91b(0x13a)],_0x462270),process['on'](_0x39a4a6[_0x3bd91b(0xb4)],_0x462270);}}exports[a33_0x200997(0x101)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a34_0x530fef=a34_0x41a2;function a34_0x41a2(_0x2bd550,_0x201bdc){var _0x41b48c=a34_0x41b4();return a34_0x41a2=function(_0x41a210,_0x4a70f7){_0x41a210=_0x41a210-0x1a7;var _0x4d8bf0=_0x41b48c[_0x41a210];return _0x4d8bf0;},a34_0x41a2(_0x2bd550,_0x201bdc);}function a34_0x41b4(){var _0x1511d2=['browserstack.userName','egMhO','1008712JXEBtd','BROWSERSTACK_AUTOMATION','BhZUn','10407018RyzJOj','UFtGT','BROWSERSTACK_BUILD_NAME','accessKey','browserstack.rerunTests','PsAit','wgkyH','VsquP','rerunTests','pXHnC','loyag','JAjCW','localIdentifier','browserstack.buildIdentifier','213688nnYuhe','buildIdentifier','browserstackLocal','browserstack.access_key','ylRvG','browserstack.automation','BROWSERSTACK_PROJECT_NAME','LtPoa','6lLliJN','9GdShzZ','browserstack.local','Pmrpp','buildName','parallelsPerPlatform','HuEFZ','YPurn','CLICapsMapping','vLWrv','app','25uLUryg','projectName','userName','browserstack.app','36654150RLJaUH','jADcL','BROWSERSTACK_ACCESS_KEY','browserstack.accessKey','447357UYNbDY','JCCdN','348572HmBKXA','browserstack.buildName','automation','WiEMN','BROWSERSTACK_LOCAL','BROWSERSTACK_APP','mZoLZ','JBZOl','browserstack.localIdentifier','stymh','ESgNe','YZubN','ISPlV','BROWSERSTACK_USER_NAME','EnvCapsMapping','kfhGm','8287811TqaRXT','logLevel','DoXBw'];a34_0x41b4=function(){return _0x1511d2;};return a34_0x41b4();}(function(_0x5539c7,_0x377a65){var _0x45c55c=a34_0x41a2,_0x56eaf7=_0x5539c7();while(!![]){try{var _0x3680b6=-parseInt(_0x45c55c(0x1bf))/0x1+-parseInt(_0x45c55c(0x1aa))/0x2*(-parseInt(_0x45c55c(0x1bd))/0x3)+-parseInt(_0x45c55c(0x1e5))/0x4*(-parseInt(_0x45c55c(0x1b5))/0x5)+-parseInt(_0x45c55c(0x1d7))/0x6+-parseInt(_0x45c55c(0x1cf))/0x7+-parseInt(_0x45c55c(0x1d4))/0x8*(parseInt(_0x45c55c(0x1ab))/0x9)+parseInt(_0x45c55c(0x1b9))/0xa;if(_0x3680b6===_0x377a65)break;else _0x56eaf7['push'](_0x56eaf7['shift']());}catch(_0x2e9a8a){_0x56eaf7['push'](_0x56eaf7['shift']());}}}(a34_0x41b4,0xf0e79),exports[a34_0x530fef(0x1b2)]=()=>{var _0x359087=a34_0x530fef,_0x39a3cf={};_0x39a3cf['mBmyA']='browserstack.user_name',_0x39a3cf[_0x359087(0x1cb)]=_0x359087(0x1d2),_0x39a3cf[_0x359087(0x1d3)]=_0x359087(0x1e8),_0x39a3cf['wgkyH']=_0x359087(0x1bc),_0x39a3cf[_0x359087(0x1d1)]=_0x359087(0x1c0),_0x39a3cf[_0x359087(0x1d6)]='browserstack.projectName',_0x39a3cf[_0x359087(0x1ce)]=_0x359087(0x1e4),_0x39a3cf[_0x359087(0x1be)]='browserstack.ppp',_0x39a3cf[_0x359087(0x1de)]='browserstack.parallelsPerPlatform',_0x39a3cf[_0x359087(0x1e1)]=_0x359087(0x1ac),_0x39a3cf['JAjCW']=_0x359087(0x1c7),_0x39a3cf[_0x359087(0x1c5)]=_0x359087(0x1db),_0x39a3cf['Pmrpp']=_0x359087(0x1b8),_0x39a3cf[_0x359087(0x1c6)]='browserstack.logLevel',_0x39a3cf[_0x359087(0x1ba)]=_0x359087(0x1a7);var _0x421c40=_0x39a3cf,_0x2b4b4f={};return _0x2b4b4f['userName']=[_0x421c40['mBmyA'],_0x421c40[_0x359087(0x1cb)]],_0x2b4b4f[_0x359087(0x1da)]=[_0x421c40[_0x359087(0x1d3)],_0x421c40[_0x359087(0x1dd)]],_0x2b4b4f[_0x359087(0x1ae)]=[_0x421c40[_0x359087(0x1d1)]],_0x2b4b4f[_0x359087(0x1b6)]=[_0x421c40['BhZUn']],_0x2b4b4f['buildIdentifier']=[_0x421c40['kfhGm']],_0x2b4b4f[_0x359087(0x1af)]=[_0x421c40['JCCdN'],_0x421c40['VsquP']],_0x2b4b4f[_0x359087(0x1e7)]=[_0x421c40[_0x359087(0x1e1)]],_0x2b4b4f[_0x359087(0x1e3)]=[_0x421c40[_0x359087(0x1e2)]],_0x2b4b4f[_0x359087(0x1df)]=[_0x421c40[_0x359087(0x1c5)]],_0x2b4b4f[_0x359087(0x1b4)]=[_0x421c40[_0x359087(0x1ad)]],_0x2b4b4f[_0x359087(0x1d0)]=[_0x421c40['JBZOl']],_0x2b4b4f[_0x359087(0x1c1)]=[_0x421c40[_0x359087(0x1ba)]],_0x2b4b4f;},exports[a34_0x530fef(0x1cd)]=()=>{var _0x2a30e5=a34_0x530fef,_0x53131d={};_0x53131d[_0x2a30e5(0x1dc)]='BROWSERSTACK_USERNAME',_0x53131d[_0x2a30e5(0x1c2)]=_0x2a30e5(0x1cc),_0x53131d['ukuNi']=_0x2a30e5(0x1bb),_0x53131d[_0x2a30e5(0x1ca)]=_0x2a30e5(0x1d9),_0x53131d[_0x2a30e5(0x1d8)]=_0x2a30e5(0x1a8),_0x53131d['ylRvG']='BROWSERSTACK_BUILD_IDENTIFIER',_0x53131d[_0x2a30e5(0x1b1)]='BROWSERSTACK_PARALLELS_PER_PLATFORM',_0x53131d[_0x2a30e5(0x1b0)]=_0x2a30e5(0x1c3),_0x53131d[_0x2a30e5(0x1c9)]='BROWSERSTACK_LOCAL_IDENTIFIER',_0x53131d[_0x2a30e5(0x1a9)]='BROWSERSTACK_RERUN_TESTS',_0x53131d[_0x2a30e5(0x1b3)]=_0x2a30e5(0x1c4),_0x53131d[_0x2a30e5(0x1c8)]='BROWSERSTACK_OBSERVABILITY_DEBUG',_0x53131d[_0x2a30e5(0x1e0)]=_0x2a30e5(0x1d5);var _0x4d69e4=_0x53131d,_0xb6a821={};return _0xb6a821[_0x2a30e5(0x1b7)]=[_0x4d69e4['PsAit'],_0x4d69e4['WiEMN']],_0xb6a821[_0x2a30e5(0x1da)]=[_0x4d69e4['ukuNi']],_0xb6a821[_0x2a30e5(0x1ae)]=[_0x4d69e4[_0x2a30e5(0x1ca)]],_0xb6a821[_0x2a30e5(0x1b6)]=[_0x4d69e4[_0x2a30e5(0x1d8)]],_0xb6a821[_0x2a30e5(0x1e6)]=[_0x4d69e4[_0x2a30e5(0x1e9)]],_0xb6a821['parallelsPerPlatform']=[_0x4d69e4['YPurn']],_0xb6a821[_0x2a30e5(0x1e7)]=[_0x4d69e4['HuEFZ']],_0xb6a821[_0x2a30e5(0x1e3)]=[_0x4d69e4['ESgNe']],_0xb6a821[_0x2a30e5(0x1df)]=[_0x4d69e4[_0x2a30e5(0x1a9)]],_0xb6a821[_0x2a30e5(0x1b4)]=[_0x4d69e4[_0x2a30e5(0x1b3)]],_0xb6a821[_0x2a30e5(0x1d0)]=[_0x4d69e4[_0x2a30e5(0x1c8)]],_0xb6a821[_0x2a30e5(0x1c1)]=[_0x4d69e4['pXHnC']],_0xb6a821;});
|