browserstack-node-sdk 1.12.0 → 1.14.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
|
-
|
|
1
|
+
const a30_0x5dbd6f=a30_0x101b;(function(_0x1b740a,_0x2d5fdf){const _0x2ed4e0=a30_0x101b,_0x132fa7=_0x1b740a();while(!![]){try{const _0x44cef7=-parseInt(_0x2ed4e0(0x173))/0x1*(-parseInt(_0x2ed4e0(0x180))/0x2)+parseInt(_0x2ed4e0(0x189))/0x3*(-parseInt(_0x2ed4e0(0x179))/0x4)+-parseInt(_0x2ed4e0(0x188))/0x5*(parseInt(_0x2ed4e0(0x17c))/0x6)+parseInt(_0x2ed4e0(0x18b))/0x7+-parseInt(_0x2ed4e0(0x183))/0x8+-parseInt(_0x2ed4e0(0x186))/0x9+parseInt(_0x2ed4e0(0x18a))/0xa*(parseInt(_0x2ed4e0(0x18d))/0xb);if(_0x44cef7===_0x2d5fdf)break;else _0x132fa7['push'](_0x132fa7['shift']());}catch(_0x442417){_0x132fa7['push'](_0x132fa7['shift']());}}}(a30_0x37e3,0xa7bbb));const Transport=require('winston-transport'),{consoleHolder}=require('../mocha/test-observability/constants'),a30_0x13ee1d={};a30_0x13ee1d[a30_0x5dbd6f(0x17d)]=a30_0x5dbd6f(0x17d),a30_0x13ee1d[a30_0x5dbd6f(0x18c)]=a30_0x5dbd6f(0x18c),a30_0x13ee1d[a30_0x5dbd6f(0x187)]=a30_0x5dbd6f(0x187),a30_0x13ee1d[a30_0x5dbd6f(0x174)]=a30_0x5dbd6f(0x174),a30_0x13ee1d[a30_0x5dbd6f(0x176)]=a30_0x5dbd6f(0x176);const LOG_LEVELS=a30_0x13ee1d;function a30_0x37e3(){const _0x583566=['toISOString','error','303424taEhee','emit','warn','8187480BEIfIf','toUpperCase','TEST_LOG','4794030HFKZrK','DEBUG','5qXhLai','18pCMlPI','10KroTav','3641071zzkVXP','ERROR','22830731GuThyt','toLowerCase','3NoeGgI','TRACE','Qlamc','WARN','debug','join','8IYBMFg','logToTestOps','pid','4845948KrHLpC','INFO'];a30_0x37e3=function(){return _0x583566;};return a30_0x37e3();}class logPatcher extends Transport{constructor(_0xa62c46){super(_0xa62c46);}[a30_0x5dbd6f(0x17a)]=(_0x2bb674=LOG_LEVELS[a30_0x5dbd6f(0x17d)],_0xab0770=[''])=>{const _0x3bc4d8=a30_0x5dbd6f,_0x4ea588={};_0x4ea588[_0x3bc4d8(0x175)]=_0x3bc4d8(0x185);const _0x2568c5=_0x4ea588;consoleHolder[_0x2bb674[_0x3bc4d8(0x172)]()](..._0xab0770),process[_0x3bc4d8(0x181)]('bs:addLog:'+process[_0x3bc4d8(0x17b)],{'timestamp':new Date()[_0x3bc4d8(0x17e)](),'level':_0x2bb674[_0x3bc4d8(0x184)](),'message':'\x22'+_0xab0770[_0x3bc4d8(0x178)](',\x20')+'\x22','kind':_0x2568c5[_0x3bc4d8(0x175)],'http_response':{}});};['trace']=(..._0xe870a9)=>{const _0xea4fed=a30_0x5dbd6f;this['logToTestOps'](LOG_LEVELS[_0xea4fed(0x174)],_0xe870a9);};[a30_0x5dbd6f(0x177)]=(..._0x294b8b)=>{const _0x4507e9=a30_0x5dbd6f;this['logToTestOps'](LOG_LEVELS[_0x4507e9(0x187)],_0x294b8b);};['info']=(..._0x35358f)=>{const _0x5c10af=a30_0x5dbd6f;this[_0x5c10af(0x17a)](LOG_LEVELS[_0x5c10af(0x17d)],_0x35358f);};[a30_0x5dbd6f(0x182)]=(..._0x1c3526)=>{const _0x5ecdb1=a30_0x5dbd6f;this[_0x5ecdb1(0x17a)](LOG_LEVELS[_0x5ecdb1(0x176)],_0x1c3526);};[a30_0x5dbd6f(0x17f)]=(..._0x409558)=>{const _0x32b29d=a30_0x5dbd6f;this[_0x32b29d(0x17a)](LOG_LEVELS[_0x32b29d(0x18c)],_0x409558);};['log']=(..._0x47b5bf)=>{const _0x4b9b6c=a30_0x5dbd6f;this[_0x4b9b6c(0x17a)](LOG_LEVELS['INFO'],_0x47b5bf);};};function a30_0x101b(_0x3e947e,_0xcf6276){const _0x37e31a=a30_0x37e3();return a30_0x101b=function(_0x101b1d,_0x8e077d){_0x101b1d=_0x101b1d-0x172;let _0xf2ee5=_0x37e31a[_0x101b1d];return _0xf2ee5;},a30_0x101b(_0x3e947e,_0xcf6276);}module['exports']=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a31_0xf518(_0x49c110,_0x2ddf52){const _0x42e247=a31_0x42e2();return a31_0xf518=function(_0xf518d9,_0x4b4b19){_0xf518d9=_0xf518d9-0x184;let _0x28709b=_0x42e247[_0xf518d9];return _0x28709b;},a31_0xf518(_0x49c110,_0x2ddf52);}const a31_0x123c9e=a31_0xf518;(function(_0x45d779,_0x2308c7){const _0x4f5485=a31_0xf518,_0x2cdc75=_0x45d779();while(!![]){try{const _0x4aabe5=parseInt(_0x4f5485(0x198))/0x1*(-parseInt(_0x4f5485(0x1a6))/0x2)+-parseInt(_0x4f5485(0x1ab))/0x3+-parseInt(_0x4f5485(0x189))/0x4+parseInt(_0x4f5485(0x1ad))/0x5+-parseInt(_0x4f5485(0x19c))/0x6+parseInt(_0x4f5485(0x184))/0x7*(parseInt(_0x4f5485(0x195))/0x8)+-parseInt(_0x4f5485(0x188))/0x9*(-parseInt(_0x4f5485(0x193))/0xa);if(_0x4aabe5===_0x2308c7)break;else _0x2cdc75['push'](_0x2cdc75['shift']());}catch(_0x38918c){_0x2cdc75['push'](_0x2cdc75['shift']());}}}(a31_0x42e2,0xefa33));const Transport=require(a31_0x123c9e(0x186)),{consoleHolder}=require('../mocha/test-observability/constants'),a31_0x1f38c8={};a31_0x1f38c8[a31_0x123c9e(0x19e)]=a31_0x123c9e(0x19e),a31_0x1f38c8['ERROR']='ERROR',a31_0x1f38c8[a31_0x123c9e(0x19a)]=a31_0x123c9e(0x19a),a31_0x1f38c8[a31_0x123c9e(0x1af)]=a31_0x123c9e(0x1af),a31_0x1f38c8[a31_0x123c9e(0x1b1)]=a31_0x123c9e(0x1b1);const LOG_LEVELS=a31_0x1f38c8;class logReportingAPI extends Transport{constructor(_0x433150){super(_0x433150);}[a31_0x123c9e(0x1ac)](_0x517110,_0x13daf5){const _0x435cd6=a31_0x123c9e,_0x2232ce={'fVjig':function(_0x33af21,_0x5b6dc9){return _0x33af21===_0x5b6dc9;},'CnGdm':_0x435cd6(0x1a0),'gCAjK':_0x435cd6(0x18b),'gnOfL':function(_0x11d02e,_0x4e17ac){return _0x11d02e(_0x4e17ac);},'ccrsY':function(_0x2d3fd3,_0xa9a2d7){return _0x2d3fd3===_0xa9a2d7;},'lECIX':'object','rAkZj':function(_0x61c030,_0x25242a){return _0x61c030!==_0x25242a;},'zuTNw':_0x435cd6(0x18e),'wNXjC':_0x435cd6(0x1a7),'HkpqK':'PBmfd','wijxN':function(_0x2c36c1){return _0x2c36c1();}};_0x2232ce[_0x435cd6(0x19f)](setImmediate,()=>{const _0x2bc2d8=_0x435cd6;_0x2232ce['fVjig'](_0x2232ce[_0x2bc2d8(0x194)],_0x2232ce[_0x2bc2d8(0x194)])?this['emit'](_0x2232ce[_0x2bc2d8(0x1ae)],_0x517110):this['logToTestOps'](_0x120c56['ERROR'],_0xe59857);});_0x2232ce[_0x435cd6(0x1a3)](typeof _0x517110,_0x2232ce[_0x435cd6(0x18f)])?_0x2232ce[_0x435cd6(0x197)](_0x2232ce[_0x435cd6(0x1aa)],_0x2232ce[_0x435cd6(0x18d)])?this[_0x435cd6(0x1a9)](_0x517110[_0x435cd6(0x19d)]||LOG_LEVELS[_0x435cd6(0x19e)],_0x517110[_0x435cd6(0x185)],![]):this['emit'](_0x2232ce['gCAjK'],_0x36c531):_0x2232ce[_0x435cd6(0x197)](_0x2232ce[_0x435cd6(0x1a1)],_0x2232ce[_0x435cd6(0x1a1)])?this['logToTestOps'](_0xd1f4bf[_0x435cd6(0x1b1)],_0xf39140):this[_0x435cd6(0x1a9)](LOG_LEVELS[_0x435cd6(0x19e)],_0x517110);if(_0x13daf5)_0x2232ce[_0x435cd6(0x199)](_0x13daf5);}[a31_0x123c9e(0x1a9)]=(_0x285f25=LOG_LEVELS[a31_0x123c9e(0x19e)],_0x5d5a50='',_0x56f82d=!![])=>{const _0x60aa15=a31_0x123c9e,_0xbafac4={};_0xbafac4[_0x60aa15(0x18a)]=_0x60aa15(0x190);const _0x246a2a=_0xbafac4;if(_0x56f82d)consoleHolder[_0x285f25[_0x60aa15(0x1b2)]()](_0x5d5a50);process[_0x60aa15(0x191)](_0x60aa15(0x19b)+process[_0x60aa15(0x196)],{'timestamp':new Date()[_0x60aa15(0x1a2)](),'level':_0x285f25[_0x60aa15(0x1a5)](),'message':_0x5d5a50,'kind':_0x246a2a['wInOW'],'http_response':{}});};['trace']=(_0x459fe9,_0x355484)=>{const _0x4f69ac=a31_0x123c9e;this[_0x4f69ac(0x1a9)](LOG_LEVELS['TRACE'],_0x459fe9);};[a31_0x123c9e(0x192)]=(_0x2bb241,_0x345554)=>{const _0x200405=a31_0x123c9e;this[_0x200405(0x1a9)](LOG_LEVELS['DEBUG'],_0x2bb241);};[a31_0x123c9e(0x1a4)]=(_0x59715f,_0x2a30e1)=>{const _0x5f206a=a31_0x123c9e;this[_0x5f206a(0x1a9)](LOG_LEVELS[_0x5f206a(0x19e)],_0x59715f);};[a31_0x123c9e(0x1a8)]=(_0x4024df,_0x39b699)=>{const _0x3bf170=a31_0x123c9e;this['logToTestOps'](LOG_LEVELS[_0x3bf170(0x1b1)],_0x4024df);};[a31_0x123c9e(0x1b0)]=(_0x4d3acd,_0x296542)=>{const _0x33850a=a31_0x123c9e;this[_0x33850a(0x1a9)](LOG_LEVELS[_0x33850a(0x18c)],_0x4d3acd);};};module[a31_0x123c9e(0x187)]=logReportingAPI;function a31_0x42e2(){const _0x434f45=['ZnSwa','HkpqK','toISOString','ccrsY','info','toUpperCase','2SDawDw','rYEaU','warn','logToTestOps','zuTNw','5744619irENVS','log','2544840OWLnOs','gCAjK','TRACE','error','WARN','toLowerCase','7TKcfMR','message','winston-transport','exports','9UpboqU','4943668yToxzb','wInOW','logged','ERROR','wNXjC','HIlke','lECIX','TEST_LOG','emit','debug','55313790afbYwF','CnGdm','3226216mYdErW','pid','rAkZj','612068hsUvwz','wijxN','DEBUG','bs:addLog:','10195266rClfSO','level','INFO','gnOfL'];a31_0x42e2=function(){return _0x434f45;};return a31_0x42e2();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function
|
|
2
|
+
'use strict';const a32_0x53d4a3=a32_0x58f1;function a32_0x4dc0(){const _0x1ccfbc=['kBoUP','4911575xZEflS','61340yOJFXT','5148036utiFsz','xItyU','proxySettings','join','ZSGHL','modifyBrowserStackCaps','esTgF','cwd','vanilla','Config\x20yml\x20is\x20required','UhSeW','push','dGhvu','5731299NQZZjP','3528NpBkLP','server','length','then','NGmFC','MCQBI','Kgrpe','573314LdvZTH','parallelsPerPlatform','config','hqhny','33576pEBpHL','49993120nZkfOT','JMmEa','NkVYv','QHEBF','QPKGN','../test-runner','12nQnhwC','../../helpers/BrowserStackSetup','file','../../helpers/helper','forEach','args','jRsNC','getPlatformName','5zcCjbp','xfnEj','vcLcb','../utils/constants','RsZTE','epmup','hubUrl','\x20doesn\x27t\x20exist','platforms','ZXCvh','configuration','BSVwF','EwBjR','useW3C','haqDa','QGwJU','UoXMa','modifyBrowserStackW3CCaps','cbyUT'];a32_0x4dc0=function(){return _0x1ccfbc;};return a32_0x4dc0();}(function(_0x1a33e2,_0x3f4ce0){const _0x4db127=a32_0x58f1,_0x332c1e=_0x1a33e2();while(!![]){try{const _0x2d62bc=parseInt(_0x4db127(0x107))/0x1*(-parseInt(_0x4db127(0xf4))/0x2)+parseInt(_0x4db127(0xff))/0x3*(parseInt(_0x4db127(0x11c))/0x4)+-parseInt(_0x4db127(0x11b))/0x5+-parseInt(_0x4db127(0x11d))/0x6+parseInt(_0x4db127(0xec))/0x7+-parseInt(_0x4db127(0xf8))/0x8*(parseInt(_0x4db127(0xed))/0x9)+parseInt(_0x4db127(0xf9))/0xa;if(_0x2d62bc===_0x3f4ce0)break;else _0x332c1e['push'](_0x332c1e['shift']());}catch(_0x1aabae){_0x332c1e['push'](_0x332c1e['shift']());}}}(a32_0x4dc0,0xea843));function a32_0x58f1(_0x18ccff,_0x5f3d72){const _0x4dc01c=a32_0x4dc0();return a32_0x58f1=function(_0x58f159,_0x4bed15){_0x58f159=_0x58f159-0xeb;let _0x1cf14b=_0x4dc01c[_0x58f159];return _0x1cf14b;},a32_0x58f1(_0x18ccff,_0x5f3d72);}const fs=require('fs'),{default:BrowserStackSetup}=require(a32_0x53d4a3(0x100)),helper=require(a32_0x53d4a3(0x102)),constants=require(a32_0x53d4a3(0x10a)),{parallelVanillaRun}=require(a32_0x53d4a3(0xfe));async function run(_0x2ac02b,_0x5b547f){const _0x801dfd=a32_0x53d4a3,_0x1d5055={'UhSeW':_0x801dfd(0x125),'epmup':function(_0x160478,_0xc59a18){return _0x160478!==_0xc59a18;},'cbyUT':_0x801dfd(0x117),'xfnEj':_0x801dfd(0xeb),'DjpeI':'JyAeO','NGmFC':_0x801dfd(0x123),'xeldt':function(_0x4cd810,_0x451686){return _0x4cd810(_0x451686);},'MCQBI':'File\x20path\x20is\x20required','xItyU':function(_0x586c95,_0x3e534b){return _0x586c95(_0x3e534b);},'Kgrpe':_0x801dfd(0x126),'hqhny':function(_0x45c7d4,_0x238cda){return _0x45c7d4>_0x238cda;},'NkVYv':_0x801dfd(0x116),'FucsU':_0x801dfd(0xfc),'BSVwF':function(_0x193de5,_0x244657){return _0x193de5>_0x244657;},'ZXCvh':function(_0x290353,_0x2073df){return _0x290353===_0x2073df;},'haqDa':_0x801dfd(0xfd),'JMmEa':_0x801dfd(0x11a),'EwBjR':_0x801dfd(0x121),'vBkHB':function(_0x41eed2,_0x39a40e){return _0x41eed2*_0x39a40e;},'vcLcb':function(_0x626e71,_0x35923,_0x3a075f){return _0x626e71(_0x35923,_0x3a075f);}},_0x491948=new BrowserStackSetup(_0x2ac02b,_0x1d5055[_0x801dfd(0x127)]);let _0x3767e3=[];if(helper['isUndefined'](_0x2ac02b['_'][0x1]))throw _0x1d5055['xeldt'](Error,_0x1d5055[_0x801dfd(0xf2)]);const _0x1fd3dc=path[_0x801dfd(0x120)](process[_0x801dfd(0x124)](),_0x2ac02b['_'][0x1]);if(!fs['existsSync'](_0x1fd3dc))throw _0x1d5055['xeldt'](Error,'File\x20'+_0x2ac02b['_'][0x1]+_0x801dfd(0x10e));if(!_0x491948[_0x801dfd(0xf6)])throw _0x1d5055[_0x801dfd(0x11e)](Error,_0x1d5055[_0x801dfd(0xf3)]);let _0x3fed96=helper[_0x801dfd(0x114)](_0x491948[_0x801dfd(0xf6)]);_0x491948[_0x801dfd(0xf6)][_0x801dfd(0x10f)]&&_0x1d5055[_0x801dfd(0xf7)](_0x491948['config']['platforms'][_0x801dfd(0xef)],0x0)&&(_0x1d5055[_0x801dfd(0x10c)](_0x1d5055[_0x801dfd(0xfb)],_0x1d5055['FucsU'])?_0x491948[_0x801dfd(0xf6)]['platforms'][_0x801dfd(0x103)]((_0x2a35a1,_0x48d1e8)=>{const _0x4ab787=_0x801dfd,_0x100aaa={};_0x100aaa['GNyUh']=_0x1d5055['UhSeW'];const _0x34552d=_0x100aaa;if(_0x1d5055[_0x4ab787(0x10c)](_0x1d5055[_0x4ab787(0x119)],_0x1d5055[_0x4ab787(0x108)])){if(_0x3fed96)_0x3767e3[_0x4ab787(0x128)](helper[_0x4ab787(0x118)](_0x491948[_0x4ab787(0xf6)],_0x1d5055['UhSeW'],_0x48d1e8));else _0x3767e3[_0x4ab787(0x128)](helper[_0x4ab787(0x122)](_0x491948[_0x4ab787(0xf6)],_0x1d5055[_0x4ab787(0x127)],_0x48d1e8));}else{const _0x91d1b4={};_0x91d1b4[_0x4ab787(0x105)]=_0x34552d['GNyUh'];const _0x30f879=_0x91d1b4;_0x500886['config'][_0x4ab787(0x10f)][_0x4ab787(0x103)]((_0x356dd0,_0x5986b2)=>{const _0x4551f2=_0x4ab787;if(_0x4b20e8)_0x39c6f2[_0x4551f2(0x128)](_0x47384e[_0x4551f2(0x118)](_0x4b6035[_0x4551f2(0xf6)],_0x30f879[_0x4551f2(0x105)],_0x5986b2));else _0x51f5a7[_0x4551f2(0x128)](_0x2d2568[_0x4551f2(0x122)](_0x27c2c7[_0x4551f2(0xf6)],_0x30f879['jRsNC'],_0x5986b2));});}}):_0x4296c6['forEach'](_0xc1d0ae=>{const _0x4afd87=_0x801dfd;_0x22e8ab={'server':_0xd570e1[_0x4afd87(0x10d)],'proxySettings':_0xf3b0b[_0x4afd87(0xf6)][_0x4afd87(0x11f)],'platform':_0x32cac9['getPlatformName'](_0xc1d0ae)};const _0xcf0515={'capability':_0xc1d0ae,..._0x32f0f3};_0xcf0515[_0x4afd87(0x101)]=_0x1c5e9a,_0xcf0515['args']=_0x2da2eb;const _0x56083a={};_0x56083a[_0x4afd87(0x111)]=_0xcf0515,_0xb556a1=_0x56083a,_0x398cf6['push'](_0x46fcd8);}));let _0x1a3e12,_0x53749c;const _0x12be3c=[];if(_0x1d5055[_0x801dfd(0x112)](_0x3767e3[_0x801dfd(0xef)],0x0)){if(_0x1d5055[_0x801dfd(0x110)](_0x1d5055[_0x801dfd(0x115)],_0x1d5055[_0x801dfd(0x115)]))_0x3767e3[_0x801dfd(0x103)](_0x29de4a=>{const _0x269f65=_0x801dfd,_0x556706={};_0x556706[_0x269f65(0x10b)]=_0x1d5055[_0x269f65(0x127)];const _0xe63266=_0x556706;if(_0x1d5055[_0x269f65(0x10c)](_0x1d5055['DjpeI'],_0x1d5055[_0x269f65(0xf1)])){_0x1a3e12={'server':constants[_0x269f65(0x10d)],'proxySettings':_0x491948['config'][_0x269f65(0x11f)],'platform':helper[_0x269f65(0x106)](_0x29de4a)};const _0xd36970={'capability':_0x29de4a,..._0x1a3e12};_0xd36970[_0x269f65(0x101)]=_0x1fd3dc,_0xd36970['args']=_0x5b547f;const _0x13cbb4={};_0x13cbb4['configuration']=_0xd36970,_0x53749c=_0x13cbb4,_0x12be3c[_0x269f65(0x128)](_0x53749c);}else{let _0x3a059d;if(_0x22fd69)_0x3a059d=_0x2722a4[_0x269f65(0x118)](_0x15654c[_0x269f65(0xf6)],_0xe63266[_0x269f65(0x10b)],0x0);else _0x3a059d=_0x5bd0d6[_0x269f65(0x122)](_0x3154e3[_0x269f65(0xf6)],_0xe63266[_0x269f65(0x10b)],0x0);const _0x38b05f={};_0x38b05f['server']=_0x226e3f[_0x269f65(0x10d)],_0x38b05f[_0x269f65(0x11f)]=_0x59eca5[_0x269f65(0xf6)]['proxySettings'],_0x4b8c23=_0x38b05f;const _0x4431df={'capability':_0x3a059d,..._0xa0b207};_0x4431df[_0x269f65(0x101)]=_0x57eb6b,_0x4431df['args']=_0x122914;const _0x1c649f={};_0x1c649f[_0x269f65(0x111)]=_0x4431df,_0x112c29=_0x1c649f,_0x2a1b62[_0x269f65(0x128)](_0x212f0f);}});else{_0x1b7e7c={'server':_0x4b7637[_0x801dfd(0x10d)],'proxySettings':_0x9da874[_0x801dfd(0xf6)][_0x801dfd(0x11f)],'platform':_0x4b8d6f[_0x801dfd(0x106)](_0x2f7bf3)};const _0x4e160c={'capability':_0x4a1b58,..._0x206c62};_0x4e160c[_0x801dfd(0x101)]=_0x5089e4,_0x4e160c[_0x801dfd(0x104)]=_0x328020;const _0x199105={};_0x199105['configuration']=_0x4e160c,_0x19e53e=_0x199105,_0x23def2['push'](_0x236019);}}else{if(_0x1d5055[_0x801dfd(0x110)](_0x1d5055[_0x801dfd(0xfa)],_0x1d5055[_0x801dfd(0x113)])){if(_0x51bfdb)_0x1bb39c[_0x801dfd(0x128)](_0x4f9081['modifyBrowserStackW3CCaps'](_0x190fdf[_0x801dfd(0xf6)],_0x1d5055['UhSeW'],_0x53b6de));else _0x4e5dca['push'](_0x312bc3[_0x801dfd(0x122)](_0x184175['config'],_0x1d5055[_0x801dfd(0x127)],_0x230496));}else{let _0x1df58c;if(_0x3fed96)_0x1df58c=helper[_0x801dfd(0x118)](_0x491948[_0x801dfd(0xf6)],_0x1d5055[_0x801dfd(0x127)],0x0);else _0x1df58c=helper[_0x801dfd(0x122)](_0x491948[_0x801dfd(0xf6)],_0x1d5055[_0x801dfd(0x127)],0x0);const _0x13893d={};_0x13893d[_0x801dfd(0xee)]=constants[_0x801dfd(0x10d)],_0x13893d[_0x801dfd(0x11f)]=_0x491948[_0x801dfd(0xf6)][_0x801dfd(0x11f)],_0x1a3e12=_0x13893d;const _0x47592d={'capability':_0x1df58c,..._0x1a3e12};_0x47592d[_0x801dfd(0x101)]=_0x1fd3dc,_0x47592d[_0x801dfd(0x104)]=_0x5b547f;const _0x19f50a={};_0x19f50a['configuration']=_0x47592d,_0x53749c=_0x19f50a,_0x12be3c[_0x801dfd(0x128)](_0x53749c);}}const _0x4d9b27=_0x1d5055['vBkHB'](_0x491948['config']['platforms'][_0x801dfd(0xef)]||0x1,_0x491948[_0x801dfd(0xf6)][_0x801dfd(0xf5)]);_0x1d5055[_0x801dfd(0x109)](parallelVanillaRun,_0x12be3c,_0x4d9b27)[_0x801dfd(0xf0)](_0x5679ad=>{})['finally'](async()=>{await helper['finalExecution'](_0x491948);});}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a33_0x734e(){const _0x44bcaf=['EIwKp','getUserName','faVjh','parallelsPerPlatform','KowVF','bbgBr','oAkFv','jgWyp','cliConfig','env','ahJKS','ppzXL','useW3C','abQDR','nadEh','crPPF','gnLMr','getConfigPath','message','getLocalConfig','232nKIVeN','YFqjA','info','vxZtF','selenium-webdriver','handleExceptions','warn','xwuHr','oUJWu','../bin/utils/constants','localIdentifier','XkAcX','PgCLZ','readConfig','XIGcj','DrGOm','feUkV','setEnvCaps','browserStackLocalOptions','kHlzt','mTWNu','UjEQv','getPackageVersion','fireFunnelTestEvent','Vwnsy','kRzRN','483672CwcoIO','WUshq','beforeExit','uKDSa','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','wXjPR','HOgEV','SIGINT','isUndefined','IkZYO','Gknvu','ZNLhP','dRSjV','cvrtM','PSPKu','wdIQk','hBGII','generateLocalIdentifier','constructor','stopBrowserstackLocal','NKudo','envConfig','yiSlJ','./setKeepAlive','SzDjg','cxpqr','OIdpz','78943WHgqCx','platforms','VzAGm','debug','DQsQw','config','498768EuxnYT','ZZttM','aZuHx','ISMiW','ZqIPz','unhandledRejection','nUiaf','UNWmH','ceKPh','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','GVzyr','CjFeD','LBlNi','SDKTestSuccessful','SGjOq','winstonLogger','SpldO','getFinalCaps','gEsJz','12705taHdmL','ozBIG','FRAMEWORK','KqqSP','NekxA','uncaughtException','pygGz','QEhOU','1400292NgiMHP','ppTMG','sanitizeCaps','EYLDy','ymqBO','No\x20config\x20provided.','setupKeepAlive','sRSHf','Ntsek','jCKBt','qBhME','ICkEu','602wCbCXy','../bin/mocha/test-observability/helper','UQmCf','QgOez','setupBrowserstackLocal','Local\x20binary\x20started\x20successfully','GLvvY','DLbWI','TfjMQ','618200dhkKNI','stopLocalBinary','jAiBH','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','length','vVsxI','fBOrt','EEJRi','diFZU','17826XQIzNO','setCLICaps','uYkSt','PmkjB','default','fjpJI','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','ttqzE','tcMcC','jsUqJ','Ewjnv','SDKTestAttempted','vkVHo','browserstackLocal','uSnJg','framework','error','userName\x20or\x20accessKey\x20is\x20not\x20defined','AqJup','uAUlX','toString','SIGTERM','Error\x20occured\x20while\x20stopping\x20local\x20binary','ofhVr','INcrs','qVUcr','fINus','sgjLs','mfQzR','isRunning'];a33_0x734e=function(){return _0x44bcaf;};return a33_0x734e();}function a33_0x3f0c(_0x15cd1a,_0x4fabfc){const _0x734ee=a33_0x734e();return a33_0x3f0c=function(_0x3f0c57,_0xc8e0ca){_0x3f0c57=_0x3f0c57-0x19c;let _0x224126=_0x734ee[_0x3f0c57];return _0x224126;},a33_0x3f0c(_0x15cd1a,_0x4fabfc);}const a33_0x28e2c7=a33_0x3f0c;(function(_0x352d6a,_0x1b6275){const _0xd80a51=a33_0x3f0c,_0x2874be=_0x352d6a();while(!![]){try{const _0x41bac4=parseInt(_0xd80a51(0x1d9))/0x1+parseInt(_0xd80a51(0x1df))/0x2+parseInt(_0xd80a51(0x1be))/0x3+-parseInt(_0xd80a51(0x1a4))/0x4*(-parseInt(_0xd80a51(0x1f2))/0x5)+-parseInt(_0xd80a51(0x218))/0x6*(parseInt(_0xd80a51(0x206))/0x7)+-parseInt(_0xd80a51(0x20f))/0x8+-parseInt(_0xd80a51(0x1fa))/0x9;if(_0x41bac4===_0x1b6275)break;else _0x2874be['push'](_0x2874be['shift']());}catch(_0x146a99){_0x2874be['push'](_0x2874be['shift']());}}}(a33_0x734e,0x24450));const logger=require('./logger')[a33_0x28e2c7(0x1ee)],helper=require('./helper'),Constants=require(a33_0x28e2c7(0x1ad)),{isBrowserstackInfra}=require(a33_0x28e2c7(0x207));class BrowserStackSetup{constructor(_0x3b6906,_0x18533a){const _0x1298a6=a33_0x28e2c7,_0x575c9b={'YFqjA':function(_0x25eb21,_0x5af847){return _0x25eb21===_0x5af847;},'fINus':'SDKTestSuccessful','vVsxI':_0x1298a6(0x1e4),'EYLDy':_0x1298a6(0x1f7),'sRSHf':_0x1298a6(0x229),'hBGII':_0x1298a6(0x223),'xRIax':_0x1298a6(0x22e),'ZCNKV':_0x1298a6(0x212),'ahJKS':_0x1298a6(0x1ff),'yjTUa':function(_0x2401da){return _0x2401da();},'PgCLZ':function(_0x5856ee,_0x1e7178){return _0x5856ee!==_0x1e7178;},'jgWyp':_0x1298a6(0x1b9),'MuOgr':_0x1298a6(0x208),'AqJup':_0x1298a6(0x21d),'jAiBH':_0x1298a6(0x1f5),'NekxA':_0x1298a6(0x202),'mTWNu':'WMALq','KNZTO':function(_0x27775b){return _0x27775b();},'dRSjV':function(_0x522606,_0x3042ad){return _0x522606!==_0x3042ad;},'gEsJz':_0x1298a6(0x1f8),'SiPFy':_0x1298a6(0x204),'oUJWu':function(_0x18bbe3,_0x112793){return _0x18bbe3<_0x112793;},'CjFeD':function(_0x14526f,_0x47b125){return _0x14526f(_0x47b125);},'DrGOm':_0x1298a6(0x1a8),'EIwKp':_0x1298a6(0x1c7),'jCKBt':_0x1298a6(0x1cd),'jdnpN':function(_0x2ee292,_0x40049b){return _0x2ee292>=_0x40049b;},'SGjOq':function(_0x4000ff,_0x179633){return _0x4000ff(_0x179633);},'GVzyr':_0x1298a6(0x1c8),'KowVF':function(_0x2e7bc1,_0x253962){return _0x2e7bc1===_0x253962;},'SzDjg':_0x1298a6(0x1a7),'gtuDh':'CHDbT','nUiaf':function(_0x6cb24,_0x419688){return _0x6cb24===_0x419688;},'KejNQ':'XPAaz','HOgEV':_0x1298a6(0x1c1),'shpgV':function(_0x8e2749,_0x46f44f){return _0x8e2749===_0x46f44f;},'PmkjB':_0x1298a6(0x22b),'yiSlJ':'aWHxc','DQsQw':_0x1298a6(0x1e8),'vkVHo':function(_0x12776c,_0x44dbf0){return _0x12776c===_0x44dbf0;},'TfjMQ':_0x1298a6(0x1e3),'rIplx':_0x1298a6(0x1bd),'qVUcr':function(_0x3d9baf,_0x29d973){return _0x3d9baf!==_0x29d973;},'hZbzD':_0x1298a6(0x1cb),'ZleEj':function(_0x24b675,_0x383884){return _0x24b675===_0x383884;},'uSnJg':_0x1298a6(0x1e1),'INcrs':_0x1298a6(0x1d2),'oPFzW':function(_0x481903,_0x448e1e){return _0x481903!==_0x448e1e;},'Ewjnv':_0x1298a6(0x1bc),'oAkFv':'lnvWz','PSPKu':function(_0x1b0059,_0x15ca8d){return _0x1b0059!==_0x15ca8d;},'jsUqJ':'oXjAN'};this['cliConfig']=helper[_0x1298a6(0x219)](_0x3b6906),this[_0x1298a6(0x1d3)]=helper[_0x1298a6(0x1b5)](),this[_0x1298a6(0x225)]=null,this[_0x1298a6(0x1de)]=helper[_0x1298a6(0x1b1)](helper[_0x1298a6(0x1a1)](_0x3b6906)),helper[_0x1298a6(0x1fc)](this['config']),this[_0x1298a6(0x227)]=_0x18533a;if(helper[_0x1298a6(0x1c6)](this[_0x1298a6(0x1de)]))throw new Error(_0x575c9b[_0x1298a6(0x240)]);if(this[_0x1298a6(0x1de)][_0x1298a6(0x228)])throw new Error(this[_0x1298a6(0x1de)][_0x1298a6(0x228)]);helper[_0x1298a6(0x1f0)](this['config'],this['cliConfig'],this[_0x1298a6(0x1d3)]),this[_0x1298a6(0x1a9)]();if(!_0x575c9b['yjTUa'](isBrowserstackInfra)){if(_0x575c9b[_0x1298a6(0x1b0)](_0x575c9b[_0x1298a6(0x23d)],_0x575c9b['MuOgr']))try{_0x575c9b[_0x1298a6(0x1a5)](_0x575c9b[_0x1298a6(0x22a)],_0x575c9b[_0x1298a6(0x211)])?this[_0x1298a6(0x1de)][_0x1298a6(0x19c)]=![]:(process[_0x1298a6(0x23f)][_0x1298a6(0x1f4)]=_0x18533a,helper[_0x1298a6(0x1bb)](_0x575c9b['hBGII'],{},this[_0x1298a6(0x1de)],this[_0x1298a6(0x227)]));}catch(_0x3c06fe){_0x575c9b[_0x1298a6(0x1a5)](_0x575c9b[_0x1298a6(0x1f6)],_0x575c9b[_0x1298a6(0x1b8)])?this[_0x1298a6(0x1de)]['browserStackLocalOptions']={'localIdentifier':_0x364549[_0x1298a6(0x1cf)]()}:logger[_0x1298a6(0x1dc)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x3c06fe);}else{_0x50087b[_0x1298a6(0x1dc)](_0x3c987b);throw new _0x2bf1b8(_0x253ff4[_0x1298a6(0x22c)]());}}if(!_0x575c9b['KNZTO'](isBrowserstackInfra))return;if(helper['requireSeleniumWebdriverCheck'](_0x18533a)){if(_0x575c9b[_0x1298a6(0x1ca)](_0x575c9b[_0x1298a6(0x1f1)],_0x575c9b['SiPFy'])){_0x575c9b[_0x1298a6(0x1ac)](_0x575c9b[_0x1298a6(0x1ea)](parseInt,helper[_0x1298a6(0x1ba)](_0x575c9b[_0x1298a6(0x1b3)])),0x3)&&(_0x575c9b[_0x1298a6(0x1a5)](_0x575c9b[_0x1298a6(0x236)],_0x575c9b[_0x1298a6(0x203)])?!_0x8c4596[_0x1298a6(0x1c6)](this[_0x1298a6(0x1de)][_0x1298a6(0x1b6)])&&_0x575c9b[_0x1298a6(0x1a5)](this[_0x1298a6(0x1de)][_0x1298a6(0x1b6)][_0x1298a6(0x1d0)],_0x431e54)?this[_0x1298a6(0x1de)][_0x1298a6(0x1b6)][_0x1298a6(0x1ae)]=_0x1551c8['generateLocalIdentifier']():this[_0x1298a6(0x1de)][_0x1298a6(0x1b6)]={'localIdentifier':_0x5be42d[_0x1298a6(0x1cf)]()}:this[_0x1298a6(0x1de)]['useW3C']=![]);if(_0x575c9b['jdnpN'](_0x575c9b[_0x1298a6(0x1ed)](parseInt,helper[_0x1298a6(0x1ba)](_0x575c9b[_0x1298a6(0x1b3)])),4.5)){if(_0x575c9b['PgCLZ'](_0x575c9b['GVzyr'],_0x575c9b[_0x1298a6(0x1e9)])){const _0x38cecd={};_0x38cecd[_0x1298a6(0x1c3)]=_0x575c9b[_0x1298a6(0x232)];const _0x263d6a=_0x38cecd,_0x5e986f=_0x513bab=>{const _0x310825=_0x1298a6;_0x2c086a['error'](_0x513bab['message']),_0x5c2538['debug'](_0x513bab);const _0x2c4000={};_0x2c4000[_0x310825(0x228)]=_0x513bab['message'];const _0x5eddeb=_0x2c4000;try{_0x398156[_0x310825(0x1bb)](_0x263d6a[_0x310825(0x1c3)],_0x5eddeb,this[_0x310825(0x1de)],this['framework']);}catch(_0x1c38e1){_0x5add88['debug'](_0x310825(0x1c2)+_0x1c38e1);}};_0x192f90['on'](_0x575c9b[_0x1298a6(0x214)],_0x5e986f),_0x3a4133['on'](_0x575c9b[_0x1298a6(0x1fd)],_0x5e986f);}else this[_0x1298a6(0x1de)][_0x1298a6(0x19c)]=!![];}}else throw new _0x4f42a1(_0x575c9b['sRSHf']);}if(helper[_0x1298a6(0x1c6)](this[_0x1298a6(0x1de)][_0x1298a6(0x1da)])||helper[_0x1298a6(0x1c6)](this[_0x1298a6(0x1de)][_0x1298a6(0x1da)][_0x1298a6(0x213)])){if(_0x575c9b[_0x1298a6(0x23a)](_0x575c9b[_0x1298a6(0x1d6)],_0x575c9b['gtuDh']))try{_0x28351d[_0x1298a6(0x23f)][_0x1298a6(0x1f4)]=_0x54b25e,_0x21f713[_0x1298a6(0x1bb)](_0x575c9b[_0x1298a6(0x1ce)],{},this[_0x1298a6(0x1de)],this[_0x1298a6(0x227)]);}catch(_0x4b8c94){_0x205a90[_0x1298a6(0x1dc)](_0x1298a6(0x21e)+_0x4b8c94);}else helper[_0x1298a6(0x1c6)](this[_0x1298a6(0x1de)][_0x1298a6(0x239)])?_0x575c9b[_0x1298a6(0x1e5)](_0x575c9b['KejNQ'],_0x575c9b[_0x1298a6(0x1c4)])?_0x203df5[_0x1298a6(0x228)](_0x575c9b['xRIax'],_0x574381['message']):logger[_0x1298a6(0x1a6)](_0x575c9b['ZCNKV']):_0x575c9b['shpgV'](_0x575c9b[_0x1298a6(0x21b)],_0x575c9b[_0x1298a6(0x1d4)])?_0x4383b7[_0x1298a6(0x1dc)](_0x1298a6(0x1c2)+_0xd4065):logger[_0x1298a6(0x1aa)](_0x575c9b[_0x1298a6(0x1dd)]),this[_0x1298a6(0x1de)][_0x1298a6(0x1da)]=[];}!this[_0x1298a6(0x1de)][_0x1298a6(0x1b6)]&&(this[_0x1298a6(0x1de)][_0x1298a6(0x1b6)]=this[_0x1298a6(0x1de)]['localOptions']||{});if(helper['isUndefined'](helper[_0x1298a6(0x237)](this['config']))||helper[_0x1298a6(0x1c6)](helper['getAccessKey'](this[_0x1298a6(0x1de)]))){if(_0x575c9b[_0x1298a6(0x224)](_0x575c9b[_0x1298a6(0x20e)],_0x575c9b['rIplx']))_0x565611[_0x1298a6(0x1a6)](_0x575c9b['ZCNKV']);else throw new Error(_0x575c9b[_0x1298a6(0x201)]);}helper[_0x1298a6(0x1a3)](this[_0x1298a6(0x1de)])&&helper['isUndefined'](helper['getLocalIdentifier'](this[_0x1298a6(0x1de)]))&&(_0x575c9b[_0x1298a6(0x231)](_0x575c9b['hZbzD'],_0x575c9b['hZbzD'])?_0x46b6ab[_0x1298a6(0x1bb)](_0x575c9b[_0x1298a6(0x232)],_0xf7a7f2,this[_0x1298a6(0x1de)],this[_0x1298a6(0x227)]):!helper[_0x1298a6(0x1c6)](this[_0x1298a6(0x1de)][_0x1298a6(0x1b6)])&&_0x575c9b['ZleEj'](this[_0x1298a6(0x1de)]['browserStackLocalOptions']['constructor'],Object)?_0x575c9b[_0x1298a6(0x231)](_0x575c9b[_0x1298a6(0x226)],_0x575c9b['uSnJg'])?this[_0x1298a6(0x1de)][_0x1298a6(0x19c)]=!![]:this['config'][_0x1298a6(0x1b6)][_0x1298a6(0x1ae)]=helper[_0x1298a6(0x1cf)]():_0x575c9b[_0x1298a6(0x1b0)](_0x575c9b['INcrs'],_0x575c9b[_0x1298a6(0x230)])?(_0x1a4015['env'][_0x1298a6(0x1f4)]=_0x2b7540['_'][0x0],_0x11a57a['fireFunnelTestEvent'](_0x575c9b[_0x1298a6(0x1ce)],{},this[_0x1298a6(0x1de)],this['framework'])):this[_0x1298a6(0x1de)][_0x1298a6(0x1b6)]={'localIdentifier':helper[_0x1298a6(0x1cf)]()});helper['setLogLevel'](this[_0x1298a6(0x1de)],this[_0x1298a6(0x23e)],this[_0x1298a6(0x1d3)]),helper['setProxySettings'](this[_0x1298a6(0x1de)]);try{_0x575c9b['oPFzW'](_0x575c9b[_0x1298a6(0x222)],_0x575c9b[_0x1298a6(0x23c)])?(process[_0x1298a6(0x23f)][_0x1298a6(0x1f4)]=_0x3b6906['_'][0x0],helper['fireFunnelTestEvent'](_0x575c9b['hBGII'],{},this[_0x1298a6(0x1de)],this[_0x1298a6(0x227)])):_0x32887b[_0x1298a6(0x1dc)](_0x1298a6(0x21e)+_0x68d7d9);}catch(_0x1254bc){_0x575c9b[_0x1298a6(0x1cc)](_0x575c9b['jsUqJ'],_0x575c9b[_0x1298a6(0x221)])?(_0x5ef1a8[_0x1298a6(0x23f)][_0x1298a6(0x1f4)]=_0x420a7f,_0x904ed3[_0x1298a6(0x1bb)](_0x575c9b[_0x1298a6(0x1ce)],{},this[_0x1298a6(0x1de)],this[_0x1298a6(0x227)])):logger['debug'](_0x1298a6(0x21e)+_0x1254bc);}this[_0x1298a6(0x20a)](),this[_0x1298a6(0x200)]();}[a33_0x28e2c7(0x20a)](){const _0x388e3a=a33_0x28e2c7,_0x1f69d4={};_0x1f69d4[_0x388e3a(0x241)]=function(_0x49c875,_0x939d7a){return _0x49c875===_0x939d7a;},_0x1f69d4[_0x388e3a(0x1fb)]=_0x388e3a(0x1bf),_0x1f69d4['crPPF']=function(_0x29fc71,_0x228b3f){return _0x29fc71==_0x228b3f;},_0x1f69d4['ICkEu']='Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined',_0x1f69d4[_0x388e3a(0x1e0)]=_0x388e3a(0x1e8),_0x1f69d4[_0x388e3a(0x21a)]='SDKTestSuccessful',_0x1f69d4['ceKPh']=function(_0x949c9b,_0x1f6ab3){return _0x949c9b!==_0x1f6ab3;},_0x1f69d4[_0x388e3a(0x20d)]='oAUGM',_0x1f69d4['ymqBO']=_0x388e3a(0x1b7),_0x1f69d4[_0x388e3a(0x20c)]=_0x388e3a(0x234),_0x1f69d4[_0x388e3a(0x1db)]=_0x388e3a(0x1c9),_0x1f69d4['OIdpz']=_0x388e3a(0x20b),_0x1f69d4[_0x388e3a(0x233)]=_0x388e3a(0x1c0),_0x1f69d4[_0x388e3a(0x1d7)]=_0x388e3a(0x1c5),_0x1f69d4['tcMcC']=_0x388e3a(0x22d),_0x1f69d4[_0x388e3a(0x1a0)]=_0x388e3a(0x1ab);const _0x264dbc=_0x1f69d4;if(_0x264dbc['crPPF'](this['config'][_0x388e3a(0x225)],!![])&&(!this[_0x388e3a(0x225)]||!this['browserstackLocal']['isRunning']())){if(_0x264dbc['ceKPh'](_0x264dbc['DLbWI'],_0x264dbc[_0x388e3a(0x1fe)]))try{if(_0x264dbc[_0x388e3a(0x1e7)](_0x264dbc[_0x388e3a(0x20c)],_0x264dbc[_0x388e3a(0x1db)])){this[_0x388e3a(0x225)]=helper['startLocalBinarySync'](this['config']),logger['info'](_0x264dbc[_0x388e3a(0x1d8)]);let _0x2578c5=0x0;const _0x1db246=async()=>{const _0x25381a=_0x388e3a;_0x264dbc[_0x25381a(0x241)](_0x264dbc['ppTMG'],_0x264dbc['ppTMG'])?(_0x2578c5++,_0x264dbc[_0x25381a(0x19f)](_0x2578c5,0x1)&&await this['stopBrowserstackLocal']()):this[_0x25381a(0x1de)][_0x25381a(0x1b6)][_0x25381a(0x1ae)]=_0xe5f6c4[_0x25381a(0x1cf)]();};process['on'](_0x264dbc['sgjLs'],_0x1db246),process['on'](_0x264dbc[_0x388e3a(0x1d7)],_0x1db246),process['on'](_0x264dbc[_0x388e3a(0x220)],_0x1db246);}else _0x8e72ef[_0x388e3a(0x1c6)](this[_0x388e3a(0x1de)][_0x388e3a(0x239)])?_0xfa6334[_0x388e3a(0x1a6)](_0x264dbc[_0x388e3a(0x205)]):_0x453db0[_0x388e3a(0x1aa)](_0x264dbc[_0x388e3a(0x1e0)]),this[_0x388e3a(0x1de)][_0x388e3a(0x1da)]=[];}catch(_0xae99a4){if(_0x264dbc[_0x388e3a(0x1e7)](_0x264dbc[_0x388e3a(0x1a0)],_0x264dbc[_0x388e3a(0x1a0)]))_0x52d7cc['warn'](_0x264dbc[_0x388e3a(0x1e0)]);else{logger[_0x388e3a(0x1dc)](_0xae99a4);throw new Error(_0xae99a4[_0x388e3a(0x22c)]());}}else{_0x35659b['error'](_0x6a8aa5['message']),_0x2a67a1[_0x388e3a(0x1dc)](_0x494871);const _0x53fc1f={};_0x53fc1f[_0x388e3a(0x228)]=_0x1666e2['message'];const _0x1f1deb=_0x53fc1f;try{_0x3018d8[_0x388e3a(0x1bb)](_0x264dbc[_0x388e3a(0x21a)],_0x1f1deb,this[_0x388e3a(0x1de)],this[_0x388e3a(0x227)]);}catch(_0x136563){_0x4ca111[_0x388e3a(0x1dc)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x136563);}}}}async[a33_0x28e2c7(0x1d1)](){const _0xfcb5cd=a33_0x28e2c7,_0x176a02={'ISMiW':function(_0x30b0e0,_0x14c86c){return _0x30b0e0<_0x14c86c;},'bbgBr':function(_0x26a024,_0x4ab566){return _0x26a024(_0x4ab566);},'LAoTZ':_0xfcb5cd(0x1a8),'faVjh':function(_0x151bbf,_0x5c1aa1){return _0x151bbf>=_0x5c1aa1;},'XkAcX':function(_0x4cee52,_0x1255cf){return _0x4cee52(_0x1255cf);},'ozBIG':_0xfcb5cd(0x1d5),'hpPra':function(_0x37284a,_0x4f016e){return _0x37284a!==_0x4f016e;},'UNWmH':_0xfcb5cd(0x217),'QgOez':function(_0x298f99,_0x387441){return _0x298f99===_0x387441;},'fBOrt':_0xfcb5cd(0x19e),'ofhVr':'Local\x20binary\x20stopped','SpldO':'tpkfO','QEhOU':_0xfcb5cd(0x1eb),'ejxhi':_0xfcb5cd(0x22e)};if(this[_0xfcb5cd(0x225)]&&this[_0xfcb5cd(0x225)][_0xfcb5cd(0x235)]()){if(_0x176a02['hpPra'](_0x176a02[_0xfcb5cd(0x1e6)],_0x176a02[_0xfcb5cd(0x1e6)]))_0x176a02[_0xfcb5cd(0x1e2)](_0x176a02[_0xfcb5cd(0x23b)](_0x5f47a5,_0x55d7bd[_0xfcb5cd(0x1ba)](_0x176a02['LAoTZ'])),0x3)&&(this[_0xfcb5cd(0x1de)][_0xfcb5cd(0x19c)]=![]),_0x176a02[_0xfcb5cd(0x238)](_0x176a02['XkAcX'](_0x5239c0,_0x507f95[_0xfcb5cd(0x1ba)](_0x176a02['LAoTZ'])),4.5)&&(this[_0xfcb5cd(0x1de)][_0xfcb5cd(0x19c)]=!![]);else try{_0x176a02[_0xfcb5cd(0x209)](_0x176a02['fBOrt'],_0x176a02[_0xfcb5cd(0x215)])?(await helper[_0xfcb5cd(0x210)](this[_0xfcb5cd(0x225)]),logger[_0xfcb5cd(0x1a6)](_0x176a02[_0xfcb5cd(0x22f)])):_0x94274f['debug'](_0xfcb5cd(0x21e)+_0x5aae8d);}catch(_0xaff617){_0x176a02['hpPra'](_0x176a02[_0xfcb5cd(0x1ef)],_0x176a02[_0xfcb5cd(0x1f9)])?logger[_0xfcb5cd(0x228)](_0x176a02['ejxhi'],_0xaff617[_0xfcb5cd(0x1a2)]):_0x176a02[_0xfcb5cd(0x1af)](_0x5f4583,_0x176a02[_0xfcb5cd(0x1f3)])();}}}['setupKeepAlive'](){const _0xd8b393=a33_0x28e2c7,_0xf890e8={'abQDR':function(_0xfe177d,_0x42c3d3){return _0xfe177d(_0x42c3d3);},'XIGcj':'./setKeepAlive'};_0xf890e8[_0xd8b393(0x19d)](require,_0xf890e8[_0xd8b393(0x1b2)])();}[a33_0x28e2c7(0x1a9)](){const _0x35cca6=a33_0x28e2c7,_0x50dcaa={};_0x50dcaa[_0x35cca6(0x1b4)]=_0x35cca6(0x1ec),_0x50dcaa[_0x35cca6(0x216)]=_0x35cca6(0x1e4),_0x50dcaa[_0x35cca6(0x21f)]=_0x35cca6(0x1f7);const _0x1b93c2=_0x50dcaa,_0x1ed15c=_0x48c758=>{const _0x1e900b=_0x35cca6;logger[_0x1e900b(0x228)](_0x48c758['message']),logger['debug'](_0x48c758);const _0x20fcac={};_0x20fcac['error']=_0x48c758['message'];const _0x57adaf=_0x20fcac;try{helper[_0x1e900b(0x1bb)](_0x1b93c2[_0x1e900b(0x1b4)],_0x57adaf,this['config'],this[_0x1e900b(0x227)]);}catch(_0x28778b){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x28778b);}};process['on'](_0x1b93c2[_0x35cca6(0x216)],_0x1ed15c),process['on'](_0x1b93c2['ttqzE'],_0x1ed15c);}}exports[a33_0x28e2c7(0x21c)]=BrowserStackSetup;
|
|
1
|
+
const a33_0x1fccf5=a33_0x28d8;function a33_0x59ff(){const _0x334279=['bxXWx','ARMLq','yGsBA','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','pEzzn','clCdm','smLnL','58696mwlTtj','OXazv','env','SDKTestSuccessful','2190792tQxiKN','LFghe','length','dvSFV','getUserName','rdbWs','bachv','5DeOPYR','SIGINT','8799597Vxspxv','getLocalIdentifier','imCFV','browserStackLocalOptions','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','info','warn','45567770sntdEk','setLogLevel','TeChj','framework','cDtXE','../bin/mocha/test-observability/helper','generateLocalIdentifier','cFQxy','LJBtF','NcKPs','yvGvk','localOptions','fireFunnelTestEvent','11qGbUbJ','localIdentifier','24yPOJNa','isRunning','LqDdZ','rwCzB','PwUUE','TVUFW','setupKeepAlive','uGoOz','oAmMt','dOGJG','getFinalCaps','parallelsPerPlatform','oTcee','tSCbJ','IVqBM','handleExceptions','pUfpc','pRtnA','yCUxe','./logger','QkwIl','VIKIK','DfmoQ','getConfigPath','Local\x20binary\x20started\x20successfully','DEBoS','RSenw','config','OOVLp','TPMZJ','ddwMn','PjFOY','rKMCP','cliConfig','zrjSJ','tAhaE','xrEqV','getLocalConfig','LVdpH','RNBJV','zkbzz','SaKre','sanitizeCaps','QkyOl','JmFIJ','DaWnM','aBawT','unhandledRejection','RMpcY','oDqxA','error','getPackageVersion','RarFW','mhyYx','constructor','nrabe','GvggQ','WOiMh','NYjjJ','requireSeleniumWebdriverCheck','muZZO','5CFNkyz','VdVYJ','kzIOG','getAccessKey','XntjG','1690143GaYmAn','whEpr','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','sFNNZ','message','uUJwi','stopLocalBinary','HIPis','vYwYW','kvqNq','WGPdc','HzavH','stopBrowserstackLocal','2024869IiBvRr','ltUhc','QyqFU','oHqXU','UNcBL','platforms','448706vSpBTc','beforeExit','default','TVQip','iGmew','HtEeF','Error\x20occured\x20while\x20stopping\x20local\x20binary','EDkNH','useW3C','setupBrowserstackLocal','ftsdW','OxDeJ','hcaOA','tDwul','GSayZ','envConfig','debug','zwmRr','gOJJg','cyYUH','MCcoH','tYuSD','SDKTestAttempted','SIGTERM','toString','browserstackLocal','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','KcPwT','rlTZe','zPneH','FRAMEWORK','cWpJF','VMzOm','VTOnB','YBGnF','setCLICaps','hfwFB','userName\x20or\x20accessKey\x20is\x20not\x20defined','ZiYes','isUndefined','./setKeepAlive'];a33_0x59ff=function(){return _0x334279;};return a33_0x59ff();}(function(_0xbfa378,_0x5d0ed6){const _0x24e8d5=a33_0x28d8,_0x4f6497=_0xbfa378();while(!![]){try{const _0x4f6fa1=parseInt(_0x24e8d5(0x13f))/0x1*(-parseInt(_0x24e8d5(0x104))/0x2)+-parseInt(_0x24e8d5(0xf1))/0x3+-parseInt(_0x24e8d5(0x134))/0x4*(parseInt(_0x24e8d5(0xec))/0x5)+-parseInt(_0x24e8d5(0x138))/0x6+-parseInt(_0x24e8d5(0xfe))/0x7*(parseInt(_0x24e8d5(0x157))/0x8)+-parseInt(_0x24e8d5(0x141))/0x9+-parseInt(_0x24e8d5(0x148))/0xa*(-parseInt(_0x24e8d5(0x155))/0xb);if(_0x4f6fa1===_0x5d0ed6)break;else _0x4f6497['push'](_0x4f6497['shift']());}catch(_0x4f721d){_0x4f6497['push'](_0x4f6497['shift']());}}}(a33_0x59ff,0x9dc93));function a33_0x28d8(_0x5d8e2d,_0x337271){const _0x59ff4a=a33_0x59ff();return a33_0x28d8=function(_0x28d812,_0x3160ba){_0x28d812=_0x28d812-0xda;let _0x102022=_0x59ff4a[_0x28d812];return _0x102022;},a33_0x28d8(_0x5d8e2d,_0x337271);}const logger=require(a33_0x1fccf5(0x16a))['winstonLogger'],helper=require('./helper'),Constants=require('../bin/utils/constants'),{isBrowserstackInfra}=require(a33_0x1fccf5(0x14d));class BrowserStackSetup{constructor(_0x55c365,_0x4d2659){const _0x3005a0=a33_0x1fccf5,_0x59ead0={'mhyYx':function(_0x550514,_0x52b9be){return _0x550514(_0x52b9be);},'zkbzz':_0x3005a0(0x12c),'NYjjJ':'Error\x20occured\x20while\x20stopping\x20local\x20binary','tAhaE':function(_0x4810c4,_0x1ed3cb){return _0x4810c4===_0x1ed3cb;},'VdVYJ':_0x3005a0(0x11a),'rwCzB':_0x3005a0(0x137),'cWpJF':_0x3005a0(0xf3),'LqDdZ':_0x3005a0(0x11e),'gOJJg':_0x3005a0(0x129),'hfwFB':'No\x20config\x20provided.','rKMCP':function(_0x3fd374){return _0x3fd374();},'WGPdc':_0x3005a0(0x126),'cDtXE':function(_0x46a401,_0x5492c8){return _0x46a401!==_0x5492c8;},'tcCDm':_0x3005a0(0xff),'QyqFU':_0x3005a0(0x107),'ZiYes':_0x3005a0(0x112),'VMzOm':function(_0x3d1a45){return _0x3d1a45();},'smLnL':_0x3005a0(0x17d),'MCcoH':function(_0x2d1773,_0x1a8bbd){return _0x2d1773<_0x1a8bbd;},'pUfpc':'selenium-webdriver','GvggQ':_0x3005a0(0xfa),'HIPis':function(_0x58a55c,_0x27dd95){return _0x58a55c>=_0x27dd95;},'XntjG':function(_0x1b08bf,_0x41cf7e){return _0x1b08bf(_0x41cf7e);},'tSCbJ':function(_0x59b408,_0x445c00){return _0x59b408===_0x445c00;},'TeChj':_0x3005a0(0x108),'rxGyr':_0x3005a0(0x15e),'RNBJV':function(_0x361c0a,_0x39fdad){return _0x361c0a!==_0x39fdad;},'kcQDy':_0x3005a0(0x175),'whEpr':function(_0x772156,_0x373ae8){return _0x772156===_0x373ae8;},'hHwZM':_0x3005a0(0xfc),'rdbWs':'KBGnC','RSenw':function(_0x47e027,_0x23a4a7){return _0x47e027===_0x23a4a7;},'pZZAV':_0x3005a0(0xeb),'hcaOA':function(_0x550737,_0x2d6199){return _0x550737===_0x2d6199;},'EEelt':_0x3005a0(0x13b),'MkSGP':_0x3005a0(0x11f),'cFQxy':'FEVSu','eQXns':_0x3005a0(0x143),'rlTZe':function(_0x50ec20,_0x48c6fc){return _0x50ec20===_0x48c6fc;},'NcKPs':_0x3005a0(0xda),'PjFOY':function(_0x43ac86,_0x2f90b6){return _0x43ac86!==_0x2f90b6;},'DaWnM':_0x3005a0(0xe0),'xbIFB':'WbeUZ','clCdm':_0x3005a0(0x131),'VlzgL':_0x3005a0(0xee),'HtEeF':_0x3005a0(0x173)};this[_0x3005a0(0x178)]=helper[_0x3005a0(0x127)](_0x55c365),this[_0x3005a0(0x113)]=helper['setEnvCaps'](),this[_0x3005a0(0x11d)]=null,this[_0x3005a0(0x172)]=helper['readConfig'](helper[_0x3005a0(0x16e)](_0x55c365)),helper[_0x3005a0(0x181)](this[_0x3005a0(0x172)]),this[_0x3005a0(0x14b)]=_0x4d2659;if(helper[_0x3005a0(0x12b)](this['config']))throw new Error(_0x59ead0[_0x3005a0(0x128)]);if(this[_0x3005a0(0x172)][_0x3005a0(0xe1)])throw new Error(this['config'][_0x3005a0(0xe1)]);helper[_0x3005a0(0x161)](this[_0x3005a0(0x172)],this[_0x3005a0(0x178)],this[_0x3005a0(0x113)]),this[_0x3005a0(0x166)]();if(!_0x59ead0[_0x3005a0(0x177)](isBrowserstackInfra)){if(_0x59ead0[_0x3005a0(0x17a)](_0x59ead0[_0x3005a0(0xfb)],_0x59ead0[_0x3005a0(0xfb)]))try{_0x59ead0[_0x3005a0(0x14c)](_0x59ead0['tcCDm'],_0x59ead0['tcCDm'])?_0x59ead0[_0x3005a0(0xe4)](_0xf8fe76,_0x59ead0[_0x3005a0(0x17f)])():(process['env']['FRAMEWORK']=_0x4d2659,helper['fireFunnelTestEvent'](_0x59ead0[_0x3005a0(0xed)],{},this['config'],this[_0x3005a0(0x14b)]));}catch(_0x9da67){_0x59ead0[_0x3005a0(0x14c)](_0x59ead0[_0x3005a0(0x100)],_0x59ead0[_0x3005a0(0x12a)])?logger[_0x3005a0(0x114)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x9da67):_0x42d1c8['debug'](_0x3005a0(0x145)+_0x4c0e59);}else _0x4cad08[_0x3005a0(0xe1)](_0x59ead0[_0x3005a0(0xe9)],_0x1d4f31[_0x3005a0(0xf5)]);}if(!_0x59ead0[_0x3005a0(0x124)](isBrowserstackInfra))return;helper[_0x3005a0(0xea)](_0x4d2659)&&(_0x59ead0[_0x3005a0(0x14c)](_0x59ead0[_0x3005a0(0x133)],_0x59ead0['smLnL'])?!_0x4d43c3[_0x3005a0(0x12b)](this[_0x3005a0(0x172)][_0x3005a0(0x144)])&&_0x59ead0[_0x3005a0(0x17a)](this[_0x3005a0(0x172)][_0x3005a0(0x144)][_0x3005a0(0xe5)],_0x2483f3)?this[_0x3005a0(0x172)][_0x3005a0(0x144)][_0x3005a0(0x156)]=_0x589848[_0x3005a0(0x14e)]():this[_0x3005a0(0x172)][_0x3005a0(0x144)]={'localIdentifier':_0x288a90[_0x3005a0(0x14e)]()}:(_0x59ead0[_0x3005a0(0x118)](_0x59ead0[_0x3005a0(0xe4)](parseInt,helper[_0x3005a0(0xe2)](_0x59ead0[_0x3005a0(0x167)])),0x3)&&(_0x59ead0[_0x3005a0(0x14c)](_0x59ead0[_0x3005a0(0xe7)],_0x59ead0[_0x3005a0(0xe7)])?(_0x14d49b[_0x3005a0(0x136)][_0x3005a0(0x122)]=_0x242c28,_0x306179[_0x3005a0(0x154)](_0x59ead0['VdVYJ'],{},this[_0x3005a0(0x172)],this[_0x3005a0(0x14b)])):this[_0x3005a0(0x172)]['useW3C']=![]),_0x59ead0[_0x3005a0(0xf8)](_0x59ead0[_0x3005a0(0xf0)](parseInt,helper[_0x3005a0(0xe2)](_0x59ead0['pUfpc'])),4.5)&&(_0x59ead0[_0x3005a0(0x164)](_0x59ead0[_0x3005a0(0x14a)],_0x59ead0['rxGyr'])?_0x2903f4['fireFunnelTestEvent'](_0x59ead0[_0x3005a0(0x15a)],_0x40656b,this[_0x3005a0(0x172)],this[_0x3005a0(0x14b)]):this[_0x3005a0(0x172)][_0x3005a0(0x10c)]=!![])));if(helper['isUndefined'](this[_0x3005a0(0x172)]['platforms'])||helper[_0x3005a0(0x12b)](this[_0x3005a0(0x172)][_0x3005a0(0x103)][_0x3005a0(0x13a)])){if(_0x59ead0[_0x3005a0(0x17e)](_0x59ead0['kcQDy'],_0x59ead0['kcQDy']))this['config']['browserStackLocalOptions'][_0x3005a0(0x156)]=_0x4d970f[_0x3005a0(0x14e)]();else{if(helper[_0x3005a0(0x12b)](this[_0x3005a0(0x172)][_0x3005a0(0x162)])){if(_0x59ead0[_0x3005a0(0xf2)](_0x59ead0['hHwZM'],_0x59ead0[_0x3005a0(0x13d)])){_0x290949[_0x3005a0(0xe1)](_0x48baf9[_0x3005a0(0xf5)]),_0xb60d94['debug'](_0x298c71);const _0x5e43b6={};_0x5e43b6[_0x3005a0(0xe1)]=_0x33ccdd[_0x3005a0(0xf5)];const _0x4413a0=_0x5e43b6;try{_0x260fa7[_0x3005a0(0x154)](_0x59ead0[_0x3005a0(0x15a)],_0x4413a0,this[_0x3005a0(0x172)],this[_0x3005a0(0x14b)]);}catch(_0x27011b){_0x595cee[_0x3005a0(0x114)](_0x3005a0(0x130)+_0x27011b);}}else logger[_0x3005a0(0x146)](_0x59ead0[_0x3005a0(0x159)]);}else _0x59ead0[_0x3005a0(0x171)](_0x59ead0['pZZAV'],_0x59ead0['pZZAV'])?logger[_0x3005a0(0x147)](_0x59ead0[_0x3005a0(0x123)]):this[_0x3005a0(0x172)][_0x3005a0(0x144)]={'localIdentifier':_0x254a3d[_0x3005a0(0x14e)]()};this[_0x3005a0(0x172)][_0x3005a0(0x103)]=[];}}!this[_0x3005a0(0x172)]['browserStackLocalOptions']&&(this[_0x3005a0(0x172)][_0x3005a0(0x144)]=this[_0x3005a0(0x172)][_0x3005a0(0x153)]||{});if(helper[_0x3005a0(0x12b)](helper[_0x3005a0(0x13c)](this['config']))||helper[_0x3005a0(0x12b)](helper[_0x3005a0(0xef)](this[_0x3005a0(0x172)]))){if(_0x59ead0['hcaOA'](_0x59ead0['EEelt'],_0x59ead0['MkSGP']))_0x3f6e6b[_0x3005a0(0x114)](_0x3005a0(0x130)+_0x1f2112);else throw new Error(_0x59ead0[_0x3005a0(0x116)]);}if(helper[_0x3005a0(0x17c)](this['config'])&&helper[_0x3005a0(0x12b)](helper[_0x3005a0(0x142)](this[_0x3005a0(0x172)]))){if(_0x59ead0[_0x3005a0(0x110)](_0x59ead0[_0x3005a0(0x14f)],_0x59ead0['eQXns']))_0x1b305c[_0x3005a0(0x147)](_0x59ead0[_0x3005a0(0x123)]);else{if(!helper['isUndefined'](this[_0x3005a0(0x172)]['browserStackLocalOptions'])&&_0x59ead0[_0x3005a0(0xf2)](this[_0x3005a0(0x172)][_0x3005a0(0x144)][_0x3005a0(0xe5)],Object))_0x59ead0[_0x3005a0(0x120)](_0x59ead0[_0x3005a0(0x151)],_0x59ead0[_0x3005a0(0x151)])?this[_0x3005a0(0x172)][_0x3005a0(0x144)][_0x3005a0(0x156)]=helper[_0x3005a0(0x14e)]():_0x5e8b98[_0x3005a0(0x146)](_0x59ead0['LqDdZ']);else{if(_0x59ead0[_0x3005a0(0x176)](_0x59ead0[_0x3005a0(0xdc)],_0x59ead0['xbIFB']))this['config'][_0x3005a0(0x144)]={'localIdentifier':helper[_0x3005a0(0x14e)]()};else throw new _0x52aceb(_0x59ead0[_0x3005a0(0x116)]);}}}helper[_0x3005a0(0x149)](this[_0x3005a0(0x172)],this[_0x3005a0(0x178)],this[_0x3005a0(0x113)]),helper['setProxySettings'](this[_0x3005a0(0x172)]);try{_0x59ead0[_0x3005a0(0x120)](_0x59ead0[_0x3005a0(0x132)],_0x59ead0['VlzgL'])?_0x5a825e[_0x3005a0(0x114)](_0x3005a0(0x145)+_0x523b7b):(process['env'][_0x3005a0(0x122)]=_0x55c365['_'][0x0],helper[_0x3005a0(0x154)](_0x59ead0['VdVYJ'],{},this[_0x3005a0(0x172)],this['framework']));}catch(_0x785b52){if(_0x59ead0[_0x3005a0(0x110)](_0x59ead0[_0x3005a0(0x109)],_0x59ead0[_0x3005a0(0x109)]))logger[_0x3005a0(0x114)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x785b52);else try{_0x1c8aee[_0x3005a0(0x136)]['FRAMEWORK']=_0x4a3028,_0x31c23b['fireFunnelTestEvent'](_0x59ead0['VdVYJ'],{},this[_0x3005a0(0x172)],this[_0x3005a0(0x14b)]);}catch(_0xbc5782){_0x2a2caf[_0x3005a0(0x114)](_0x3005a0(0x145)+_0xbc5782);}}this['setupBrowserstackLocal'](),this[_0x3005a0(0x15d)]();}[a33_0x1fccf5(0x10d)](){const _0x4cd959=a33_0x1fccf5,_0x41765f={'ygQyO':function(_0xd171f4,_0x3a16dc){return _0xd171f4<_0x3a16dc;},'OXazv':function(_0x3a4d59,_0x1bb31c){return _0x3a4d59(_0x1bb31c);},'aBawT':'selenium-webdriver','kZFHk':function(_0x80023b,_0x1e828b){return _0x80023b>=_0x1e828b;},'NtaAK':function(_0x4f2e95,_0x3a24a4){return _0x4f2e95(_0x3a24a4);},'LJBtF':function(_0x91dcea,_0x129cb6){return _0x91dcea!==_0x129cb6;},'uUJwi':_0x4cd959(0x15b),'yvGvk':function(_0x2d248e,_0x46d995){return _0x2d248e==_0x46d995;},'SIfeL':_0x4cd959(0x11e),'JmFIJ':_0x4cd959(0xf3),'TPMZJ':_0x4cd959(0x11a),'SaKre':function(_0x2ec55f,_0x404cc7){return _0x2ec55f===_0x404cc7;},'bachv':_0x4cd959(0x119),'nrabe':_0x4cd959(0x121),'RarFW':function(_0x1aa0fb,_0x1c954f){return _0x1aa0fb!==_0x1c954f;},'oTcee':_0x4cd959(0xf9),'ARMLq':_0x4cd959(0xe8),'yCUxe':_0x4cd959(0x16f),'oAmMt':_0x4cd959(0x105),'VIKIK':_0x4cd959(0x140),'yGsBA':_0x4cd959(0x11b),'zrjSJ':function(_0x35fd45,_0x51ac1b){return _0x35fd45!==_0x51ac1b;},'djlyu':_0x4cd959(0x15c),'zwmRr':_0x4cd959(0x168)};if(_0x41765f[_0x4cd959(0x152)](this[_0x4cd959(0x172)][_0x4cd959(0x11d)],!![])&&(!this['browserstackLocal']||!this[_0x4cd959(0x11d)][_0x4cd959(0x158)]())){if(_0x41765f[_0x4cd959(0x180)](_0x41765f[_0x4cd959(0x13e)],_0x41765f[_0x4cd959(0xe6)]))_0x41765f['ygQyO'](_0x41765f[_0x4cd959(0x135)](_0x2e0272,_0x2a3706[_0x4cd959(0xe2)](_0x41765f[_0x4cd959(0xdd)])),0x3)&&(this[_0x4cd959(0x172)][_0x4cd959(0x10c)]=![]),_0x41765f['kZFHk'](_0x41765f['NtaAK'](_0x5d6732,_0x43c37e[_0x4cd959(0xe2)](_0x41765f['aBawT'])),4.5)&&(this[_0x4cd959(0x172)][_0x4cd959(0x10c)]=!![]);else try{if(_0x41765f[_0x4cd959(0xe3)](_0x41765f[_0x4cd959(0x163)],_0x41765f[_0x4cd959(0x12e)])){this[_0x4cd959(0x11d)]=helper['startLocalBinarySync'](this[_0x4cd959(0x172)]),logger[_0x4cd959(0x146)](_0x41765f[_0x4cd959(0x169)]);let _0x354d63=0x0;const _0x456ab6=async()=>{const _0x24b3ff=_0x4cd959;_0x41765f[_0x24b3ff(0x150)](_0x41765f[_0x24b3ff(0xf6)],_0x41765f[_0x24b3ff(0xf6)])?this['config']['useW3C']=![]:(_0x354d63++,_0x41765f['yvGvk'](_0x354d63,0x1)&&await this[_0x24b3ff(0xfd)]());};process['on'](_0x41765f[_0x4cd959(0x15f)],_0x456ab6),process['on'](_0x41765f[_0x4cd959(0x16c)],_0x456ab6),process['on'](_0x41765f[_0x4cd959(0x12f)],_0x456ab6);}else _0x456565[_0x4cd959(0x12b)](this['config'][_0x4cd959(0x162)])?_0x7a76f6[_0x4cd959(0x146)](_0x41765f['SIfeL']):_0x38f8f8[_0x4cd959(0x147)](_0x41765f[_0x4cd959(0xdb)]),this['config'][_0x4cd959(0x103)]=[];}catch(_0x3a2433){if(_0x41765f[_0x4cd959(0x179)](_0x41765f['djlyu'],_0x41765f[_0x4cd959(0x115)])){logger[_0x4cd959(0x114)](_0x3a2433);throw new Error(_0x3a2433[_0x4cd959(0x11c)]());}else _0x549695['env'][_0x4cd959(0x122)]=_0x2dc9a7['_'][0x0],_0x133c44[_0x4cd959(0x154)](_0x41765f[_0x4cd959(0x174)],{},this['config'],this[_0x4cd959(0x14b)]);}}}async['stopBrowserstackLocal'](){const _0x20cebc=a33_0x1fccf5,_0x2590a6={};_0x2590a6[_0x20cebc(0x16b)]=_0x20cebc(0x137),_0x2590a6[_0x20cebc(0x165)]=_0x20cebc(0xde),_0x2590a6['tDwul']='uncaughtException',_0x2590a6[_0x20cebc(0x101)]=function(_0x10c817,_0x594a1f){return _0x10c817===_0x594a1f;},_0x2590a6[_0x20cebc(0x160)]=_0x20cebc(0xf4),_0x2590a6[_0x20cebc(0xdf)]='gpoiw',_0x2590a6['UNcBL']=function(_0x56c5bb,_0x415017){return _0x56c5bb!==_0x415017;},_0x2590a6[_0x20cebc(0x170)]=_0x20cebc(0x125),_0x2590a6[_0x20cebc(0x12d)]='Local\x20binary\x20stopped',_0x2590a6[_0x20cebc(0x139)]=function(_0x47ac3c,_0x3b47fa){return _0x47ac3c===_0x3b47fa;},_0x2590a6['DfmoQ']='riQGd',_0x2590a6['cyYUH']=_0x20cebc(0x10a);const _0xa913ed=_0x2590a6;if(this[_0x20cebc(0x11d)]&&this[_0x20cebc(0x11d)][_0x20cebc(0x158)]()){if(_0xa913ed[_0x20cebc(0x101)](_0xa913ed[_0x20cebc(0x160)],_0xa913ed[_0x20cebc(0xdf)]))this['config']['useW3C']=!![];else try{if(_0xa913ed[_0x20cebc(0x102)](_0xa913ed['DEBoS'],_0xa913ed[_0x20cebc(0x170)])){_0x3b3afc['debug'](_0x4a0baa);throw new _0x140501(_0x295158[_0x20cebc(0x11c)]());}else await helper[_0x20cebc(0xf7)](this['browserstackLocal']),logger['info'](_0xa913ed[_0x20cebc(0x12d)]);}catch(_0x5b9c42){if(_0xa913ed[_0x20cebc(0x139)](_0xa913ed[_0x20cebc(0x16d)],_0xa913ed[_0x20cebc(0x16d)]))logger['error'](_0xa913ed[_0x20cebc(0x117)],_0x5b9c42[_0x20cebc(0xf5)]);else{const _0x58cda6=_0x2b5a6d=>{const _0x36c1e5=_0x20cebc;_0xcadcd3[_0x36c1e5(0xe1)](_0x2b5a6d[_0x36c1e5(0xf5)]),_0x2d90a1[_0x36c1e5(0x114)](_0x2b5a6d);const _0x5cc8a8={};_0x5cc8a8[_0x36c1e5(0xe1)]=_0x2b5a6d[_0x36c1e5(0xf5)];const _0x4e980a=_0x5cc8a8;try{_0x35800d[_0x36c1e5(0x154)](_0xa913ed[_0x36c1e5(0x16b)],_0x4e980a,this[_0x36c1e5(0x172)],this[_0x36c1e5(0x14b)]);}catch(_0x456b14){_0x41b20f[_0x36c1e5(0x114)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x456b14);}};_0x48396b['on'](_0xa913ed[_0x20cebc(0x165)],_0x58cda6),_0x4199fe['on'](_0xa913ed[_0x20cebc(0x111)],_0x58cda6);}}}}['setupKeepAlive'](){const _0x161b34=a33_0x1fccf5,_0x5572c5={'EDkNH':function(_0x162bc9,_0x21e847){return _0x162bc9(_0x21e847);},'FlUGD':'./setKeepAlive'};_0x5572c5[_0x161b34(0x10b)](require,_0x5572c5['FlUGD'])();}['handleExceptions'](){const _0x3b58e8=a33_0x1fccf5,_0x66d8b7={};_0x66d8b7[_0x3b58e8(0x10e)]=_0x3b58e8(0x137),_0x66d8b7[_0x3b58e8(0x17b)]='unhandledRejection',_0x66d8b7[_0x3b58e8(0x10f)]='uncaughtException';const _0x195588=_0x66d8b7,_0x9256ca=_0x404d9c=>{const _0x5b0ff4=_0x3b58e8;logger[_0x5b0ff4(0xe1)](_0x404d9c[_0x5b0ff4(0xf5)]),logger[_0x5b0ff4(0x114)](_0x404d9c);const _0x23355c={};_0x23355c[_0x5b0ff4(0xe1)]=_0x404d9c[_0x5b0ff4(0xf5)];const _0x2cc81c=_0x23355c;try{helper[_0x5b0ff4(0x154)](_0x195588[_0x5b0ff4(0x10e)],_0x2cc81c,this[_0x5b0ff4(0x172)],this[_0x5b0ff4(0x14b)]);}catch(_0x5035d6){logger[_0x5b0ff4(0x114)](_0x5b0ff4(0x130)+_0x5035d6);}};process['on'](_0x195588[_0x3b58e8(0x17b)],_0x9256ca),process['on'](_0x195588[_0x3b58e8(0x10f)],_0x9256ca);}}exports[a33_0x1fccf5(0x106)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a34_0x77a8(_0x1904a1,_0x3f9bf8){var _0x2502a9=a34_0x2502();return a34_0x77a8=function(_0x77a870,_0x6f7951){_0x77a870=_0x77a870-0x100;var _0x5d9e8f=_0x2502a9[_0x77a870];return _0x5d9e8f;},a34_0x77a8(_0x1904a1,_0x3f9bf8);}var a34_0x2929d0=a34_0x77a8;(function(_0x510302,_0x5a8eb9){var _0x5c3d5d=a34_0x77a8,_0x4359a4=_0x510302();while(!![]){try{var _0x4e1b50=parseInt(_0x5c3d5d(0x13a))/0x1+-parseInt(_0x5c3d5d(0x12b))/0x2*(-parseInt(_0x5c3d5d(0x145))/0x3)+parseInt(_0x5c3d5d(0x132))/0x4*(-parseInt(_0x5c3d5d(0x12a))/0x5)+-parseInt(_0x5c3d5d(0x104))/0x6+parseInt(_0x5c3d5d(0x133))/0x7+parseInt(_0x5c3d5d(0x10e))/0x8*(parseInt(_0x5c3d5d(0x11d))/0x9)+-parseInt(_0x5c3d5d(0x102))/0xa;if(_0x4e1b50===_0x5a8eb9)break;else _0x4359a4['push'](_0x4359a4['shift']());}catch(_0x378bfe){_0x4359a4['push'](_0x4359a4['shift']());}}}(a34_0x2502,0x6f267),exports[a34_0x2929d0(0x122)]=()=>{var _0x402896=a34_0x2929d0,_0x1f671f={};_0x1f671f[_0x402896(0x123)]='browserstack.user_name',_0x1f671f['iRLbx']='browserstack.userName',_0x1f671f[_0x402896(0x139)]=_0x402896(0x121),_0x1f671f[_0x402896(0x106)]=_0x402896(0x10a),_0x1f671f[_0x402896(0x100)]=_0x402896(0x12e),_0x1f671f['NARbd']=_0x402896(0x103),_0x1f671f[_0x402896(0x130)]=_0x402896(0x136),_0x1f671f[_0x402896(0x116)]=_0x402896(0x11b),_0x1f671f[_0x402896(0x141)]=_0x402896(0x120),_0x1f671f[_0x402896(0x119)]='browserstack.local',_0x1f671f['NpvvH']=_0x402896(0x134),_0x1f671f[_0x402896(0x10d)]='browserstack.rerunTests',_0x1f671f[_0x402896(0x143)]=_0x402896(0x142),_0x1f671f[_0x402896(0x10c)]=_0x402896(0x12d),_0x1f671f[_0x402896(0x13b)]=_0x402896(0x129);var _0x5c91a9=_0x1f671f,_0x5a4e9f={};return _0x5a4e9f['userName']=[_0x5c91a9[_0x402896(0x123)],_0x5c91a9[_0x402896(0x128)]],_0x5a4e9f[_0x402896(0x13d)]=[_0x5c91a9[_0x402896(0x139)],_0x5c91a9[_0x402896(0x106)]],_0x5a4e9f[_0x402896(0x125)]=[_0x5c91a9[_0x402896(0x100)]],_0x5a4e9f[_0x402896(0x135)]=[_0x5c91a9['NARbd']],_0x5a4e9f['buildIdentifier']=[_0x5c91a9[_0x402896(0x130)]],_0x5a4e9f[_0x402896(0x140)]=[_0x5c91a9[_0x402896(0x116)],_0x5c91a9['KEpCl']],_0x5a4e9f[_0x402896(0x113)]=[_0x5c91a9['hmyHt']],_0x5a4e9f[_0x402896(0x118)]=[_0x5c91a9[_0x402896(0x101)]],_0x5a4e9f['rerunTests']=[_0x5c91a9['REUxw']],_0x5a4e9f[_0x402896(0x126)]=[_0x5c91a9[_0x402896(0x143)]],_0x5a4e9f[_0x402896(0x11c)]=[_0x5c91a9[_0x402896(0x10c)]],_0x5a4e9f[_0x402896(0x127)]=[_0x5c91a9[_0x402896(0x13b)]],_0x5a4e9f;},exports[a34_0x2929d0(0x13f)]=()=>{var _0x153d3e=a34_0x2929d0,_0x1795c3={};_0x1795c3['EuHzF']=_0x153d3e(0x11e),_0x1795c3[_0x153d3e(0x115)]='BROWSERSTACK_USER_NAME',_0x1795c3[_0x153d3e(0x137)]=_0x153d3e(0x117),_0x1795c3[_0x153d3e(0x10b)]=_0x153d3e(0x124),_0x1795c3[_0x153d3e(0x13e)]=_0x153d3e(0x109),_0x1795c3[_0x153d3e(0x108)]=_0x153d3e(0x11a),_0x1795c3[_0x153d3e(0x111)]=_0x153d3e(0x144),_0x1795c3[_0x153d3e(0x12f)]=_0x153d3e(0x112),_0x1795c3[_0x153d3e(0x114)]=_0x153d3e(0x10f),_0x1795c3[_0x153d3e(0x13c)]=_0x153d3e(0x110),_0x1795c3[_0x153d3e(0x12c)]='BROWSERSTACK_APP',_0x1795c3[_0x153d3e(0x138)]=_0x153d3e(0x107),_0x1795c3['GkgnM']=_0x153d3e(0x105);var _0x499e0b=_0x1795c3,_0x4975d6={};return _0x4975d6['userName']=[_0x499e0b['EuHzF'],_0x499e0b['nPoHD']],_0x4975d6[_0x153d3e(0x13d)]=[_0x499e0b[_0x153d3e(0x137)]],_0x4975d6[_0x153d3e(0x125)]=[_0x499e0b[_0x153d3e(0x10b)]],_0x4975d6['projectName']=[_0x499e0b[_0x153d3e(0x13e)]],_0x4975d6[_0x153d3e(0x11f)]=[_0x499e0b[_0x153d3e(0x108)]],_0x4975d6[_0x153d3e(0x140)]=[_0x499e0b[_0x153d3e(0x111)]],_0x4975d6[_0x153d3e(0x113)]=[_0x499e0b['nAkDu']],_0x4975d6[_0x153d3e(0x118)]=[_0x499e0b[_0x153d3e(0x114)]],_0x4975d6['rerunTests']=[_0x499e0b[_0x153d3e(0x13c)]],_0x4975d6[_0x153d3e(0x126)]=[_0x499e0b[_0x153d3e(0x12c)]],_0x4975d6[_0x153d3e(0x11c)]=[_0x499e0b[_0x153d3e(0x138)]],_0x4975d6[_0x153d3e(0x127)]=[_0x499e0b[_0x153d3e(0x131)]],_0x4975d6;});function a34_0x2502(){var _0x2ccab3=['pGNhH','BROWSERSTACK_OBSERVABILITY_DEBUG','cTPJo','BROWSERSTACK_PROJECT_NAME','browserstack.accessKey','pNTss','mZzXD','REUxw','3016NvQRrA','BROWSERSTACK_LOCAL_IDENTIFIER','BROWSERSTACK_RERUN_TESTS','WDvyF','BROWSERSTACK_LOCAL','browserstackLocal','ePDpP','nPoHD','lyzeg','BROWSERSTACK_ACCESS_KEY','localIdentifier','hmyHt','BROWSERSTACK_BUILD_IDENTIFIER','browserstack.ppp','logLevel','1251LjKklC','BROWSERSTACK_USERNAME','buildIdentifier','browserstack.parallelsPerPlatform','browserstack.access_key','CLICapsMapping','fzhjg','BROWSERSTACK_BUILD_NAME','buildName','app','automation','iRLbx','browserstack.automation','5iDYulf','67922MDVVIp','mDxgy','browserstack.logLevel','browserstack.buildName','nAkDu','dXBwn','GkgnM','1087732FJmLvG','2561517mIcynB','browserstack.localIdentifier','projectName','browserstack.buildIdentifier','Jagkd','KIqXk','fRghY','21441NmqWpK','sjZkt','witZH','accessKey','pDgDk','EnvCapsMapping','parallelsPerPlatform','KEpCl','browserstack.app','zXEtw','BROWSERSTACK_PARALLELS_PER_PLATFORM','39JVuZQi','ZOBgg','NpvvH','267570RYXbJp','browserstack.projectName','763842mgnYPr','BROWSERSTACK_AUTOMATION'];a34_0x2502=function(){return _0x2ccab3;};return a34_0x2502();}
|