browserstack-node-sdk 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customEnvironment.js +1 -1
- package/src/bin/jest/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/constants.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/helper.js +1 -1
- package/src/bin/mocha/test-observability/requestQueueHandler.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x4ce4b2=a30_0x809e;(function(_0xacb972,_0x35f0a6){const _0x403482=a30_0x809e,_0x1ea413=_0xacb972();while(!![]){try{const _0x5c8610=-parseInt(_0x403482(0x1a1))/0x1*(-parseInt(_0x403482(0x18b))/0x2)+-parseInt(_0x403482(0x1a6))/0x3*(parseInt(_0x403482(0x191))/0x4)+-parseInt(_0x403482(0x196))/0x5*(parseInt(_0x403482(0x19c))/0x6)+parseInt(_0x403482(0x198))/0x7+parseInt(_0x403482(0x18f))/0x8*(parseInt(_0x403482(0x192))/0x9)+parseInt(_0x403482(0x19f))/0xa+parseInt(_0x403482(0x194))/0xb*(-parseInt(_0x403482(0x190))/0xc);if(_0x5c8610===_0x35f0a6)break;else _0x1ea413['push'](_0x1ea413['shift']());}catch(_0x226c30){_0x1ea413['push'](_0x1ea413['shift']());}}}(a30_0x3609,0xbedc7));const Transport=require(a30_0x4ce4b2(0x1a5)),{consoleHolder}=require(a30_0x4ce4b2(0x18e)),a30_0x4fe158={};a30_0x4fe158[a30_0x4ce4b2(0x195)]=a30_0x4ce4b2(0x195),a30_0x4fe158[a30_0x4ce4b2(0x1a3)]='ERROR',a30_0x4fe158[a30_0x4ce4b2(0x18a)]='DEBUG',a30_0x4fe158[a30_0x4ce4b2(0x197)]=a30_0x4ce4b2(0x197),a30_0x4fe158[a30_0x4ce4b2(0x186)]=a30_0x4ce4b2(0x186);function a30_0x809e(_0x47c6db,_0x451748){const _0x360906=a30_0x3609();return a30_0x809e=function(_0x809e53,_0x3393ec){_0x809e53=_0x809e53-0x186;let _0x5aed08=_0x360906[_0x809e53];return _0x5aed08;},a30_0x809e(_0x47c6db,_0x451748);}const LOG_LEVELS=a30_0x4fe158;class logPatcher extends Transport{constructor(_0x280af3){super(_0x280af3);}[a30_0x4ce4b2(0x1a7)]=(_0x321d2e=LOG_LEVELS[a30_0x4ce4b2(0x195)],_0x2d4061=[''])=>{const _0x16ac0b=a30_0x4ce4b2,_0x178d9f={};_0x178d9f[_0x16ac0b(0x19e)]='TEST_LOG';const _0x48805b=_0x178d9f;consoleHolder[_0x321d2e[_0x16ac0b(0x1a4)]()](..._0x2d4061),process[_0x16ac0b(0x1a2)]('bs:addLog:'+process[_0x16ac0b(0x18d)],{'timestamp':new Date()[_0x16ac0b(0x19a)](),'level':_0x321d2e[_0x16ac0b(0x19d)](),'message':'\x22'+_0x2d4061[_0x16ac0b(0x1a0)](',\x20')+'\x22','kind':_0x48805b[_0x16ac0b(0x19e)],'http_response':{}});};[a30_0x4ce4b2(0x189)]=(..._0x14fe6f)=>{const _0x1e46b2=a30_0x4ce4b2;this[_0x1e46b2(0x1a7)](LOG_LEVELS['TRACE'],_0x14fe6f);};[a30_0x4ce4b2(0x187)]=(..._0x32322a)=>{const _0x501855=a30_0x4ce4b2;this[_0x501855(0x1a7)](LOG_LEVELS['DEBUG'],_0x32322a);};[a30_0x4ce4b2(0x193)]=(..._0x383430)=>{const _0x5a678c=a30_0x4ce4b2;this[_0x5a678c(0x1a7)](LOG_LEVELS[_0x5a678c(0x195)],_0x383430);};[a30_0x4ce4b2(0x199)]=(..._0x40f328)=>{const _0x1661cf=a30_0x4ce4b2;this[_0x1661cf(0x1a7)](LOG_LEVELS['WARN'],_0x40f328);};[a30_0x4ce4b2(0x18c)]=(..._0x56f62f)=>{const _0x48abe7=a30_0x4ce4b2;this['logToTestOps'](LOG_LEVELS[_0x48abe7(0x1a3)],_0x56f62f);};[a30_0x4ce4b2(0x188)]=(..._0x2ca5fc)=>{const _0xf00c39=a30_0x4ce4b2;this[_0xf00c39(0x1a7)](LOG_LEVELS[_0xf00c39(0x195)],_0x2ca5fc);};};function a30_0x3609(){const _0x3f6086=['27095112wfqWyP','188KUBPgW','303147CmBsGD','info','11fdRJOG','INFO','10JFUakP','TRACE','9834650dnmlVY','warn','toISOString','exports','2607636ORpeyN','toUpperCase','CDiHs','5605680rpYCoB','join','581029mtzywT','emit','ERROR','toLowerCase','winston-transport','44727ZwwYFj','logToTestOps','WARN','debug','log','trace','DEBUG','4RgYJko','error','pid','../mocha/test-observability/constants','352KaWLfI'];a30_0x3609=function(){return _0x3f6086;};return a30_0x3609();}module[a30_0x4ce4b2(0x19b)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a31_0x4be1(){const _0x50e699=['../mocha/test-observability/constants','dYeJh','logToTestOps','DEBUG','2SpmnLi','zGJIg','message','TbJMo','plSjY','QSQit','error','1146693SvxgBg','exports','debug','seXLF','psEKG','winston-transport','SVlBb','7aYmKAq','58502620UefsoQ','TEST_LOG','9395604ANWhAt','info','emit','4125160EnRKoW','object','CeYNC','dZpFx','trace','2009616nJmhjB','CeeZV','toUpperCase','vxIGx','246164ZMGQWo','logged','warn','WARN','toLowerCase','mwNRY','27pQEeLm','INFO','AVtOo','ERROR','aGqvd','7761895VjRADy','sGgKH'];a31_0x4be1=function(){return _0x50e699;};return a31_0x4be1();}const a31_0x13edbf=a31_0x4204;(function(_0x2d1426,_0x2cc83b){const _0x4f1449=a31_0x4204,_0x47c52d=_0x2d1426();while(!![]){try{const _0xd8bb34=parseInt(_0x4f1449(0x1e1))/0x1+parseInt(_0x4f1449(0x1c4))/0x2*(-parseInt(_0x4f1449(0x1cb))/0x3)+-parseInt(_0x4f1449(0x1d8))/0x4+-parseInt(_0x4f1449(0x1ec))/0x5+-parseInt(_0x4f1449(0x1d5))/0x6*(parseInt(_0x4f1449(0x1d2))/0x7)+parseInt(_0x4f1449(0x1dd))/0x8*(-parseInt(_0x4f1449(0x1e7))/0x9)+parseInt(_0x4f1449(0x1d3))/0xa;if(_0xd8bb34===_0x2cc83b)break;else _0x47c52d['push'](_0x47c52d['shift']());}catch(_0x5ac2d4){_0x47c52d['push'](_0x47c52d['shift']());}}}(a31_0x4be1,0xc5fea));const Transport=require(a31_0x13edbf(0x1d0)),{consoleHolder}=require(a31_0x13edbf(0x1ee)),a31_0x368e8f={};a31_0x368e8f[a31_0x13edbf(0x1e8)]=a31_0x13edbf(0x1e8),a31_0x368e8f[a31_0x13edbf(0x1ea)]=a31_0x13edbf(0x1ea),a31_0x368e8f[a31_0x13edbf(0x1c3)]=a31_0x13edbf(0x1c3),a31_0x368e8f['TRACE']='TRACE',a31_0x368e8f[a31_0x13edbf(0x1e4)]=a31_0x13edbf(0x1e4);const LOG_LEVELS=a31_0x368e8f;class logReportingAPI extends Transport{constructor(_0x4c411b){super(_0x4c411b);}['log'](_0xeeaf91,_0x4d5205){const _0x5d0f45=a31_0x13edbf,_0x41e3e8={'CeYNC':function(_0x45f94b,_0x37485b){return _0x45f94b(_0x37485b);},'QSQit':function(_0x519719,_0x5e989f){return _0x519719===_0x5e989f;},'dZpFx':_0x5d0f45(0x1d9),'mwNRY':function(_0x27980b){return _0x27980b();},'IayKD':_0x5d0f45(0x1e2),'wKYps':function(_0x531eef,_0x2588ee){return _0x531eef!==_0x2588ee;},'aGqvd':_0x5d0f45(0x1c8),'TbJMo':_0x5d0f45(0x1e0),'seXLF':_0x5d0f45(0x1ef),'zGJIg':_0x5d0f45(0x1d1),'CeeZV':function(_0x11c8a7,_0x334552){return _0x11c8a7===_0x334552;},'sGgKH':'uxzUY'};_0x41e3e8[_0x5d0f45(0x1da)](setImmediate,()=>{const _0x40de05=_0x5d0f45,_0x4fc2ec={};_0x4fc2ec['psEKG']=_0x41e3e8['IayKD'];const _0x3c69bc=_0x4fc2ec;if(_0x41e3e8['wKYps'](_0x41e3e8[_0x40de05(0x1eb)],_0x41e3e8[_0x40de05(0x1c7)]))this[_0x40de05(0x1d7)](_0x41e3e8['IayKD'],_0xeeaf91);else{_0x41e3e8[_0x40de05(0x1da)](_0x49cd40,()=>{const _0x5e7ad4=_0x40de05;this['emit'](_0x3c69bc[_0x5e7ad4(0x1cf)],_0x629bc2);});_0x41e3e8[_0x40de05(0x1c9)](typeof _0x520951,_0x41e3e8[_0x40de05(0x1db)])?this[_0x40de05(0x1f0)](_0x1a038d['level']||_0x373fe3[_0x40de05(0x1e8)],_0x37748d['message'],![]):this[_0x40de05(0x1f0)](_0x46e693[_0x40de05(0x1e8)],_0x2e59d4);if(_0xeab93b)_0x41e3e8['mwNRY'](_0x22dcaf);}});_0x41e3e8['QSQit'](typeof _0xeeaf91,_0x41e3e8[_0x5d0f45(0x1db)])?_0x41e3e8['wKYps'](_0x41e3e8[_0x5d0f45(0x1ce)],_0x41e3e8[_0x5d0f45(0x1c5)])?this[_0x5d0f45(0x1f0)](_0xeeaf91['level']||LOG_LEVELS[_0x5d0f45(0x1e8)],_0xeeaf91[_0x5d0f45(0x1c6)],![]):this['logToTestOps'](_0x3974f2[_0x5d0f45(0x1c3)],_0x3c5dd2):_0x41e3e8[_0x5d0f45(0x1de)](_0x41e3e8[_0x5d0f45(0x1ed)],_0x41e3e8[_0x5d0f45(0x1ed)])?this[_0x5d0f45(0x1f0)](LOG_LEVELS[_0x5d0f45(0x1e8)],_0xeeaf91):this[_0x5d0f45(0x1f0)](_0x44b50b[_0x5d0f45(0x1e8)],_0x126881);if(_0x4d5205)_0x41e3e8[_0x5d0f45(0x1e6)](_0x4d5205);}[a31_0x13edbf(0x1f0)]=(_0x19e6b4=LOG_LEVELS[a31_0x13edbf(0x1e8)],_0x373947='',_0xaffc64=!![])=>{const _0x5e5b18=a31_0x13edbf,_0x4fdd63={};_0x4fdd63[_0x5e5b18(0x1e9)]=_0x5e5b18(0x1d4);const _0x23d1d0=_0x4fdd63;if(_0xaffc64)consoleHolder[_0x19e6b4[_0x5e5b18(0x1e5)]()](_0x373947);process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()['toISOString'](),'level':_0x19e6b4[_0x5e5b18(0x1df)](),'message':_0x373947,'kind':_0x23d1d0[_0x5e5b18(0x1e9)],'http_response':{}});};[a31_0x13edbf(0x1dc)]=(_0x2417ac,_0x49d337)=>{const _0x127127=a31_0x13edbf;this[_0x127127(0x1f0)](LOG_LEVELS['TRACE'],_0x2417ac);};[a31_0x13edbf(0x1cd)]=(_0x225723,_0x4f0eb9)=>{const _0x50b205=a31_0x13edbf;this[_0x50b205(0x1f0)](LOG_LEVELS[_0x50b205(0x1c3)],_0x225723);};[a31_0x13edbf(0x1d6)]=(_0x9aa29c,_0x95ef9c)=>{const _0x97a154=a31_0x13edbf;this[_0x97a154(0x1f0)](LOG_LEVELS[_0x97a154(0x1e8)],_0x9aa29c);};[a31_0x13edbf(0x1e3)]=(_0x10d274,_0x3280d1)=>{const _0x440006=a31_0x13edbf;this[_0x440006(0x1f0)](LOG_LEVELS[_0x440006(0x1e4)],_0x10d274);};[a31_0x13edbf(0x1ca)]=(_0x1a0a3b,_0x14634)=>{const _0x3ea968=a31_0x13edbf;this[_0x3ea968(0x1f0)](LOG_LEVELS[_0x3ea968(0x1ea)],_0x1a0a3b);};}function a31_0x4204(_0xfa3e4d,_0x4f2b33){const _0x4be1ae=a31_0x4be1();return a31_0x4204=function(_0x42043d,_0x56bd18){_0x42043d=_0x42043d-0x1c3;let _0x53d777=_0x4be1ae[_0x42043d];return _0x53d777;},a31_0x4204(_0xfa3e4d,_0x4f2b33);};module[a31_0x13edbf(0x1cc)]=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a32_0x41311a=a32_0x56e1;function a32_0x56e1(_0x12ac2b,_0x273410){const _0x30ee06=a32_0x30ee();return a32_0x56e1=function(_0x56e152,_0x58b368){_0x56e152=_0x56e152-0x1da;let _0x152f12=_0x30ee06[_0x56e152];return _0x152f12;},a32_0x56e1(_0x12ac2b,_0x273410);}(function(_0x496618,_0x445df5){const _0x9cf4a0=a32_0x56e1,_0x576cd5=_0x496618();while(!![]){try{const _0x124307=parseInt(_0x9cf4a0(0x1e1))/0x1+parseInt(_0x9cf4a0(0x1f3))/0x2+parseInt(_0x9cf4a0(0x1eb))/0x3+-parseInt(_0x9cf4a0(0x208))/0x4+parseInt(_0x9cf4a0(0x20a))/0x5*(parseInt(_0x9cf4a0(0x1dd))/0x6)+parseInt(_0x9cf4a0(0x203))/0x7*(parseInt(_0x9cf4a0(0x1ff))/0x8)+-parseInt(_0x9cf4a0(0x218))/0x9;if(_0x124307===_0x445df5)break;else _0x576cd5['push'](_0x576cd5['shift']());}catch(_0xbfe872){_0x576cd5['push'](_0x576cd5['shift']());}}}(a32_0x30ee,0x2223b));const fs=require('fs'),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a32_0x41311a(0x1f2)),constants=require('../utils/constants'),{parallelVanillaRun}=require('../test-runner');async function run(_0x4f6121,_0x1e7384){const _0x42d29c=a32_0x41311a,_0x31a3d8={'zeZXc':_0x42d29c(0x1f5),'MHufY':function(_0x1d47ee,_0x3d6476){return _0x1d47ee!==_0x3d6476;},'QdhAh':'QVpid','KtxeK':function(_0x570c95,_0xbd1968){return _0x570c95!==_0xbd1968;},'ecyea':_0x42d29c(0x1f4),'dDeDw':function(_0x4ee120,_0x30c887){return _0x4ee120(_0x30c887);},'cLdLM':_0x42d29c(0x1de),'BAgAa':function(_0x3a6a5b,_0x332819){return _0x3a6a5b(_0x332819);},'maDWG':function(_0x4d3da6,_0x55738c){return _0x4d3da6(_0x55738c);},'puVXI':_0x42d29c(0x1fd),'zhacT':function(_0x424fec,_0x44d771){return _0x424fec>_0x44d771;},'fPKkB':function(_0x389b0a,_0x53732b){return _0x389b0a===_0x53732b;},'ZiAUx':_0x42d29c(0x205),'mXSuN':_0x42d29c(0x1e0),'VOvsD':function(_0x4f42f0,_0x4c33a3){return _0x4f42f0>_0x4c33a3;},'miewi':_0x42d29c(0x212),'zOxSL':function(_0x15ef6c,_0x110764){return _0x15ef6c!==_0x110764;},'IFHOp':_0x42d29c(0x20d),'sizlw':_0x42d29c(0x1ef),'Zesrd':function(_0x3a55d5,_0x2ffa47){return _0x3a55d5*_0x2ffa47;},'OlOlJ':function(_0x4591ce,_0x37b7b9,_0x5117c6){return _0x4591ce(_0x37b7b9,_0x5117c6);}},_0x20f486=new BrowserStackSetup(_0x4f6121,_0x31a3d8[_0x42d29c(0x1f7)]);let _0x3e42fb=[];if(helper[_0x42d29c(0x20f)](_0x4f6121['_'][0x1]))throw _0x31a3d8[_0x42d29c(0x1fe)](Error,_0x31a3d8[_0x42d29c(0x1e4)]);const _0x595042=path[_0x42d29c(0x1e3)](process[_0x42d29c(0x213)](),_0x4f6121['_'][0x1]);if(!fs[_0x42d29c(0x215)](_0x595042))throw _0x31a3d8['BAgAa'](Error,_0x42d29c(0x1df)+_0x4f6121['_'][0x1]+_0x42d29c(0x1f6));if(!_0x20f486[_0x42d29c(0x1e2)])throw _0x31a3d8[_0x42d29c(0x1e5)](Error,_0x31a3d8[_0x42d29c(0x209)]);let _0x4ea084=helper[_0x42d29c(0x207)](_0x20f486[_0x42d29c(0x1e2)]);if(_0x20f486[_0x42d29c(0x1e2)][_0x42d29c(0x1ec)]&&_0x31a3d8[_0x42d29c(0x20c)](_0x20f486['config'][_0x42d29c(0x1ec)][_0x42d29c(0x20e)],0x0)){if(_0x31a3d8['fPKkB'](_0x31a3d8[_0x42d29c(0x1ed)],_0x31a3d8[_0x42d29c(0x200)])){if(_0x3a5c0f)_0xc3def6[_0x42d29c(0x216)](_0x1952d8['modifyBrowserStackW3CCaps'](_0x23e87c[_0x42d29c(0x1e2)],_0x31a3d8[_0x42d29c(0x1f7)],_0x115e0b));else _0xa5870[_0x42d29c(0x216)](_0xd5cd6e[_0x42d29c(0x1f9)](_0x21dc06['config'],_0x31a3d8[_0x42d29c(0x1f7)],_0x499d5e));}else _0x20f486[_0x42d29c(0x1e2)]['platforms']['forEach']((_0x2d2aee,_0x50725c)=>{const _0x462a52=_0x42d29c;if(_0x31a3d8[_0x462a52(0x206)](_0x31a3d8[_0x462a52(0x1fa)],_0x31a3d8[_0x462a52(0x1fa)]))_0x3cf169[_0x462a52(0x1f0)](_0x4940a7=>{const _0x51fbf9=_0x462a52;_0x191b3e={'server':_0xe508a4[_0x51fbf9(0x202)],'proxySettings':_0x371eca[_0x51fbf9(0x1e2)][_0x51fbf9(0x1da)],'platform':_0x3f3864[_0x51fbf9(0x204)](_0x4940a7)};const _0x1d5844={'capability':_0x4940a7,..._0x3dc373};_0x1d5844['file']=_0x4d307a,_0x1d5844[_0x51fbf9(0x1dc)]=_0x2c515c;const _0x6285d8={};_0x6285d8['configuration']=_0x1d5844,_0x2039df=_0x6285d8,_0x4f7a21[_0x51fbf9(0x216)](_0x3d85c4);});else{if(_0x4ea084)_0x3e42fb[_0x462a52(0x216)](helper['modifyBrowserStackW3CCaps'](_0x20f486['config'],_0x31a3d8['zeZXc'],_0x50725c));else _0x3e42fb['push'](helper['modifyBrowserStackCaps'](_0x20f486[_0x462a52(0x1e2)],_0x31a3d8[_0x462a52(0x1f7)],_0x50725c));}});}let _0x15e329,_0x2df911;const _0x2ae02e=[];if(_0x31a3d8['VOvsD'](_0x3e42fb[_0x42d29c(0x20e)],0x0)){if(_0x31a3d8[_0x42d29c(0x1e9)](_0x31a3d8['miewi'],_0x31a3d8[_0x42d29c(0x217)])){let _0x36ee30;if(_0x31c452)_0x36ee30=_0x51a116[_0x42d29c(0x1e6)](_0x26a713[_0x42d29c(0x1e2)],_0x31a3d8[_0x42d29c(0x1f7)],0x0);else _0x36ee30=_0x4fdfaa[_0x42d29c(0x1f9)](_0x4d9e35[_0x42d29c(0x1e2)],_0x31a3d8[_0x42d29c(0x1f7)],0x0);const _0xdd6ed={};_0xdd6ed[_0x42d29c(0x214)]=_0x3ee6ad[_0x42d29c(0x202)],_0xdd6ed['proxySettings']=_0x281f2f[_0x42d29c(0x1e2)]['proxySettings'],_0x25af94=_0xdd6ed;const _0x439998={'capability':_0x36ee30,..._0xd2ce43};_0x439998[_0x42d29c(0x201)]=_0x4673a4,_0x439998[_0x42d29c(0x1dc)]=_0x25c01a;const _0x2327da={};_0x2327da[_0x42d29c(0x1db)]=_0x439998,_0x1b362d=_0x2327da,_0x187b50[_0x42d29c(0x216)](_0x32f868);}else _0x3e42fb[_0x42d29c(0x1f0)](_0x215958=>{const _0x38e69a=_0x42d29c;if(_0x31a3d8[_0x38e69a(0x1e9)](_0x31a3d8[_0x38e69a(0x20b)],_0x31a3d8[_0x38e69a(0x20b)])){_0x4102a2={'server':_0x2f73f3[_0x38e69a(0x202)],'proxySettings':_0x142a51[_0x38e69a(0x1e2)][_0x38e69a(0x1da)],'platform':_0x377fab[_0x38e69a(0x204)](_0x436df1)};const _0xcabb7c={'capability':_0x1e8e71,..._0x4c9e3a};_0xcabb7c[_0x38e69a(0x201)]=_0x143c28,_0xcabb7c['args']=_0x296e34;const _0x4e9449={};_0x4e9449[_0x38e69a(0x1db)]=_0xcabb7c,_0x5ea6ee=_0x4e9449,_0xa0aa7[_0x38e69a(0x216)](_0x18987a);}else{_0x15e329={'server':constants[_0x38e69a(0x202)],'proxySettings':_0x20f486[_0x38e69a(0x1e2)][_0x38e69a(0x1da)],'platform':helper[_0x38e69a(0x204)](_0x215958)};const _0x4db571={'capability':_0x215958,..._0x15e329};_0x4db571[_0x38e69a(0x201)]=_0x595042,_0x4db571['args']=_0x1e7384;const _0x10c0da={};_0x10c0da[_0x38e69a(0x1db)]=_0x4db571,_0x2df911=_0x10c0da,_0x2ae02e[_0x38e69a(0x216)](_0x2df911);}});}else{if(_0x31a3d8[_0x42d29c(0x1fc)](_0x31a3d8[_0x42d29c(0x1fb)],_0x31a3d8[_0x42d29c(0x1f1)])){let _0x14b821;if(_0x4ea084)_0x14b821=helper[_0x42d29c(0x1e6)](_0x20f486[_0x42d29c(0x1e2)],_0x31a3d8[_0x42d29c(0x1f7)],0x0);else _0x14b821=helper[_0x42d29c(0x1f9)](_0x20f486['config'],_0x31a3d8[_0x42d29c(0x1f7)],0x0);const _0x3601b8={};_0x3601b8[_0x42d29c(0x214)]=constants[_0x42d29c(0x202)],_0x3601b8[_0x42d29c(0x1da)]=_0x20f486[_0x42d29c(0x1e2)]['proxySettings'],_0x15e329=_0x3601b8;const _0x1f6003={'capability':_0x14b821,..._0x15e329};_0x1f6003[_0x42d29c(0x201)]=_0x595042,_0x1f6003['args']=_0x1e7384;const _0x41c90b={};_0x41c90b[_0x42d29c(0x1db)]=_0x1f6003,_0x2df911=_0x41c90b,_0x2ae02e[_0x42d29c(0x216)](_0x2df911);}else{const _0xb82a32={};_0xb82a32[_0x42d29c(0x1e7)]=_0x31a3d8[_0x42d29c(0x1f7)];const _0x464a7a=_0xb82a32;_0x7e4b86['config'][_0x42d29c(0x1ec)][_0x42d29c(0x1f0)]((_0x2b11ea,_0x4bc267)=>{const _0x34aeee=_0x42d29c;if(_0x43fd93)_0x45f121[_0x34aeee(0x216)](_0x1a9ca8[_0x34aeee(0x1e6)](_0x1d07f1[_0x34aeee(0x1e2)],_0x464a7a[_0x34aeee(0x1e7)],_0x4bc267));else _0x556876['push'](_0x4704c8[_0x34aeee(0x1f9)](_0x2351a8[_0x34aeee(0x1e2)],_0x464a7a['nPVAk'],_0x4bc267));});}}const _0x4ce8e3=_0x31a3d8[_0x42d29c(0x1ea)](_0x20f486[_0x42d29c(0x1e2)]['platforms'][_0x42d29c(0x20e)]||0x1,_0x20f486[_0x42d29c(0x1e2)]['parallelsPerPlatform']);_0x31a3d8[_0x42d29c(0x1f8)](parallelVanillaRun,_0x2ae02e,_0x4ce8e3)[_0x42d29c(0x1ee)](_0x4db5f1=>{})[_0x42d29c(0x211)](async()=>{const _0x2a7fa2=_0x42d29c;await helper[_0x2a7fa2(0x210)](_0x20f486);});}module[a32_0x41311a(0x1e8)]=run;function a32_0x30ee(){const _0x48d41e=['cLdLM','maDWG','modifyBrowserStackW3CCaps','nPVAk','exports','KtxeK','Zesrd','640692UpeVpI','platforms','ZiAUx','then','poduP','forEach','sizlw','../../helpers/helper','329398ecNdTe','lsqgi','vanilla','\x20doesn\x27t\x20exist','zeZXc','OlOlJ','modifyBrowserStackCaps','QdhAh','IFHOp','zOxSL','Config\x20yml\x20is\x20required','dDeDw','56vSbWdT','mXSuN','file','hubUrl','198898OpeNBj','getPlatformName','aYVPz','MHufY','useW3C','363336AvDDSQ','puVXI','10dejIbg','ecyea','zhacT','XCwPn','length','isUndefined','finalExecution','finally','nyFap','cwd','server','existsSync','push','miewi','6360417vckvEv','proxySettings','configuration','args','735510FbyfpA','File\x20path\x20is\x20required','File\x20','XjiUC','115051ujgyTc','config','join'];a32_0x30ee=function(){return _0x48d41e;};return a32_0x30ee();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a33_0xac2259=a33_0x5a06;(function(_0x25723e,_0x3560de){const _0x447af9=a33_0x5a06,_0x45150b=_0x25723e();while(!![]){try{const _0x124bbc=-parseInt(_0x447af9(0x10e))/0x1+parseInt(_0x447af9(0x120))/0x2+-parseInt(_0x447af9(0x116))/0x3*(-parseInt(_0x447af9(0xbc))/0x4)+parseInt(_0x447af9(0x146))/0x5+-parseInt(_0x447af9(0xb3))/0x6*(-parseInt(_0x447af9(0x119))/0x7)+-parseInt(_0x447af9(0x104))/0x8+-parseInt(_0x447af9(0xfe))/0x9;if(_0x124bbc===_0x3560de)break;else _0x45150b['push'](_0x45150b['shift']());}catch(_0x462bee){_0x45150b['push'](_0x45150b['shift']());}}}(a33_0x2a24,0xd2dae));const logger=require(a33_0xac2259(0xab))[a33_0xac2259(0xb0)],helper=require('./helper'),Constants=require(a33_0xac2259(0xaf)),{isBrowserstackInfra}=require(a33_0xac2259(0x136));class BrowserStackSetup{constructor(_0x5cc219,_0x364025){const _0x375f76=a33_0xac2259,_0x5e3a62={'hifZt':_0x375f76(0x14c),'LQaPp':_0x375f76(0xfd),'xmXPg':_0x375f76(0xec),'yeLBn':'userName\x20or\x20accessKey\x20is\x20not\x20defined','XYsAG':_0x375f76(0x114),'Soslu':_0x375f76(0x117),'konho':_0x375f76(0x14b),'vDKVA':function(_0x14e333,_0x506bba){return _0x14e333===_0x506bba;},'guDAt':function(_0x5476bd,_0x25b0b6){return _0x5476bd(_0x25b0b6);},'DyqYV':_0x375f76(0x131),'TOmkQ':_0x375f76(0x130),'bYnhQ':function(_0x3a5e6e){return _0x3a5e6e();},'PBqyd':function(_0x4eaa9a,_0x209d36){return _0x4eaa9a!==_0x209d36;},'PzwUy':_0x375f76(0xcf),'PRbpS':_0x375f76(0x13b),'bnXoo':function(_0x2eedce,_0x581771){return _0x2eedce!==_0x581771;},'xMnyy':_0x375f76(0x102),'ywYbl':_0x375f76(0x145),'LMrcx':_0x375f76(0x148),'oIJbQ':'OwvXl','bVpaa':function(_0x55373f,_0x4e67a2){return _0x55373f<_0x4e67a2;},'RNdwA':function(_0x2ea661,_0x540839){return _0x2ea661(_0x540839);},'zhfhH':_0x375f76(0xb1),'GWKAH':_0x375f76(0xeb),'NgIfy':function(_0x1b69ec,_0x10c81a){return _0x1b69ec>=_0x10c81a;},'IMJes':_0x375f76(0xc0),'eipTk':_0x375f76(0x125),'LcmeI':_0x375f76(0x118),'MuFEn':'aDQnX','GrQXQ':'Gzzjo','NXYNM':_0x375f76(0xf8),'qKBfh':_0x375f76(0xda),'tgupy':function(_0xef140d,_0x3829f5){return _0xef140d!==_0x3829f5;},'NviTX':_0x375f76(0xbd),'MkvPt':_0x375f76(0x110),'CEwtj':'fggMw','fbTYl':function(_0x32dbd8,_0x402302){return _0x32dbd8===_0x402302;},'WQCNO':function(_0x3533e5,_0x507d22){return _0x3533e5===_0x507d22;},'RHzgj':'aEMBu','SXaFb':_0x375f76(0xd5),'PnbDq':'vLRar','tbJlW':_0x375f76(0xe0),'HvdgM':function(_0x32e651,_0x2a341e){return _0x32e651!==_0x2a341e;},'bksZZ':'sZSRK','NkUFa':_0x375f76(0xe9),'FaNlz':_0x375f76(0x127)};this[_0x375f76(0x141)]=helper['setCLICaps'](_0x5cc219),this[_0x375f76(0x105)]=helper['setEnvCaps'](),this[_0x375f76(0xc1)]=null,this['config']=helper['readConfig'](helper[_0x375f76(0xbe)](_0x5cc219)),helper[_0x375f76(0x133)](this[_0x375f76(0x10b)]),this['framework']=_0x364025;if(helper[_0x375f76(0xd6)](this['config']))throw new Error(_0x5e3a62[_0x375f76(0xc3)]);if(this['config'][_0x375f76(0xd9)])throw new Error(this[_0x375f76(0x10b)]['error']);helper[_0x375f76(0x139)](this[_0x375f76(0x10b)],this['cliConfig'],this['envConfig']),this[_0x375f76(0xe6)]();if(!_0x5e3a62[_0x375f76(0x12f)](isBrowserstackInfra)){if(_0x5e3a62[_0x375f76(0xe8)](_0x5e3a62[_0x375f76(0xed)],_0x5e3a62['PRbpS']))try{if(_0x5e3a62[_0x375f76(0x106)](_0x5e3a62[_0x375f76(0xc8)],_0x5e3a62['xMnyy'])){const _0x5a8eda=_0x2b69ec=>{const _0x86776f=_0x375f76;_0x4687b3[_0x86776f(0xd9)](_0x2b69ec[_0x86776f(0xb8)]),_0x5b6ea2[_0x86776f(0x149)](_0x2b69ec);const _0x35fcb4={};_0x35fcb4[_0x86776f(0xd9)]=_0x2b69ec[_0x86776f(0xb8)];const _0x3a9f7f=_0x35fcb4;try{_0x7c4cba[_0x86776f(0x14a)](_0x5e3a62[_0x86776f(0xcc)],_0x3a9f7f,this[_0x86776f(0x10b)],this[_0x86776f(0x103)]);}catch(_0x5dce25){_0x3685f8[_0x86776f(0x149)](_0x86776f(0xf6)+_0x5dce25);}};_0x13a909['on'](_0x5e3a62[_0x375f76(0xe5)],_0x5a8eda),_0x116660['on'](_0x5e3a62[_0x375f76(0xe3)],_0x5a8eda);}else process[_0x375f76(0xdb)][_0x375f76(0x123)]=_0x364025,helper[_0x375f76(0x14a)](_0x5e3a62['konho'],{},this[_0x375f76(0x10b)],this[_0x375f76(0x103)]);}catch(_0x51e0b6){_0x5e3a62[_0x375f76(0x106)](_0x5e3a62[_0x375f76(0xf3)],_0x5e3a62[_0x375f76(0xba)])?logger[_0x375f76(0x149)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x51e0b6):this[_0x375f76(0x10b)]['browserStackLocalOptions'][_0x375f76(0xbf)]=_0x2af982[_0x375f76(0xb4)]();}else throw new _0x2b593c(_0x5e3a62[_0x375f76(0x137)]);}if(!_0x5e3a62[_0x375f76(0x12f)](isBrowserstackInfra))return;helper[_0x375f76(0xf0)](_0x364025)&&(_0x5e3a62[_0x375f76(0x10d)](_0x5e3a62[_0x375f76(0x11c)],_0x5e3a62[_0x375f76(0x11c)])?(_0x5e3a62[_0x375f76(0x11b)](_0x5e3a62['RNdwA'](parseInt,helper[_0x375f76(0xac)](_0x5e3a62[_0x375f76(0x11f)])),0x3)&&(_0x5e3a62['bnXoo'](_0x5e3a62['GWKAH'],_0x5e3a62[_0x375f76(0x115)])?_0x298ec8[_0x375f76(0x149)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x3564e0):this[_0x375f76(0x10b)][_0x375f76(0x10a)]=![]),_0x5e3a62[_0x375f76(0xee)](_0x5e3a62[_0x375f76(0x128)](parseInt,helper[_0x375f76(0xac)](_0x5e3a62[_0x375f76(0x11f)])),4.5)&&(_0x5e3a62[_0x375f76(0x106)](_0x5e3a62[_0x375f76(0x10f)],_0x5e3a62[_0x375f76(0xd1)])?this[_0x375f76(0x10b)][_0x375f76(0x10a)]=!![]:this[_0x375f76(0x10b)][_0x375f76(0x147)]={'localIdentifier':_0x5e4295[_0x375f76(0xb4)]()})):(_0xfe6dd['isUndefined'](this[_0x375f76(0x10b)][_0x375f76(0x13f)])?_0x4a4782[_0x375f76(0x138)](_0x5e3a62['XYsAG']):_0x49ef16['warn'](_0x5e3a62[_0x375f76(0x12a)]),this[_0x375f76(0x10b)]['platforms']=[]));if(helper[_0x375f76(0xd6)](this['config']['platforms'])||helper[_0x375f76(0xd6)](this[_0x375f76(0x10b)][_0x375f76(0x10c)]['length'])){if(_0x5e3a62[_0x375f76(0x10d)](_0x5e3a62[_0x375f76(0x134)],_0x5e3a62[_0x375f76(0x134)])){if(helper[_0x375f76(0xd6)](this[_0x375f76(0x10b)][_0x375f76(0x13f)])){if(_0x5e3a62[_0x375f76(0x10d)](_0x5e3a62[_0x375f76(0xb7)],_0x5e3a62[_0x375f76(0x121)]))try{_0x279caa[_0x375f76(0xdb)][_0x375f76(0x123)]=_0x3a5a85,_0x3ef597[_0x375f76(0x14a)](_0x5e3a62['konho'],{},this['config'],this['framework']);}catch(_0x16b52d){_0x5c178d[_0x375f76(0x149)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x16b52d);}else logger['info'](_0x5e3a62[_0x375f76(0xf2)]);}else _0x5e3a62[_0x375f76(0x10d)](_0x5e3a62['NXYNM'],_0x5e3a62[_0x375f76(0xd0)])?_0x43959e['fireFunnelTestEvent'](_0x5e3a62[_0x375f76(0xcc)],_0x38e92e,this[_0x375f76(0x10b)],this[_0x375f76(0x103)]):logger[_0x375f76(0xe4)](_0x5e3a62[_0x375f76(0x12a)]);this['config'][_0x375f76(0x10c)]=[];}else _0x162835[_0x375f76(0xdb)][_0x375f76(0x123)]=_0x318563,_0x3f4dfc['fireFunnelTestEvent'](_0x5e3a62['konho'],{},this[_0x375f76(0x10b)],this[_0x375f76(0x103)]);}!this[_0x375f76(0x10b)][_0x375f76(0x147)]&&(this[_0x375f76(0x10b)][_0x375f76(0x147)]=this[_0x375f76(0x10b)][_0x375f76(0x100)]||{});if(helper['isUndefined'](helper[_0x375f76(0xdd)](this[_0x375f76(0x10b)]))||helper['isUndefined'](helper[_0x375f76(0x135)](this[_0x375f76(0x10b)]))){if(_0x5e3a62[_0x375f76(0xd3)](_0x5e3a62[_0x375f76(0xf1)],_0x5e3a62['NviTX']))_0x3340b6[_0x375f76(0xe4)](_0x5e3a62[_0x375f76(0x12a)]);else throw new Error(_0x5e3a62[_0x375f76(0x137)]);}if(helper[_0x375f76(0x11e)](this[_0x375f76(0x10b)])&&helper[_0x375f76(0xd6)](helper[_0x375f76(0xe1)](this[_0x375f76(0x10b)]))){if(_0x5e3a62[_0x375f76(0x10d)](_0x5e3a62[_0x375f76(0x109)],_0x5e3a62['CEwtj'])){_0x410f87['error'](_0x31cbc4[_0x375f76(0xb8)]),_0x3c335c[_0x375f76(0x149)](_0x27d02c);const _0x5ba906={};_0x5ba906[_0x375f76(0xd9)]=_0xe797a7['message'];const _0x4d2570=_0x5ba906;try{_0x1977e8[_0x375f76(0x14a)](_0x5e3a62[_0x375f76(0xcc)],_0x4d2570,this[_0x375f76(0x10b)],this[_0x375f76(0x103)]);}catch(_0x109baf){_0x556c84[_0x375f76(0x149)](_0x375f76(0xf6)+_0x109baf);}}else!helper['isUndefined'](this[_0x375f76(0x10b)][_0x375f76(0x147)])&&_0x5e3a62['fbTYl'](this[_0x375f76(0x10b)][_0x375f76(0x147)][_0x375f76(0xce)],Object)?_0x5e3a62[_0x375f76(0x12c)](_0x5e3a62[_0x375f76(0xdf)],_0x5e3a62[_0x375f76(0xfc)])?!_0x3ead35[_0x375f76(0xd6)](this[_0x375f76(0x10b)][_0x375f76(0x147)])&&_0x5e3a62[_0x375f76(0x10d)](this[_0x375f76(0x10b)][_0x375f76(0x147)][_0x375f76(0xce)],_0x3aad90)?this[_0x375f76(0x10b)]['browserStackLocalOptions']['localIdentifier']=_0x445cc0[_0x375f76(0xb4)]():this[_0x375f76(0x10b)][_0x375f76(0x147)]={'localIdentifier':_0x4b7586[_0x375f76(0xb4)]()}:this[_0x375f76(0x10b)][_0x375f76(0x147)]['localIdentifier']=helper[_0x375f76(0xb4)]():_0x5e3a62['bnXoo'](_0x5e3a62[_0x375f76(0xad)],_0x5e3a62[_0x375f76(0x13e)])?this[_0x375f76(0x10b)][_0x375f76(0x147)]={'localIdentifier':helper[_0x375f76(0xb4)]()}:_0x5ce5d4[_0x375f76(0x138)](_0x5e3a62['XYsAG']);}helper[_0x375f76(0xf4)](this[_0x375f76(0x10b)],this[_0x375f76(0x141)],this[_0x375f76(0x105)]),helper[_0x375f76(0xca)](this['config']);try{_0x5e3a62[_0x375f76(0x14e)](_0x5e3a62['bksZZ'],_0x5e3a62[_0x375f76(0x101)])?_0x5e3a62[_0x375f76(0xff)](_0x3c53a6,_0x5e3a62[_0x375f76(0xbb)])():(process[_0x375f76(0xdb)][_0x375f76(0x123)]=_0x5cc219['_'][0x0],helper[_0x375f76(0x14a)](_0x5e3a62[_0x375f76(0x13a)],{},this['config'],this['framework']));}catch(_0xb0aced){_0x5e3a62['vDKVA'](_0x5e3a62['NkUFa'],_0x5e3a62[_0x375f76(0xd2)])?_0x576776[_0x375f76(0x149)](_0x375f76(0x129)+_0x49d912):logger[_0x375f76(0x149)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0xb0aced);}this[_0x375f76(0x11a)](),this[_0x375f76(0xb2)]();}[a33_0xac2259(0x11a)](){const _0x4ee04c=a33_0xac2259,_0x433674={};_0x433674[_0x4ee04c(0xcd)]='Error\x20occured\x20while\x20stopping\x20local\x20binary',_0x433674[_0x4ee04c(0x12e)]=_0x4ee04c(0x14b),_0x433674[_0x4ee04c(0x11d)]=function(_0x1529a3,_0x2d6a1d){return _0x1529a3!==_0x2d6a1d;},_0x433674[_0x4ee04c(0x132)]=_0x4ee04c(0xe2),_0x433674['DxMJM']=_0x4ee04c(0xcb),_0x433674[_0x4ee04c(0x113)]=function(_0x3d5cf6,_0x530102){return _0x3d5cf6==_0x530102;},_0x433674[_0x4ee04c(0xc6)]=function(_0x3843ac,_0x3d9710){return _0x3843ac==_0x3d9710;},_0x433674[_0x4ee04c(0xef)]=function(_0x4b4463,_0x51ef69){return _0x4b4463!==_0x51ef69;},_0x433674['Ldrvm']=_0x4ee04c(0xc4),_0x433674[_0x4ee04c(0x13d)]=function(_0x1c7ce8,_0x5a4c51){return _0x1c7ce8===_0x5a4c51;},_0x433674['TTSxF']='OHajp',_0x433674['rzHNs']='aLRzp',_0x433674[_0x4ee04c(0xfa)]='Local\x20binary\x20started\x20successfully',_0x433674['asSrQ']=_0x4ee04c(0xd7),_0x433674['yYyOU']=_0x4ee04c(0xfb),_0x433674['VGosG']=_0x4ee04c(0xf9),_0x433674['UOMDV']=_0x4ee04c(0xd4),_0x433674[_0x4ee04c(0xd8)]=_0x4ee04c(0x12b);const _0x25ceba=_0x433674;if(_0x25ceba[_0x4ee04c(0xc6)](this[_0x4ee04c(0x10b)][_0x4ee04c(0xc1)],!![])&&(!this['browserstackLocal']||!this[_0x4ee04c(0xc1)][_0x4ee04c(0x142)]())){if(_0x25ceba[_0x4ee04c(0xef)](_0x25ceba[_0x4ee04c(0xc9)],_0x25ceba[_0x4ee04c(0xc9)]))_0x404378[_0x4ee04c(0xd9)](_0x25ceba[_0x4ee04c(0xcd)],_0x46072c['message']);else try{if(_0x25ceba['RbEQd'](_0x25ceba['TTSxF'],_0x25ceba['rzHNs']))_0x5b1987[_0x4ee04c(0xdb)][_0x4ee04c(0x123)]=_0xfc4a40['_'][0x0],_0xd50231['fireFunnelTestEvent'](_0x25ceba['vVxhl'],{},this['config'],this[_0x4ee04c(0x103)]);else{this[_0x4ee04c(0xc1)]=helper[_0x4ee04c(0xb6)](this[_0x4ee04c(0x10b)]),logger[_0x4ee04c(0x138)](_0x25ceba[_0x4ee04c(0xfa)]);let _0x4eabc3=0x0;const _0x3c4cb4=async()=>{const _0x3ec7eb=_0x4ee04c;_0x25ceba[_0x3ec7eb(0x11d)](_0x25ceba[_0x3ec7eb(0x132)],_0x25ceba[_0x3ec7eb(0xae)])?(_0x4eabc3++,_0x25ceba[_0x3ec7eb(0x113)](_0x4eabc3,0x1)&&await this[_0x3ec7eb(0x13c)]()):_0x5e2ee2[_0x3ec7eb(0x149)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x755786);};process['on'](_0x25ceba['asSrQ'],_0x3c4cb4),process['on'](_0x25ceba[_0x4ee04c(0x112)],_0x3c4cb4),process['on'](_0x25ceba[_0x4ee04c(0x140)],_0x3c4cb4);}}catch(_0x2da177){if(_0x25ceba[_0x4ee04c(0x13d)](_0x25ceba[_0x4ee04c(0xdc)],_0x25ceba[_0x4ee04c(0xd8)])){_0x433f57['debug'](_0x5645ea);throw new _0x51b825(_0x566f2c['toString']());}else{logger['debug'](_0x2da177);throw new Error(_0x2da177[_0x4ee04c(0x122)]());}}}}async[a33_0xac2259(0x13c)](){const _0x2bb73d=a33_0xac2259,_0x140260={'qITvp':function(_0x220e63,_0x30bdc5){return _0x220e63<_0x30bdc5;},'tcpRJ':function(_0x357e9c,_0x365ddb){return _0x357e9c(_0x365ddb);},'QjDaW':_0x2bb73d(0xb1),'orxMH':function(_0x54001f,_0x458875){return _0x54001f>=_0x458875;},'OlxQi':function(_0x5ac20b,_0x40f3b7){return _0x5ac20b!==_0x40f3b7;},'MYOoh':_0x2bb73d(0x126),'IwFVD':function(_0x367c45,_0x19af02){return _0x367c45!==_0x19af02;},'cEQRz':_0x2bb73d(0x14d),'NXqCM':_0x2bb73d(0xc2),'ZzBbM':function(_0x222203,_0xf4831a){return _0x222203===_0xf4831a;},'pwiHJ':_0x2bb73d(0x124),'DaVrQ':'Error\x20occured\x20while\x20stopping\x20local\x20binary'};if(this[_0x2bb73d(0xc1)]&&this[_0x2bb73d(0xc1)][_0x2bb73d(0x142)]()){if(_0x140260['OlxQi'](_0x140260[_0x2bb73d(0xb9)],_0x140260[_0x2bb73d(0xb9)]))this['config'][_0x2bb73d(0x10a)]=![];else try{_0x140260[_0x2bb73d(0x143)](_0x140260[_0x2bb73d(0xc7)],_0x140260[_0x2bb73d(0xc7)])?(_0x140260['qITvp'](_0x140260[_0x2bb73d(0xb5)](_0x456c62,_0x40bcfe[_0x2bb73d(0xac)](_0x140260[_0x2bb73d(0xea)])),0x3)&&(this[_0x2bb73d(0x10b)][_0x2bb73d(0x10a)]=![]),_0x140260[_0x2bb73d(0xf5)](_0x140260[_0x2bb73d(0xb5)](_0x268187,_0x5c8a53[_0x2bb73d(0xac)](_0x140260[_0x2bb73d(0xea)])),4.5)&&(this['config'][_0x2bb73d(0x10a)]=!![])):(await helper[_0x2bb73d(0x12d)](this[_0x2bb73d(0xc1)]),logger[_0x2bb73d(0x138)](_0x140260[_0x2bb73d(0x108)]));}catch(_0x234a90){_0x140260['ZzBbM'](_0x140260['pwiHJ'],_0x140260[_0x2bb73d(0x107)])?logger[_0x2bb73d(0xd9)](_0x140260[_0x2bb73d(0xf7)],_0x234a90[_0x2bb73d(0xb8)]):this[_0x2bb73d(0x10b)][_0x2bb73d(0x10a)]=!![];}}}['setupKeepAlive'](){const _0xe17c24=a33_0xac2259,_0x14f72b={'jHTLY':function(_0x4a3fa3,_0x3de4e7){return _0x4a3fa3(_0x3de4e7);},'RUQug':'./setKeepAlive'};_0x14f72b['jHTLY'](require,_0x14f72b[_0xe17c24(0x144)])();}[a33_0xac2259(0xe6)](){const _0x233a30=a33_0xac2259,_0x986286={};_0x986286[_0x233a30(0xde)]='SDKTestSuccessful',_0x986286[_0x233a30(0x111)]='unhandledRejection',_0x986286[_0x233a30(0xc5)]=_0x233a30(0xec);const _0x5a4f3f=_0x986286,_0x213534=_0xa3167=>{const _0x52ad6d=_0x233a30;logger['error'](_0xa3167[_0x52ad6d(0xb8)]),logger[_0x52ad6d(0x149)](_0xa3167);const _0x264b13={};_0x264b13['error']=_0xa3167[_0x52ad6d(0xb8)];const _0x27ba70=_0x264b13;try{helper[_0x52ad6d(0x14a)](_0x5a4f3f[_0x52ad6d(0xde)],_0x27ba70,this[_0x52ad6d(0x10b)],this['framework']);}catch(_0x5cdca6){logger['debug'](_0x52ad6d(0xf6)+_0x5cdca6);}};process['on'](_0x5a4f3f[_0x233a30(0x111)],_0x213534),process['on'](_0x5a4f3f['hNIES'],_0x213534);}}function a33_0x2a24(){const _0x337a60=['DWTEo','EymMU','yYyOU','cignl','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','GWKAH','6hRrJBV','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','cTYaO','1064021SXkkUT','setupBrowserstackLocal','bVpaa','oIJbQ','JHxWl','getLocalConfig','zhfhH','2462986XTeBEd','GrQXQ','toString','FRAMEWORK','bxcbg','RcUld','keFLd','riJoV','RNdwA','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','Soslu','OkvAx','WQCNO','stopLocalBinary','vVxhl','bYnhQ','No\x20config\x20provided.','./setKeepAlive','xJMWT','sanitizeCaps','LcmeI','getAccessKey','../bin/mocha/test-observability/helper','yeLBn','info','getFinalCaps','konho','nbpIt','stopBrowserstackLocal','RbEQd','tbJlW','parallelsPerPlatform','VGosG','cliConfig','isRunning','IwFVD','RUQug','NwmHf','3305030FdLjbF','browserStackLocalOptions','xnTUX','debug','fireFunnelTestEvent','SDKTestAttempted','SDKTestSuccessful','KzcPB','HvdgM','./logger','getPackageVersion','PnbDq','DxMJM','../bin/utils/constants','winstonLogger','selenium-webdriver','setupKeepAlive','12XHJJVb','generateLocalIdentifier','tcpRJ','startLocalBinarySync','MuFEn','message','MYOoh','LMrcx','DyqYV','2304628rUEpRK','PjNnk','getConfigPath','localIdentifier','BRufR','browserstackLocal','Local\x20binary\x20stopped','TOmkQ','xiDBj','hNIES','OkBnM','cEQRz','xMnyy','Ldrvm','setProxySettings','QWBGE','hifZt','gKsln','constructor','sPcto','qKBfh','eipTk','FaNlz','tgupy','cYwUc','HyqhA','isUndefined','beforeExit','jCYGY','error','tpLcc','env','UOMDV','getUserName','kcahV','RHzgj','EuTva','getLocalIdentifier','EpEVg','xmXPg','warn','LQaPp','handleExceptions','default','PBqyd','PjrwJ','QjDaW','YyPoh','uncaughtException','PzwUy','NgIfy','VpgRS','requireSeleniumWebdriverCheck','NviTX','XYsAG','ywYbl','setLogLevel','orxMH','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','DaVrQ','bvnqO','SIGTERM','DkVgL','SIGINT','SXaFb','unhandledRejection','3533499pANsXt','guDAt','localOptions','bksZZ','pYtyA','framework','9002584QojqcO','envConfig','bnXoo','pwiHJ','NXqCM','MkvPt','useW3C','config','platforms','vDKVA','967223LtEzEA','IMJes'];a33_0x2a24=function(){return _0x337a60;};return a33_0x2a24();}function a33_0x5a06(_0x5eca5c,_0x2cf4b2){const _0x2a24ec=a33_0x2a24();return a33_0x5a06=function(_0x5a0649,_0x5184e6){_0x5a0649=_0x5a0649-0xab;let _0x27390f=_0x2a24ec[_0x5a0649];return _0x27390f;},a33_0x5a06(_0x5eca5c,_0x2cf4b2);}exports[a33_0xac2259(0xe7)]=BrowserStackSetup;
|
|
1
|
+
function a33_0x2684(){const _0x3c64cf=['unhandledRejection','EPHqQ','sanitizeCaps','bEUez','Gzswa','cbKzk','setProxySettings','BVUaT','OObIj','QsMlB','SgTIj','startLocalBinarySync','No\x20config\x20provided.','CjJdV','default','UogyW','Mnrxl','getLocalIdentifier','FJpyS','rmXDl','getPackageVersion','EYhOl','env','../bin/mocha/test-observability/helper','getLocalConfig','4483230npODQy','QHfRo','toString','XelDA','SDKTestAttempted','localOptions','DGLui','isUndefined','gCzba','fireFunnelTestEvent','tBTvI','VzVEr','length','./setKeepAlive','857343hexjZR','adhVC','error','localIdentifier','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','SIGINT','mHMKG','BBzDl','userName\x20or\x20accessKey\x20is\x20not\x20defined','cuFfu','xOkyc','TJtGv','476894PwCcNm','handleExceptions','NXZNS','cliConfig','zfGnx','HzeZR','wwHoz','message','nwxxT','ijDki','hOrGa','Local\x20binary\x20started\x20successfully','rEFGS','EdNQW','selenium-webdriver','IbCEs','eJgjO','getFinalCaps','warn','config','OzlNd','VKiIm','36DalaKD','JoHfG','LHEGv','HHxFW','LtYoP','MsUNO','hOfdT','browserstackLocal','ZHxeq','setupKeepAlive','FyqHR','ttZQt','pHLwg','../bin/utils/constants','useW3C','CQrgj','uncaughtException','134735KwoTDP','ZJzba','LVxqa','readConfig','./logger','cEHCo','rdOPa','BKRvX','WIUTS','QNvdF','setLogLevel','AtXna','requireSeleniumWebdriverCheck','KQlTs','uVzfd','1316413NbkVAX','sUhLh','Tgdqn','winstonLogger','stopLocalBinary','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','xLdiV','LUlLk','1452HfRJuO','sFjzA','borRU','YapXf','KoBGe','9976272aTfYFg','rWSaC','constructor','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','xnIVV','pLHIB','SDKTestSuccessful','parallelsPerPlatform','zoffP','petFU','FRAMEWORK','yjOCN','browserStackLocalOptions','Error\x20occured\x20while\x20stopping\x20local\x20binary','chSJz','1014031qIgOYz','debug','QdsmM','CdlOj','getAccessKey','FMfjh','generateLocalIdentifier','stopBrowserstackLocal','isRunning','platforms','./helper','WSVWE','nACvW','MTuWB','fNOOz','EaQvg','msqnZ','dlkLu','tPSTO','ysJBZ','KxiKF','ECVBV','qDIXw','framework','dadNV','rwqkr','mXTCe','wjNAL','setupBrowserstackLocal','envConfig','beforeExit','bHxEb','info','ScQzh','188gNJINF','10AUmonR','80buxBqm'];a33_0x2684=function(){return _0x3c64cf;};return a33_0x2684();}const a33_0x38e9ee=a33_0x35be;(function(_0xd18ecb,_0x4d0baf){const _0x3510f0=a33_0x35be,_0x13d2a5=_0xd18ecb();while(!![]){try{const _0x3acca9=parseInt(_0x3510f0(0x198))/0x1+parseInt(_0x3510f0(0x1bb))/0x2*(-parseInt(_0x3510f0(0x1e4))/0x3)+parseInt(_0x3510f0(0x1ba))/0x4*(parseInt(_0x3510f0(0x217))/0x5)+parseInt(_0x3510f0(0x233))/0x6+-parseInt(_0x3510f0(0x226))/0x7*(-parseInt(_0x3510f0(0x1bc))/0x8)+parseInt(_0x3510f0(0x206))/0x9*(parseInt(_0x3510f0(0x1d6))/0xa)+parseInt(_0x3510f0(0x1f0))/0xb*(-parseInt(_0x3510f0(0x22e))/0xc);if(_0x3acca9===_0x4d0baf)break;else _0x13d2a5['push'](_0x13d2a5['shift']());}catch(_0x2f7715){_0x13d2a5['push'](_0x13d2a5['shift']());}}}(a33_0x2684,0xe613b));const logger=require(a33_0x38e9ee(0x21b))[a33_0x38e9ee(0x229)],helper=require(a33_0x38e9ee(0x1a2)),Constants=require(a33_0x38e9ee(0x213)),{isBrowserstackInfra}=require(a33_0x38e9ee(0x1d4));function a33_0x35be(_0x52b6f0,_0x533a5c){const _0x2684f7=a33_0x2684();return a33_0x35be=function(_0x35be4e,_0x279edf){_0x35be4e=_0x35be4e-0x196;let _0xdd34ae=_0x2684f7[_0x35be4e];return _0xdd34ae;},a33_0x35be(_0x52b6f0,_0x533a5c);}class BrowserStackSetup{constructor(_0x1c6967,_0x2b209e){const _0x2bc551=a33_0x38e9ee,_0x503796={'uVzfd':_0x2bc551(0x236),'QdsmM':_0x2bc551(0x1da),'MTuWB':function(_0x1d2c11,_0x33ef90){return _0x1d2c11<_0x33ef90;},'seJFa':function(_0x528ef6,_0x512709){return _0x528ef6(_0x512709);},'KxiKF':_0x2bc551(0x1fe),'TCDMl':function(_0x422be0,_0x57a5a8){return _0x422be0>=_0x57a5a8;},'WIUTS':function(_0x32f372,_0x3298f3){return _0x32f372(_0x3298f3);},'YedrB':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','hOfdT':function(_0x1bdd2c,_0x2e36f1){return _0x1bdd2c===_0x2e36f1;},'nACvW':_0x2bc551(0x239),'OzlNd':_0x2bc551(0x1bd),'sUhLh':_0x2bc551(0x216),'FJpyS':_0x2bc551(0x1e3),'fNOOz':_0x2bc551(0x1ec),'SgTIj':_0x2bc551(0x1c9),'wwHoz':function(_0x1e3d7d){return _0x1e3d7d();},'pHLwg':function(_0x45725b,_0x18896c){return _0x45725b!==_0x18896c;},'msqnZ':_0x2bc551(0x208),'FMfjh':'mvcaV','wjNAL':function(_0x355d01,_0x166fd9){return _0x355d01!==_0x166fd9;},'ECVBV':_0x2bc551(0x1ab),'DGLui':'flydM','qDIXw':_0x2bc551(0x1cd),'HzeZR':_0x2bc551(0x1a3),'XelDA':function(_0x55cc44,_0x1ab50b){return _0x55cc44(_0x1ab50b);},'MHlVj':function(_0x386648,_0x81dffa){return _0x386648===_0x81dffa;},'wneex':_0x2bc551(0x21d),'bSZMA':_0x2bc551(0x1c5),'xOkyc':function(_0x291ad8,_0x4daada){return _0x291ad8(_0x4daada);},'OqAKj':_0x2bc551(0x22d),'TQQpM':'abbdO','QsMlB':function(_0x46b05b,_0x406c94){return _0x46b05b!==_0x406c94;},'borRU':_0x2bc551(0x205),'rmXDl':'XcJrk','dlkLu':function(_0x1c55bf,_0xa237a){return _0x1c55bf!==_0xa237a;},'cbKzk':_0x2bc551(0x1ef),'tPSTO':function(_0x159d66,_0x38757e){return _0x159d66===_0x38757e;},'ScQzh':'gMXmI','KQlTs':function(_0x23a3ef,_0x29d910){return _0x23a3ef===_0x29d910;},'Gzswa':_0x2bc551(0x1b1),'UogyW':_0x2bc551(0x1be),'VzVEr':_0x2bc551(0x215),'CjJdV':_0x2bc551(0x211),'NXZNS':function(_0x1cb4f1,_0x215141){return _0x1cb4f1===_0x215141;},'LVxqa':_0x2bc551(0x1f4),'BBzDl':_0x2bc551(0x220),'KoBGe':function(_0x2244e1,_0x13cedb){return _0x2244e1!==_0x13cedb;},'UkHPm':_0x2bc551(0x1f8),'BKRvX':'FEciO','cuFfu':function(_0x11984f,_0x1e0b94){return _0x11984f===_0x1e0b94;},'xnIVV':_0x2bc551(0x1de)};this[_0x2bc551(0x1f3)]=helper['setCLICaps'](_0x1c6967),this['envConfig']=helper['setEnvCaps'](),this['browserstackLocal']=null,this['config']=helper[_0x2bc551(0x21a)](helper['getConfigPath'](_0x1c6967)),helper[_0x2bc551(0x1bf)](this[_0x2bc551(0x203)]),this[_0x2bc551(0x1af)]=_0x2b209e;if(helper[_0x2bc551(0x1dd)](this[_0x2bc551(0x203)]))throw new Error(_0x503796[_0x2bc551(0x1c7)]);if(this[_0x2bc551(0x203)]['error'])throw new Error(this[_0x2bc551(0x203)][_0x2bc551(0x1e6)]);helper[_0x2bc551(0x201)](this[_0x2bc551(0x203)],this[_0x2bc551(0x1f3)],this[_0x2bc551(0x1b5)]),this[_0x2bc551(0x1f1)]();if(!_0x503796[_0x2bc551(0x1f6)](isBrowserstackInfra)){if(_0x503796[_0x2bc551(0x212)](_0x503796['msqnZ'],_0x503796[_0x2bc551(0x1a8)]))_0x59e0bf[_0x2bc551(0x1b8)](_0x503796['uVzfd']);else try{if(_0x503796[_0x2bc551(0x20c)](_0x503796[_0x2bc551(0x19d)],_0x503796[_0x2bc551(0x19d)]))process[_0x2bc551(0x1d3)][_0x2bc551(0x23d)]=_0x2b209e,helper[_0x2bc551(0x1df)](_0x503796[_0x2bc551(0x19a)],{},this[_0x2bc551(0x203)],this[_0x2bc551(0x1af)]);else try{_0x3fa018['env'][_0x2bc551(0x23d)]=_0x546b2a,_0x7f833d['fireFunnelTestEvent'](_0x503796[_0x2bc551(0x19a)],{},this[_0x2bc551(0x203)],this[_0x2bc551(0x1af)]);}catch(_0x55b273){_0x1deffc[_0x2bc551(0x199)](_0x2bc551(0x1e8)+_0x55b273);}}catch(_0x55db37){_0x503796[_0x2bc551(0x1b3)](_0x503796[_0x2bc551(0x1ad)],_0x503796[_0x2bc551(0x1dc)])?logger['debug']('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x55db37):(_0x503796[_0x2bc551(0x1a5)](_0x503796['seJFa'](_0x1f72cd,_0x24e3eb[_0x2bc551(0x1d1)](_0x503796[_0x2bc551(0x1ac)])),0x3)&&(this[_0x2bc551(0x203)][_0x2bc551(0x214)]=![]),_0x503796['TCDMl'](_0x503796[_0x2bc551(0x21f)](_0x5035dc,_0x24db71['getPackageVersion'](_0x503796[_0x2bc551(0x1ac)])),4.5)&&(this[_0x2bc551(0x203)][_0x2bc551(0x214)]=!![]));}}if(!_0x503796[_0x2bc551(0x1f6)](isBrowserstackInfra))return;helper[_0x2bc551(0x223)](_0x2b209e)&&(_0x503796[_0x2bc551(0x1b3)](_0x503796[_0x2bc551(0x1ae)],_0x503796[_0x2bc551(0x1f5)])?(_0x503796[_0x2bc551(0x1a5)](_0x503796[_0x2bc551(0x1d9)](parseInt,helper[_0x2bc551(0x1d1)](_0x503796[_0x2bc551(0x1ac)])),0x3)&&(_0x503796['MHlVj'](_0x503796['wneex'],_0x503796['bSZMA'])?(_0xaa688e[_0x2bc551(0x1dd)](this[_0x2bc551(0x203)]['parallelsPerPlatform'])?_0xb9afe2['info'](_0x503796[_0x2bc551(0x225)]):_0x2c89a6[_0x2bc551(0x202)](_0x503796['YedrB']),this['config']['platforms']=[]):this[_0x2bc551(0x203)][_0x2bc551(0x214)]=![]),_0x503796['TCDMl'](_0x503796[_0x2bc551(0x1ee)](parseInt,helper['getPackageVersion'](_0x503796['KxiKF'])),4.5)&&(_0x503796[_0x2bc551(0x212)](_0x503796['OqAKj'],_0x503796['TQQpM'])?this[_0x2bc551(0x203)][_0x2bc551(0x214)]=!![]:!_0x2f8f21[_0x2bc551(0x1dd)](this[_0x2bc551(0x203)][_0x2bc551(0x23f)])&&_0x503796['hOfdT'](this[_0x2bc551(0x203)]['browserStackLocalOptions'][_0x2bc551(0x235)],_0x98ba40)?this[_0x2bc551(0x203)][_0x2bc551(0x23f)][_0x2bc551(0x1e7)]=_0x163a24[_0x2bc551(0x19e)]():this['config'][_0x2bc551(0x23f)]={'localIdentifier':_0x14daed['generateLocalIdentifier']()})):(_0x576c5c[_0x2bc551(0x1d3)][_0x2bc551(0x23d)]=_0x1fc072['_'][0x0],_0x593678['fireFunnelTestEvent'](_0x503796[_0x2bc551(0x19a)],{},this[_0x2bc551(0x203)],this['framework'])));if(helper[_0x2bc551(0x1dd)](this[_0x2bc551(0x203)][_0x2bc551(0x1a1)])||helper['isUndefined'](this[_0x2bc551(0x203)][_0x2bc551(0x1a1)][_0x2bc551(0x1e2)])){if(_0x503796[_0x2bc551(0x1c6)](_0x503796[_0x2bc551(0x230)],_0x503796[_0x2bc551(0x1d0)])){if(helper[_0x2bc551(0x1dd)](this[_0x2bc551(0x203)][_0x2bc551(0x23a)])){if(_0x503796[_0x2bc551(0x1a9)](_0x503796[_0x2bc551(0x1c2)],_0x503796['cbKzk'])){const _0x5ea776=_0x38b3c4=>{const _0x54bda3=_0x2bc551;_0x15695b[_0x54bda3(0x1e6)](_0x38b3c4[_0x54bda3(0x1f7)]),_0x201c21[_0x54bda3(0x199)](_0x38b3c4);const _0x520821={};_0x520821[_0x54bda3(0x1e6)]=_0x38b3c4[_0x54bda3(0x1f7)];const _0xbbc01=_0x520821;try{_0x18bf97['fireFunnelTestEvent'](_0x503796[_0x54bda3(0x1a4)],_0xbbc01,this[_0x54bda3(0x203)],this[_0x54bda3(0x1af)]);}catch(_0xf03da1){_0x89c30b[_0x54bda3(0x199)](_0x54bda3(0x22b)+_0xf03da1);}};_0x33b5bc['on'](_0x503796[_0x2bc551(0x204)],_0x5ea776),_0x3fc4a9['on'](_0x503796[_0x2bc551(0x227)],_0x5ea776);}else logger['info'](_0x503796[_0x2bc551(0x225)]);}else _0x503796[_0x2bc551(0x1aa)](_0x503796[_0x2bc551(0x1b9)],_0x503796[_0x2bc551(0x1b9)])?logger[_0x2bc551(0x202)](_0x503796['YedrB']):this[_0x2bc551(0x203)][_0x2bc551(0x23f)]={'localIdentifier':_0x240305[_0x2bc551(0x19e)]()};this[_0x2bc551(0x203)][_0x2bc551(0x1a1)]=[];}else _0x503796[_0x2bc551(0x21f)](_0x73daf5,_0x503796[_0x2bc551(0x1cf)])();}!this['config'][_0x2bc551(0x23f)]&&(this[_0x2bc551(0x203)][_0x2bc551(0x23f)]=this['config'][_0x2bc551(0x1db)]||{});if(helper[_0x2bc551(0x1dd)](helper['getUserName'](this['config']))||helper['isUndefined'](helper[_0x2bc551(0x19c)](this[_0x2bc551(0x203)]))){if(_0x503796[_0x2bc551(0x224)](_0x503796[_0x2bc551(0x1c1)],_0x503796[_0x2bc551(0x1cc)]))_0x2f34bf[_0x2bc551(0x1df)](_0x503796[_0x2bc551(0x1a4)],_0x5de47f,this[_0x2bc551(0x203)],this['framework']);else throw new Error(_0x503796[_0x2bc551(0x1a6)]);}if(helper[_0x2bc551(0x1d5)](this[_0x2bc551(0x203)])&&helper[_0x2bc551(0x1dd)](helper[_0x2bc551(0x1ce)](this[_0x2bc551(0x203)]))){if(_0x503796['KQlTs'](_0x503796[_0x2bc551(0x1e1)],_0x503796[_0x2bc551(0x1ca)]))this[_0x2bc551(0x203)][_0x2bc551(0x214)]=!![];else{if(!helper[_0x2bc551(0x1dd)](this[_0x2bc551(0x203)]['browserStackLocalOptions'])&&_0x503796[_0x2bc551(0x1f2)](this[_0x2bc551(0x203)][_0x2bc551(0x23f)][_0x2bc551(0x235)],Object)){if(_0x503796[_0x2bc551(0x1a9)](_0x503796['LVxqa'],_0x503796[_0x2bc551(0x219)])){_0x1a396c[_0x2bc551(0x1e6)](_0x1eba22['message']),_0x1ad799[_0x2bc551(0x199)](_0x4684ac);const _0x40b485={};_0x40b485[_0x2bc551(0x1e6)]=_0x3fa8f0[_0x2bc551(0x1f7)];const _0x1b763c=_0x40b485;try{_0x5de7c3[_0x2bc551(0x1df)](_0x503796['nACvW'],_0x1b763c,this[_0x2bc551(0x203)],this[_0x2bc551(0x1af)]);}catch(_0x5232d4){_0x176c32['debug'](_0x2bc551(0x22b)+_0x5232d4);}}else this[_0x2bc551(0x203)][_0x2bc551(0x23f)]['localIdentifier']=helper[_0x2bc551(0x19e)]();}else _0x503796[_0x2bc551(0x212)](_0x503796[_0x2bc551(0x1eb)],_0x503796['BBzDl'])?this[_0x2bc551(0x203)][_0x2bc551(0x214)]=![]:this['config'][_0x2bc551(0x23f)]={'localIdentifier':helper[_0x2bc551(0x19e)]()};}}helper[_0x2bc551(0x221)](this[_0x2bc551(0x203)],this['cliConfig'],this[_0x2bc551(0x1b5)]),helper[_0x2bc551(0x1c3)](this[_0x2bc551(0x203)]);try{_0x503796[_0x2bc551(0x232)](_0x503796['UkHPm'],_0x503796[_0x2bc551(0x21e)])?(process['env']['FRAMEWORK']=_0x1c6967['_'][0x0],helper['fireFunnelTestEvent'](_0x503796[_0x2bc551(0x19a)],{},this[_0x2bc551(0x203)],this['framework'])):_0x1c75b1[_0x2bc551(0x202)](_0x503796['YedrB']);}catch(_0x361702){if(_0x503796[_0x2bc551(0x1ed)](_0x503796[_0x2bc551(0x237)],_0x503796[_0x2bc551(0x237)]))logger[_0x2bc551(0x199)](_0x2bc551(0x1e8)+_0x361702);else throw new _0x120430(_0x503796[_0x2bc551(0x1a6)]);}this[_0x2bc551(0x1b4)](),this[_0x2bc551(0x20f)]();}[a33_0x38e9ee(0x1b4)](){const _0x2aac77=a33_0x38e9ee,_0x2e7ac1={};_0x2e7ac1[_0x2aac77(0x1b7)]=_0x2aac77(0x1da),_0x2e7ac1[_0x2aac77(0x1e0)]=function(_0xbb3cd5,_0x5a6364){return _0xbb3cd5!==_0x5a6364;},_0x2e7ac1[_0x2aac77(0x1f9)]=_0x2aac77(0x1fa),_0x2e7ac1['QHfRo']=_0x2aac77(0x1c0),_0x2e7ac1[_0x2aac77(0x22f)]=function(_0x58ff2f,_0x271b0c){return _0x58ff2f==_0x271b0c;},_0x2e7ac1[_0x2aac77(0x238)]=_0x2aac77(0x196),_0x2e7ac1[_0x2aac77(0x21c)]=function(_0x238b8c,_0x4dbc72){return _0x238b8c==_0x4dbc72;},_0x2e7ac1[_0x2aac77(0x1ff)]=_0x2aac77(0x19b),_0x2e7ac1['SKIHy']='tmguK',_0x2e7ac1['AtXna']=_0x2aac77(0x1fb),_0x2e7ac1['HHxFW']=_0x2aac77(0x1b6),_0x2e7ac1[_0x2aac77(0x1fc)]=_0x2aac77(0x1e9),_0x2e7ac1['dadNV']='SIGTERM',_0x2e7ac1[_0x2aac77(0x1fd)]=function(_0xc53ecc,_0x3e525c){return _0xc53ecc===_0x3e525c;},_0x2e7ac1['GRURS']=_0x2aac77(0x23b),_0x2e7ac1[_0x2aac77(0x228)]=_0x2aac77(0x20e);const _0x30a3f4=_0x2e7ac1;if(_0x30a3f4['cEHCo'](this[_0x2aac77(0x203)][_0x2aac77(0x20d)],!![])&&(!this['browserstackLocal']||!this[_0x2aac77(0x20d)][_0x2aac77(0x1a0)]())){if(_0x30a3f4['tBTvI'](_0x30a3f4[_0x2aac77(0x1ff)],_0x30a3f4[_0x2aac77(0x1ff)]))this[_0x2aac77(0x203)][_0x2aac77(0x23f)][_0x2aac77(0x1e7)]=_0x4e62f2[_0x2aac77(0x19e)]();else try{if(_0x30a3f4['tBTvI'](_0x30a3f4['SKIHy'],_0x30a3f4['SKIHy']))_0x50d6a5['env']['FRAMEWORK']=_0x518663,_0x425b43['fireFunnelTestEvent'](_0x30a3f4[_0x2aac77(0x1b7)],{},this[_0x2aac77(0x203)],this[_0x2aac77(0x1af)]);else{this[_0x2aac77(0x20d)]=helper[_0x2aac77(0x1c8)](this[_0x2aac77(0x203)]),logger[_0x2aac77(0x1b8)](_0x30a3f4[_0x2aac77(0x222)]);let _0x4f95b9=0x0;const _0x3da03a=async()=>{const _0x5d179b=_0x2aac77;if(_0x30a3f4[_0x5d179b(0x1e0)](_0x30a3f4[_0x5d179b(0x1f9)],_0x30a3f4[_0x5d179b(0x1d7)]))_0x4f95b9++,_0x30a3f4[_0x5d179b(0x22f)](_0x4f95b9,0x1)&&await this[_0x5d179b(0x19f)]();else{_0x3265ac[_0x5d179b(0x199)](_0x10e098);throw new _0x5cdabf(_0x3e227e['toString']());}};process['on'](_0x30a3f4[_0x2aac77(0x209)],_0x3da03a),process['on'](_0x30a3f4[_0x2aac77(0x1fc)],_0x3da03a),process['on'](_0x30a3f4[_0x2aac77(0x1b0)],_0x3da03a);}}catch(_0x376bed){if(_0x30a3f4[_0x2aac77(0x1fd)](_0x30a3f4['GRURS'],_0x30a3f4[_0x2aac77(0x228)]))_0x2393e6[_0x2aac77(0x1e6)](_0x30a3f4['pLHIB'],_0x3fed48['message']);else{logger[_0x2aac77(0x199)](_0x376bed);throw new Error(_0x376bed[_0x2aac77(0x1d8)]());}}}}async[a33_0x38e9ee(0x19f)](){const _0x4cbcce=a33_0x38e9ee,_0x208dc8={};_0x208dc8[_0x4cbcce(0x207)]=function(_0x3befca,_0x467a8d){return _0x3befca!==_0x467a8d;},_0x208dc8['MsUNO']=_0x4cbcce(0x210),_0x208dc8[_0x4cbcce(0x234)]=_0x4cbcce(0x1b2),_0x208dc8['petFU']=_0x4cbcce(0x1a7),_0x208dc8[_0x4cbcce(0x1ea)]='Local\x20binary\x20stopped',_0x208dc8[_0x4cbcce(0x20a)]=function(_0x1c6736,_0x4e3dd5){return _0x1c6736!==_0x4e3dd5;},_0x208dc8[_0x4cbcce(0x200)]=_0x4cbcce(0x1d2),_0x208dc8['chSJz']=_0x4cbcce(0x23e),_0x208dc8[_0x4cbcce(0x231)]=_0x4cbcce(0x196);const _0x75b3bb=_0x208dc8;if(this[_0x4cbcce(0x20d)]&&this[_0x4cbcce(0x20d)]['isRunning']()){if(_0x75b3bb['JoHfG'](_0x75b3bb[_0x4cbcce(0x20b)],_0x75b3bb[_0x4cbcce(0x20b)]))_0x5eed80[_0x4cbcce(0x199)](_0x4cbcce(0x22b)+_0x1497b5);else try{_0x75b3bb['JoHfG'](_0x75b3bb[_0x4cbcce(0x234)],_0x75b3bb[_0x4cbcce(0x23c)])?(await helper[_0x4cbcce(0x22a)](this[_0x4cbcce(0x20d)]),logger[_0x4cbcce(0x1b8)](_0x75b3bb[_0x4cbcce(0x1ea)])):_0x57b7c9[_0x4cbcce(0x199)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x5c68e0);}catch(_0x24eb9f){_0x75b3bb['LtYoP'](_0x75b3bb[_0x4cbcce(0x200)],_0x75b3bb[_0x4cbcce(0x197)])?logger[_0x4cbcce(0x1e6)](_0x75b3bb[_0x4cbcce(0x231)],_0x24eb9f['message']):_0x2dab10['debug'](_0x4cbcce(0x1e8)+_0x5c4615);}}}[a33_0x38e9ee(0x20f)](){const _0x426e03=a33_0x38e9ee,_0x4581ee={'BVUaT':function(_0x370343,_0x7031c1){return _0x370343(_0x7031c1);},'CXDsJ':_0x426e03(0x1e3)};_0x4581ee[_0x426e03(0x1c4)](require,_0x4581ee['CXDsJ'])();}['handleExceptions'](){const _0x4f2d25=a33_0x38e9ee,_0xccc406={};_0xccc406[_0x4f2d25(0x22c)]=_0x4f2d25(0x239),_0xccc406[_0x4f2d25(0x1e5)]='unhandledRejection',_0xccc406[_0x4f2d25(0x218)]=_0x4f2d25(0x216);const _0x245f84=_0xccc406,_0x2353da=_0x323a15=>{const _0x5e4969=_0x4f2d25;logger['error'](_0x323a15[_0x5e4969(0x1f7)]),logger[_0x5e4969(0x199)](_0x323a15);const _0x2c62b7={};_0x2c62b7[_0x5e4969(0x1e6)]=_0x323a15[_0x5e4969(0x1f7)];const _0x48baa9=_0x2c62b7;try{helper[_0x5e4969(0x1df)](_0x245f84[_0x5e4969(0x22c)],_0x48baa9,this[_0x5e4969(0x203)],this[_0x5e4969(0x1af)]);}catch(_0x49150f){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x49150f);}};process['on'](_0x245f84[_0x4f2d25(0x1e5)],_0x2353da),process['on'](_0x245f84[_0x4f2d25(0x218)],_0x2353da);}}exports[a33_0x38e9ee(0x1cb)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a34_0x3d3c(){var _0x25db10=['browserstack.user_name','BROWSERSTACK_LOCAL','EnvCapsMapping','259XWKtuk','HlQJB','132vpDrog','hcIiZ','userName','pBzly','browserstack.localIdentifier','buildIdentifier','BROWSERSTACK_RERUN_TESTS','8949DhcQLL','BROWSERSTACK_BUILD_IDENTIFIER','OBTEr','454090TlHUQv','72pqggIW','browserstack.access_key','CLICapsMapping','browserstack.buildName','109938RWwgzE','rQyjj','tzsuv','accessKey','logLevel','BROWSERSTACK_PROJECT_NAME','parallelsPerPlatform','sXdGL','browserstack.rerunTests','mFhRl','4819775tpxToH','automation','browserstack.accessKey','BROWSERSTACK_ACCESS_KEY','browserstack.buildIdentifier','ouney','tHsPm','BROWSERSTACK_AUTOMATION','xiqxZ','UrZhp','bvTXh','xxGfD','BROWSERSTACK_PARALLELS_PER_PLATFORM','772UjRqnn','4kCHWGq','WBfuS','642608HWsSrA','pYPni','projectName','NWrKE','BROWSERSTACK_USER_NAME','wThgi','rerunTests','CwxgK','3097193bSONHu','buildName','browserstackLocal','IBeWF','LAgXG','jtzpP','lxUew','browserstack.parallelsPerPlatform','localIdentifier','app','browserstack.logLevel','35124NUgIFU','BgKoX','browserstack.local','browserstack.ppp','qCtFt','ehXJJ'];a34_0x3d3c=function(){return _0x25db10;};return a34_0x3d3c();}function a34_0x1fb2(_0x1b47f4,_0x2981e8){var _0x3d3cbf=a34_0x3d3c();return a34_0x1fb2=function(_0x1fb2ae,_0x74e9c0){_0x1fb2ae=_0x1fb2ae-0xf3;var _0x34f29e=_0x3d3cbf[_0x1fb2ae];return _0x34f29e;},a34_0x1fb2(_0x1b47f4,_0x2981e8);}var a34_0x28f761=a34_0x1fb2;(function(_0x3d8bd2,_0x421744){var _0x54b99b=a34_0x1fb2,_0x48a997=_0x3d8bd2();while(!![]){try{var _0x3a61c0=-parseInt(_0x54b99b(0x124))/0x1*(-parseInt(_0x54b99b(0x10f))/0x2)+-parseInt(_0x54b99b(0x136))/0x3*(parseInt(_0x54b99b(0x10e))/0x4)+-parseInt(_0x54b99b(0x101))/0x5+-parseInt(_0x54b99b(0xf7))/0x6*(parseInt(_0x54b99b(0x12d))/0x7)+-parseInt(_0x54b99b(0x111))/0x8+-parseInt(_0x54b99b(0xf3))/0x9*(parseInt(_0x54b99b(0x139))/0xa)+-parseInt(_0x54b99b(0x119))/0xb*(-parseInt(_0x54b99b(0x12f))/0xc);if(_0x3a61c0===_0x421744)break;else _0x48a997['push'](_0x48a997['shift']());}catch(_0x1b17e8){_0x48a997['push'](_0x48a997['shift']());}}}(a34_0x3d3c,0x7b96a),exports[a34_0x28f761(0xf5)]=()=>{var _0x3054c3=a34_0x28f761,_0x570fe8={};_0x570fe8[_0x3054c3(0x11e)]=_0x3054c3(0x12a),_0x570fe8[_0x3054c3(0x114)]='browserstack.userName',_0x570fe8[_0x3054c3(0x138)]=_0x3054c3(0xf4),_0x570fe8[_0x3054c3(0x116)]=_0x3054c3(0x103),_0x570fe8['hcIiZ']=_0x3054c3(0xf6),_0x570fe8[_0x3054c3(0xf8)]='browserstack.projectName',_0x570fe8[_0x3054c3(0x12e)]=_0x3054c3(0x105),_0x570fe8[_0x3054c3(0x10c)]=_0x3054c3(0x127),_0x570fe8['IBeWF']=_0x3054c3(0x120),_0x570fe8[_0x3054c3(0x129)]=_0x3054c3(0x126),_0x570fe8[_0x3054c3(0x112)]=_0x3054c3(0x133),_0x570fe8[_0x3054c3(0x10a)]=_0x3054c3(0xff),_0x570fe8['sXdGL']='browserstack.app',_0x570fe8[_0x3054c3(0x100)]=_0x3054c3(0x123),_0x570fe8['lxUew']='browserstack.automation';var _0x318b73=_0x570fe8,_0x1fa667={};return _0x1fa667[_0x3054c3(0x131)]=[_0x318b73['jtzpP'],_0x318b73[_0x3054c3(0x114)]],_0x1fa667[_0x3054c3(0xfa)]=[_0x318b73['OBTEr'],_0x318b73[_0x3054c3(0x116)]],_0x1fa667[_0x3054c3(0x11a)]=[_0x318b73[_0x3054c3(0x130)]],_0x1fa667[_0x3054c3(0x113)]=[_0x318b73['rQyjj']],_0x1fa667['buildIdentifier']=[_0x318b73['HlQJB']],_0x1fa667[_0x3054c3(0xfd)]=[_0x318b73[_0x3054c3(0x10c)],_0x318b73[_0x3054c3(0x11c)]],_0x1fa667[_0x3054c3(0x11b)]=[_0x318b73[_0x3054c3(0x129)]],_0x1fa667[_0x3054c3(0x121)]=[_0x318b73[_0x3054c3(0x112)]],_0x1fa667[_0x3054c3(0x117)]=[_0x318b73['UrZhp']],_0x1fa667[_0x3054c3(0x122)]=[_0x318b73[_0x3054c3(0xfe)]],_0x1fa667[_0x3054c3(0xfb)]=[_0x318b73[_0x3054c3(0x100)]],_0x1fa667[_0x3054c3(0x102)]=[_0x318b73[_0x3054c3(0x11f)]],_0x1fa667;},exports[a34_0x28f761(0x12c)]=()=>{var _0x5d7a59=a34_0x28f761,_0x4eb1b1={};_0x4eb1b1['WLgln']='BROWSERSTACK_USERNAME',_0x4eb1b1[_0x5d7a59(0x107)]=_0x5d7a59(0x115),_0x4eb1b1[_0x5d7a59(0x11d)]=_0x5d7a59(0x104),_0x4eb1b1['CwxgK']='BROWSERSTACK_BUILD_NAME',_0x4eb1b1[_0x5d7a59(0x128)]=_0x5d7a59(0xfc),_0x4eb1b1[_0x5d7a59(0xf9)]=_0x5d7a59(0x137),_0x4eb1b1[_0x5d7a59(0x10b)]=_0x5d7a59(0x10d),_0x4eb1b1[_0x5d7a59(0x109)]=_0x5d7a59(0x12b),_0x4eb1b1[_0x5d7a59(0x132)]='BROWSERSTACK_LOCAL_IDENTIFIER',_0x4eb1b1[_0x5d7a59(0x125)]=_0x5d7a59(0x135),_0x4eb1b1[_0x5d7a59(0x110)]='BROWSERSTACK_APP',_0x4eb1b1['pVufd']='BROWSERSTACK_OBSERVABILITY_DEBUG',_0x4eb1b1[_0x5d7a59(0x106)]=_0x5d7a59(0x108);var _0x2a39bd=_0x4eb1b1,_0x19e839={};return _0x19e839['userName']=[_0x2a39bd['WLgln'],_0x2a39bd[_0x5d7a59(0x107)]],_0x19e839[_0x5d7a59(0xfa)]=[_0x2a39bd[_0x5d7a59(0x11d)]],_0x19e839[_0x5d7a59(0x11a)]=[_0x2a39bd[_0x5d7a59(0x118)]],_0x19e839['projectName']=[_0x2a39bd['qCtFt']],_0x19e839[_0x5d7a59(0x134)]=[_0x2a39bd['tzsuv']],_0x19e839[_0x5d7a59(0xfd)]=[_0x2a39bd[_0x5d7a59(0x10b)]],_0x19e839[_0x5d7a59(0x11b)]=[_0x2a39bd[_0x5d7a59(0x109)]],_0x19e839[_0x5d7a59(0x121)]=[_0x2a39bd[_0x5d7a59(0x132)]],_0x19e839['rerunTests']=[_0x2a39bd[_0x5d7a59(0x125)]],_0x19e839['app']=[_0x2a39bd[_0x5d7a59(0x110)]],_0x19e839[_0x5d7a59(0xfb)]=[_0x2a39bd['pVufd']],_0x19e839[_0x5d7a59(0x102)]=[_0x2a39bd[_0x5d7a59(0x106)]],_0x19e839;});
|