browserstack-node-sdk 1.3.2 → 1.3.3
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/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/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 a29_0x33bb0e=a29_0x4e6e;function a29_0x4e6e(_0x243599,_0x56fa75){const _0x3b5df5=a29_0x3b5d();return a29_0x4e6e=function(_0x4e6e06,_0x24fed8){_0x4e6e06=_0x4e6e06-0x197;let _0x22c180=_0x3b5df5[_0x4e6e06];return _0x22c180;},a29_0x4e6e(_0x243599,_0x56fa75);}(function(_0x407c3d,_0x32f159){const _0x18e216=a29_0x4e6e,_0x39f593=_0x407c3d();while(!![]){try{const _0x55d363=-parseInt(_0x18e216(0x1a4))/0x1*(parseInt(_0x18e216(0x1b5))/0x2)+-parseInt(_0x18e216(0x1b6))/0x3+parseInt(_0x18e216(0x1a1))/0x4+parseInt(_0x18e216(0x1a0))/0x5+parseInt(_0x18e216(0x1ac))/0x6+-parseInt(_0x18e216(0x1ae))/0x7*(-parseInt(_0x18e216(0x19a))/0x8)+-parseInt(_0x18e216(0x1a6))/0x9*(parseInt(_0x18e216(0x1a2))/0xa);if(_0x55d363===_0x32f159)break;else _0x39f593['push'](_0x39f593['shift']());}catch(_0x3c8a04){_0x39f593['push'](_0x39f593['shift']());}}}(a29_0x3b5d,0x3c855));const Transport=require(a29_0x33bb0e(0x1bb)),{consoleHolder}=require('../mocha/test-observability/constants'),a29_0x1879aa={};a29_0x1879aa['INFO']=a29_0x33bb0e(0x1b4),a29_0x1879aa[a29_0x33bb0e(0x1a5)]=a29_0x33bb0e(0x1a5),a29_0x1879aa[a29_0x33bb0e(0x1b9)]='DEBUG',a29_0x1879aa['TRACE']=a29_0x33bb0e(0x1bc),a29_0x1879aa[a29_0x33bb0e(0x1ab)]=a29_0x33bb0e(0x1ab);const LOG_LEVELS=a29_0x1879aa;class logReportingAPI extends Transport{constructor(_0x22065e){super(_0x22065e);}[a29_0x33bb0e(0x1ba)](_0xf096bb,_0x265bbd){const _0x3242ac=a29_0x33bb0e,_0x41b9e3={'wLWZx':function(_0x34e42d,_0x8f6982){return _0x34e42d===_0x8f6982;},'jfZST':_0x3242ac(0x197),'EMPbR':_0x3242ac(0x1a7),'xvjty':function(_0xf07f56,_0x353617){return _0xf07f56(_0x353617);},'BdVqD':'object','NIxfO':_0x3242ac(0x1b1),'BCcjl':'JApoi','GSQDs':_0x3242ac(0x1b2),'xcXJy':function(_0x263b05){return _0x263b05();}};_0x41b9e3[_0x3242ac(0x1a9)](setImmediate,()=>{const _0x51abef=_0x3242ac;_0x41b9e3[_0x51abef(0x1b8)](_0x41b9e3[_0x51abef(0x19f)],_0x41b9e3[_0x51abef(0x19f)])?this['emit'](_0x41b9e3[_0x51abef(0x19e)],_0xf096bb):this['logToTestOps'](_0x1b1868[_0x51abef(0x1bc)],_0x202070);});_0x41b9e3[_0x3242ac(0x1b8)](typeof _0xf096bb,_0x41b9e3[_0x3242ac(0x1ad)])?_0x41b9e3[_0x3242ac(0x1b8)](_0x41b9e3['NIxfO'],_0x41b9e3['NIxfO'])?this[_0x3242ac(0x199)](_0xf096bb[_0x3242ac(0x1b0)]||LOG_LEVELS[_0x3242ac(0x1b4)],_0xf096bb['message'],![]):this[_0x3242ac(0x199)](_0x17522a['ERROR'],_0x1d5b0c):_0x41b9e3[_0x3242ac(0x1b8)](_0x41b9e3['BCcjl'],_0x41b9e3['GSQDs'])?this[_0x3242ac(0x199)](_0x2e6a10[_0x3242ac(0x1b9)],_0x146a52):this['logToTestOps'](LOG_LEVELS['INFO'],_0xf096bb);if(_0x265bbd)_0x41b9e3[_0x3242ac(0x1b7)](_0x265bbd);}['logToTestOps']=(_0x4301c6=LOG_LEVELS['INFO'],_0x370916='',_0x354b04=!![])=>{const _0x3c15cf=a29_0x33bb0e,_0x329597={};_0x329597['hUdNu']=_0x3c15cf(0x1aa);const _0x4a1c24=_0x329597;if(_0x354b04)consoleHolder[_0x4301c6['toLowerCase']()](_0x370916);process[_0x3c15cf(0x198)]('bs:addLog:'+process[_0x3c15cf(0x1a8)],{'timestamp':new Date()[_0x3c15cf(0x1bd)](),'level':_0x4301c6[_0x3c15cf(0x19d)](),'message':_0x370916,'kind':_0x4a1c24['hUdNu'],'http_response':{}});};['trace']=(_0x563b7e,_0x7d9eb8)=>{this['logToTestOps'](LOG_LEVELS['TRACE'],_0x563b7e);};[a29_0x33bb0e(0x1a3)]=(_0x5b1ce6,_0x526112)=>{const _0x3bf72a=a29_0x33bb0e;this['logToTestOps'](LOG_LEVELS[_0x3bf72a(0x1b9)],_0x5b1ce6);};[a29_0x33bb0e(0x19c)]=(_0x1efd49,_0x2b4d57)=>{const _0xeea9ed=a29_0x33bb0e;this[_0xeea9ed(0x199)](LOG_LEVELS['INFO'],_0x1efd49);};[a29_0x33bb0e(0x1af)]=(_0x17b975,_0x31189e)=>{this['logToTestOps'](LOG_LEVELS['WARN'],_0x17b975);};[a29_0x33bb0e(0x19b)]=(_0xd2094a,_0x177ad3)=>{const _0x300d71=a29_0x33bb0e;this['logToTestOps'](LOG_LEVELS[_0x300d71(0x1a5)],_0xd2094a);};}function a29_0x3b5d(){const _0x54ce72=['level','mudlk','fYdRI','exports','INFO','356018ewlSyF','1244031BCwcNm','xcXJy','wLWZx','DEBUG','log','winston-transport','TRACE','toISOString','MOxov','emit','logToTestOps','1770024asAstq','error','info','toUpperCase','EMPbR','jfZST','2272690xtiPsk','1849228YcbRpY','70CgDnCG','debug','1kEOGRm','ERROR','819027psgzSA','logged','pid','xvjty','TEST_LOG','WARN','2037012srAHMd','BdVqD','7vzczlk','warn'];a29_0x3b5d=function(){return _0x54ce72;};return a29_0x3b5d();};module[a29_0x33bb0e(0x1b3)]=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a30_0x1c7944=a30_0x2ca2;(function(_0x1eecec,_0x4da82a){const _0x530a8a=a30_0x2ca2,_0x47044c=_0x1eecec();while(!![]){try{const _0x1012cb=parseInt(_0x530a8a(0x1df))/0x1+-parseInt(_0x530a8a(0x1a4))/0x2*(parseInt(_0x530a8a(0x1af))/0x3)+parseInt(_0x530a8a(0x1b6))/0x4+parseInt(_0x530a8a(0x1b2))/0x5*(parseInt(_0x530a8a(0x1b7))/0x6)+-parseInt(_0x530a8a(0x1c7))/0x7*(parseInt(_0x530a8a(0x1c8))/0x8)+-parseInt(_0x530a8a(0x1d9))/0x9*(-parseInt(_0x530a8a(0x1d0))/0xa)+parseInt(_0x530a8a(0x1bf))/0xb;if(_0x1012cb===_0x4da82a)break;else _0x47044c['push'](_0x47044c['shift']());}catch(_0x324969){_0x47044c['push'](_0x47044c['shift']());}}}(a30_0x2569,0x43ba9));function a30_0x2569(){const _0x2b7b5c=['318606KFRCYK','APlFJ','config','EIaiU','fwEOP','\x20doesn\x27t\x20exist','existsSync','args','280709agwkUT','mxxKR','modifyBrowserStackCaps','mpFdU','NeSbz','hubUrl','file','aPbAb','12670aJTNCu','704cprCKv','configuration','merge','../test-runner','QOHsJ','length','ihwjD','proxySettings','10fRynGi','parallelsPerPlatform','File\x20','VHDDY','pVTPn','MKrXI','tTjTw','platforms','File\x20path\x20is\x20required','204651pOURXV','exports','HbNqf','useW3C','ngnIh','aCQOZ','15485TWgfig','push','isUndefined','then','CYxLI','sNVpz','627310ADGkZE','forEach','hpANk','join','cwd','Config\x20yml\x20is\x20required','NuDfp','NiZpt','jePVU','getPlatformName','vanilla','3WwMmQb','../../helpers/helper','modifyBrowserStackW3CCaps','25NuZdpU','../utils/constants','tWusH','../../helpers/BrowserStackSetup','1684416qDtqdy'];a30_0x2569=function(){return _0x2b7b5c;};return a30_0x2569();}const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x1c7944(0x1b5)),helper=require(a30_0x1c7944(0x1b0)),constants=require(a30_0x1c7944(0x1b3)),{parallelVanillaRun}=require(a30_0x1c7944(0x1cb));async function run(_0x2203e4){const _0x2449c6=a30_0x1c7944,_0x1294ca={'jePVU':_0x2449c6(0x1ae),'rulKu':function(_0x2e9e50,_0x4a5f6d){return _0x2e9e50===_0x4a5f6d;},'NuDfp':_0x2449c6(0x1c0),'kwHYj':function(_0x45f5a6,_0x3b64b5){return _0x45f5a6===_0x3b64b5;},'MKrXI':_0x2449c6(0x1db),'tWusH':function(_0x10d8d7,_0x47f8a0){return _0x10d8d7(_0x47f8a0);},'EIaiU':_0x2449c6(0x1d8),'NiZpt':function(_0x5ad94e,_0x374616){return _0x5ad94e(_0x374616);},'pVTPn':_0x2449c6(0x1a9),'aCQOZ':function(_0x24313e,_0x254d99){return _0x24313e>_0x254d99;},'ngnIh':function(_0x183b34,_0x335938){return _0x183b34!==_0x335938;},'mpFdU':_0x2449c6(0x1a6),'NeSbz':function(_0x468cb5,_0x54f904){return _0x468cb5>_0x54f904;},'VHDDY':_0x2449c6(0x1a3),'CYxLI':_0x2449c6(0x1c6),'tTjTw':_0x2449c6(0x1ce),'QOHsJ':function(_0x1b7e38,_0x511850){return _0x1b7e38*_0x511850;},'APlFJ':function(_0x2eaf04,_0x347426,_0x14cc20){return _0x2eaf04(_0x347426,_0x14cc20);}},_0x4a8730=new BrowserStackSetup();let _0xd38815=[];if(helper[_0x2449c6(0x1a0)](_0x2203e4['_'][0x1]))throw _0x1294ca[_0x2449c6(0x1b4)](Error,_0x1294ca[_0x2449c6(0x1ba)]);const _0x54c52a=path[_0x2449c6(0x1a7)](process[_0x2449c6(0x1a8)](),_0x2203e4['_'][0x1]);if(!fs[_0x2449c6(0x1bd)](_0x54c52a))throw _0x1294ca[_0x2449c6(0x1ab)](Error,_0x2449c6(0x1d2)+_0x2203e4['_'][0x1]+_0x2449c6(0x1bc));if(!_0x4a8730[_0x2449c6(0x1b9)])throw _0x1294ca['tWusH'](Error,_0x1294ca[_0x2449c6(0x1d4)]);let _0x277afb=helper[_0x2449c6(0x1dc)](_0x4a8730[_0x2449c6(0x1b9)]);if(_0x4a8730[_0x2449c6(0x1b9)]['platforms']&&_0x1294ca[_0x2449c6(0x1de)](_0x4a8730[_0x2449c6(0x1b9)][_0x2449c6(0x1d7)][_0x2449c6(0x1cd)],0x0)){if(_0x1294ca[_0x2449c6(0x1dd)](_0x1294ca[_0x2449c6(0x1c2)],_0x1294ca[_0x2449c6(0x1c2)])){let _0x155db2;if(_0xa354f)_0x155db2=_0x58a25d['modifyBrowserStackW3CCaps'](_0x341ae6['config'],_0x1294ca[_0x2449c6(0x1ac)],0x0);else _0x155db2=_0x50dce0[_0x2449c6(0x1c1)](_0x4d0da9[_0x2449c6(0x1b9)],_0x1294ca[_0x2449c6(0x1ac)],0x0);const _0x4183f9={};_0x4183f9['server']=_0x204430[_0x2449c6(0x1c4)],_0x4183f9[_0x2449c6(0x1cf)]=_0x3fd7bf[_0x2449c6(0x1b9)][_0x2449c6(0x1cf)],_0x55be4e=_0x4183f9;const _0x11b8e2={'capability':_0x155db2,..._0x51d2e6};_0x11b8e2[_0x2449c6(0x1c5)]=_0xf5d359,_0x11b8e2[_0x2449c6(0x1be)]=_0x57074d,_0x11b8e2[_0x2449c6(0x1ca)]=!![];const _0x5ab632={};_0x5ab632[_0x2449c6(0x1c9)]=_0x11b8e2,_0x299a6b=_0x5ab632,_0x165f28[_0x2449c6(0x19f)](_0x3951c5);}else _0x4a8730[_0x2449c6(0x1b9)][_0x2449c6(0x1d7)][_0x2449c6(0x1a5)]((_0x1a8b20,_0x4f002c)=>{const _0x43cef9=_0x2449c6,_0x5b0295={};_0x5b0295[_0x43cef9(0x1bb)]=_0x1294ca[_0x43cef9(0x1ac)];const _0x37840d=_0x5b0295;if(_0x1294ca['rulKu'](_0x1294ca[_0x43cef9(0x1aa)],_0x1294ca[_0x43cef9(0x1aa)])){if(_0x277afb)_0xd38815[_0x43cef9(0x19f)](helper['modifyBrowserStackW3CCaps'](_0x4a8730[_0x43cef9(0x1b9)],_0x1294ca[_0x43cef9(0x1ac)],_0x4f002c));else _0xd38815['push'](helper[_0x43cef9(0x1c1)](_0x4a8730[_0x43cef9(0x1b9)],_0x1294ca[_0x43cef9(0x1ac)],_0x4f002c));}else{if(_0x530e1f)_0x581b49[_0x43cef9(0x19f)](_0x560404[_0x43cef9(0x1b1)](_0x233922[_0x43cef9(0x1b9)],_0x37840d['fwEOP'],_0x2496d3));else _0x22dc18[_0x43cef9(0x19f)](_0x500be6[_0x43cef9(0x1c1)](_0x484890['config'],_0x37840d[_0x43cef9(0x1bb)],_0x347738));}});}let _0x47d94f,_0x382369;const _0x20ab07=[];if(_0x1294ca[_0x2449c6(0x1c3)](_0xd38815[_0x2449c6(0x1cd)],0x0)){if(_0x1294ca[_0x2449c6(0x1dd)](_0x1294ca[_0x2449c6(0x1d3)],_0x1294ca[_0x2449c6(0x1a2)]))_0xd38815[_0x2449c6(0x1a5)](_0x30a412=>{const _0x44b6d9=_0x2449c6;if(_0x1294ca['kwHYj'](_0x1294ca['MKrXI'],_0x1294ca[_0x44b6d9(0x1d5)])){_0x47d94f={'server':constants[_0x44b6d9(0x1c4)],'proxySettings':_0x4a8730[_0x44b6d9(0x1b9)][_0x44b6d9(0x1cf)],'platform':helper[_0x44b6d9(0x1ad)](_0x30a412)};const _0x5ab5f2={'capability':_0x30a412,..._0x47d94f};_0x5ab5f2['file']=_0x54c52a,_0x5ab5f2[_0x44b6d9(0x1be)]=_0x2203e4;const _0x1d469b={};_0x1d469b[_0x44b6d9(0x1c9)]=_0x5ab5f2,_0x382369=_0x1d469b,_0x20ab07[_0x44b6d9(0x19f)](_0x382369);}else _0x58f4e9['forEach'](_0x215652=>{const _0x22169d=_0x44b6d9;_0x4c640a={'server':_0x482ca6[_0x22169d(0x1c4)],'proxySettings':_0x2446e9[_0x22169d(0x1b9)][_0x22169d(0x1cf)],'platform':_0x16c722[_0x22169d(0x1ad)](_0x215652)};const _0x12bb83={'capability':_0x215652,..._0x3809c6};_0x12bb83[_0x22169d(0x1c5)]=_0x20f6dd,_0x12bb83['args']=_0x278800;const _0x323475={};_0x323475['configuration']=_0x12bb83,_0x101954=_0x323475,_0x466ca9[_0x22169d(0x19f)](_0x112d59);});});else{_0xa9f77={'server':_0x1f2627[_0x2449c6(0x1c4)],'proxySettings':_0x6ad999['config'][_0x2449c6(0x1cf)],'platform':_0x3709e3['getPlatformName'](_0x50db19)};const _0x2c746a={'capability':_0x443a59,..._0x4424e8};_0x2c746a[_0x2449c6(0x1c5)]=_0x22c5d4,_0x2c746a[_0x2449c6(0x1be)]=_0x5516e9;const _0x304d41={};_0x304d41['configuration']=_0x2c746a,_0xb95053=_0x304d41,_0x392437[_0x2449c6(0x19f)](_0x3cf669);}}else{if(_0x1294ca[_0x2449c6(0x1dd)](_0x1294ca[_0x2449c6(0x1d6)],_0x1294ca[_0x2449c6(0x1d6)]))_0x56712b[_0x2449c6(0x1b9)][_0x2449c6(0x1d7)]['forEach']((_0x17e299,_0x440eeb)=>{const _0x39f903=_0x2449c6;if(_0x8a4bcd)_0x1ff28c['push'](_0x59a17f[_0x39f903(0x1b1)](_0x2d4e42[_0x39f903(0x1b9)],_0x1294ca[_0x39f903(0x1ac)],_0x440eeb));else _0x199ba9['push'](_0x365cb4[_0x39f903(0x1c1)](_0x41a623[_0x39f903(0x1b9)],_0x1294ca[_0x39f903(0x1ac)],_0x440eeb));});else{let _0x3bce7c;if(_0x277afb)_0x3bce7c=helper['modifyBrowserStackW3CCaps'](_0x4a8730[_0x2449c6(0x1b9)],_0x1294ca[_0x2449c6(0x1ac)],0x0);else _0x3bce7c=helper[_0x2449c6(0x1c1)](_0x4a8730[_0x2449c6(0x1b9)],_0x1294ca[_0x2449c6(0x1ac)],0x0);const _0x281dc1={};_0x281dc1['server']=constants['hubUrl'],_0x281dc1[_0x2449c6(0x1cf)]=_0x4a8730[_0x2449c6(0x1b9)][_0x2449c6(0x1cf)],_0x47d94f=_0x281dc1;const _0x3f6723={'capability':_0x3bce7c,..._0x47d94f};_0x3f6723[_0x2449c6(0x1c5)]=_0x54c52a,_0x3f6723[_0x2449c6(0x1be)]=_0x2203e4,_0x3f6723[_0x2449c6(0x1ca)]=!![];const _0x37f13c={};_0x37f13c[_0x2449c6(0x1c9)]=_0x3f6723,_0x382369=_0x37f13c,_0x20ab07[_0x2449c6(0x19f)](_0x382369);}}const _0x459026=_0x1294ca[_0x2449c6(0x1cc)](_0x4a8730[_0x2449c6(0x1b9)]['platforms'][_0x2449c6(0x1cd)]||0x1,_0x4a8730[_0x2449c6(0x1b9)][_0x2449c6(0x1d1)]);_0x1294ca[_0x2449c6(0x1b8)](parallelVanillaRun,_0x20ab07,_0x459026)[_0x2449c6(0x1a1)](_0x3b69ab=>{});}function a30_0x2ca2(_0x1cc7a2,_0x217894){const _0x256967=a30_0x2569();return a30_0x2ca2=function(_0x2ca279,_0xd42c80){_0x2ca279=_0x2ca279-0x19f;let _0x4b53e2=_0x256967[_0x2ca279];return _0x4b53e2;},a30_0x2ca2(_0x1cc7a2,_0x217894);}module[a30_0x1c7944(0x1da)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a31_0x451c29=a31_0x21ea;function a31_0x21ea(_0x4be696,_0x1d973e){const _0x3cd601=a31_0x3cd6();return a31_0x21ea=function(_0x21ea69,_0x433033){_0x21ea69=_0x21ea69-0x132;let _0x2400f1=_0x3cd601[_0x21ea69];return _0x2400f1;},a31_0x21ea(_0x4be696,_0x1d973e);}(function(_0x1efd4e,_0x2f6ca2){const _0x3127c8=a31_0x21ea,_0x586b19=_0x1efd4e();while(!![]){try{const _0x36725d=-parseInt(_0x3127c8(0x16a))/0x1+parseInt(_0x3127c8(0x14f))/0x2+parseInt(_0x3127c8(0x194))/0x3+-parseInt(_0x3127c8(0x1b0))/0x4+parseInt(_0x3127c8(0x1aa))/0x5+parseInt(_0x3127c8(0x15b))/0x6+parseInt(_0x3127c8(0x1a8))/0x7*(-parseInt(_0x3127c8(0x17b))/0x8);if(_0x36725d===_0x2f6ca2)break;else _0x586b19['push'](_0x586b19['shift']());}catch(_0x55cb39){_0x586b19['push'](_0x586b19['shift']());}}}(a31_0x3cd6,0xacd0a));function a31_0x3cd6(){const _0x322a05=['QSToP','znFjF','qOMbJ','EWnue','setupKeepAlive','qEYzO','NHGpn','zawBC','xvZKf','IbVzp','YzmIb','lqlFb','1878350dVaebJ','Local\x20binary\x20started\x20successfully','HFHss','OKzmE','localOptions','cdONK','parallelsPerPlatform','eQCsl','generateLocalIdentifier','handleBuildIdentifier','handleExceptions','debug','4022910hUQgYl','aLJbQ','JuXFd','DGner','error','AgnTm','uncaughtException','isUndefined','CQmdp','getLocalIdentifier','sFOiM','message','nQEtV','beforeExit','AnmQj','521052iBkAJT','SMfSE','pDrjx','lGCKg','KzfjA','sMRAT','length','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','RRDmT','platforms','wnHCL','Local\x20binary\x20stopped','unhandledRejection','Error\x20occured\x20while\x20stopping\x20local\x20binary','XGrYh','xyIwG','Something\x20went\x20wrong\x20while\x20starting\x20local\x20:','6856QgcAtm','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','prCCn','KuVtY','rUPAd','./setKeepAlive','selenium-webdriver','oJVSL','readConfig','startLocalBinarySync','ZlgAK','cJXOc','getConfigPath','winstonLogger','ZUEyz','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','JqOkM','./helper','getLocalConfig','zJRCx','cwNTT','IGfkj','browserStackLocalOptions','rInNr','MONZX','3567135VdMqqO','JkxGJ','qJQXv','setProxySettings','zGltA','QyrZg','TpJzz','localIdentifier','HUXiL','yoXqk','DOWYo','snjnK','KIQlX','ZZZdI','vrWln','Vyutq','gWEqu','jebVL','emymp','tcqoJ','9562DOTYPC','sYxKd','2689190rttppt','OFuFv','INgBJ','setLogLevel','bGykZ','MVSkc','3747916FXOOho','yKaPC','zyKwt','xwGia','isRunning','useW3C','constructor','FkfLO','BEgwS','SGMMD','browserstackLocal','SgbJo','PxFiD','xbHeg','config','getUserName','info','GWDng','lrgZw','wCZTX','stopBrowserstackLocal','leQJN','nrnIf','ELeUa','stopLocalBinary','uSYRE','env','wuVTf','Unable\x20to\x20add\x20buildIdentifier:\x20','./logger','lsrac','kGWsB','warn','XCRuy','oErQU','Rmybj','getPackageVersion','SIGTERM'];a31_0x3cd6=function(){return _0x322a05;};return a31_0x3cd6();}const logger=require(a31_0x451c29(0x13a))[a31_0x451c29(0x188)],helper=require(a31_0x451c29(0x18c)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(){const _0x1e2b99=a31_0x451c29,_0x1049ff={'jebVL':_0x1e2b99(0x18a),'snjnK':function(_0x54b3dc,_0x57917b){return _0x54b3dc===_0x57917b;},'ZlgAK':function(_0x5f2173,_0x1e49e9){return _0x5f2173(_0x1e49e9);},'nQEtV':_0x1e2b99(0x180),'qOMbJ':_0x1e2b99(0x176),'IGfkj':_0x1e2b99(0x161),'wCZTX':_0x1e2b99(0x17a),'tcqoJ':_0x1e2b99(0x17c),'sYxKd':'userName\x20or\x20accessKey\x20is\x20not\x20defined','gWEqu':function(_0x253641){return _0x253641();},'cJXOc':function(_0x4d3faf,_0x430c9e){return _0x4d3faf<_0x430c9e;},'cwNTT':_0x1e2b99(0x181),'xyIwG':function(_0x38df37,_0x42f50b){return _0x38df37!==_0x42f50b;},'RRDmT':_0x1e2b99(0x1b2),'lrgZw':function(_0x3d32cd,_0x2c4198){return _0x3d32cd>=_0x2c4198;},'ELeUa':function(_0x5855ef,_0x3de7cf){return _0x5855ef(_0x3de7cf);},'KzfjA':function(_0x58ba8f,_0x4d6ad5){return _0x58ba8f!==_0x4d6ad5;},'JkxGJ':_0x1e2b99(0x16f),'zJRCx':function(_0x35b275,_0x5aa28a){return _0x35b275===_0x5aa28a;},'oErQU':_0x1e2b99(0x17d),'leQJN':_0x1e2b99(0x1b3),'fYhPk':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','lGCKg':function(_0x1ae549,_0x2278fe){return _0x1ae549===_0x2278fe;},'znFjF':'LBYwL','lsrac':_0x1e2b99(0x13c),'JqOkM':function(_0x2d3954,_0x5b3453){return _0x2d3954!==_0x5b3453;},'aLJbQ':_0x1e2b99(0x17e),'lqlFb':_0x1e2b99(0x199),'uSYRE':function(_0x13c3d4,_0x5d2d3f){return _0x13c3d4!==_0x5d2d3f;},'gAELh':'AikAt','NHGpn':'wxvHB','TpJzz':function(_0x1eac5b,_0x214826){return _0x1eac5b===_0x214826;},'MONZX':_0x1e2b99(0x1bc),'IbVzp':_0x1e2b99(0x1bd),'xvZKf':function(_0x1852ec,_0x5b0227){return _0x1852ec===_0x5b0227;},'Vyutq':_0x1e2b99(0x1b1),'AgnTm':function(_0x16e244,_0x1c1e77){return _0x16e244===_0x1c1e77;},'JuXFd':'ySmQh','KIQlX':function(_0x31fdf1,_0x310b4b){return _0x31fdf1===_0x310b4b;},'eQCsl':_0x1e2b99(0x163),'BEgwS':_0x1e2b99(0x1a1),'zGltA':_0x1e2b99(0x139)};this[_0x1e2b99(0x1ba)]=null,this['config']=helper[_0x1e2b99(0x183)](helper[_0x1e2b99(0x187)]());if(this['config'][_0x1e2b99(0x15f)])throw new Error(this[_0x1e2b99(0x1be)]['error']);if(!_0x1049ff[_0x1e2b99(0x1a4)](isBrowserstackInfra))return;_0x1049ff[_0x1e2b99(0x186)](_0x1049ff[_0x1e2b99(0x185)](parseInt,helper[_0x1e2b99(0x141)](_0x1049ff[_0x1e2b99(0x18f)])),0x3)&&(_0x1049ff[_0x1e2b99(0x179)](_0x1049ff[_0x1e2b99(0x172)],_0x1049ff[_0x1e2b99(0x172)])?this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]={'localIdentifier':_0x11986e[_0x1e2b99(0x157)]()}:this[_0x1e2b99(0x1be)][_0x1e2b99(0x1b5)]=![]);_0x1049ff[_0x1e2b99(0x1c2)](_0x1049ff[_0x1e2b99(0x134)](parseInt,helper[_0x1e2b99(0x141)](_0x1049ff[_0x1e2b99(0x18f)])),4.5)&&(_0x1049ff[_0x1e2b99(0x16e)](_0x1049ff['JkxGJ'],_0x1049ff[_0x1e2b99(0x195)])?_0x4ef932[_0x1e2b99(0x158)](this[_0x1e2b99(0x1be)]):this[_0x1e2b99(0x1be)][_0x1e2b99(0x1b5)]=!![]);(helper[_0x1e2b99(0x162)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x173)])||helper[_0x1e2b99(0x162)](this['config'][_0x1e2b99(0x173)]['length']))&&(_0x1049ff[_0x1e2b99(0x18e)](_0x1049ff[_0x1e2b99(0x13f)],_0x1049ff[_0x1e2b99(0x13f)])?(helper['isUndefined'](this['config'][_0x1e2b99(0x155)])?_0x1049ff[_0x1e2b99(0x19f)](_0x1049ff[_0x1e2b99(0x132)],_0x1049ff[_0x1e2b99(0x132)])?logger[_0x1e2b99(0x1c0)](_0x1049ff['fYhPk']):(_0x4bfbf0[_0x1e2b99(0x15f)](_0x5d94fa['message']),_0x2a2132[_0x1e2b99(0x15a)](_0x169f35)):_0x1049ff['lGCKg'](_0x1049ff['znFjF'],_0x1049ff[_0x1e2b99(0x144)])?logger[_0x1e2b99(0x13d)](_0x1049ff[_0x1e2b99(0x1a5)]):_0x1c17c8[_0x1e2b99(0x13d)](_0x1049ff[_0x1e2b99(0x1a5)]),this[_0x1e2b99(0x1be)]['platforms']=[]):this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)][_0x1e2b99(0x19b)]=_0x14b983[_0x1e2b99(0x157)]());helper[_0x1e2b99(0x162)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x155)])&&(_0x1049ff[_0x1e2b99(0x19f)](_0x1049ff['lsrac'],_0x1049ff[_0x1e2b99(0x13b)])?(_0x1049ff[_0x1e2b99(0x18b)](this['config'][_0x1e2b99(0x173)]['length'],0x0)&&(_0x1049ff[_0x1e2b99(0x18b)](_0x1049ff[_0x1e2b99(0x15c)],_0x1049ff['aLJbQ'])?!_0x375d7f[_0x1e2b99(0x162)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)])&&_0x1049ff[_0x1e2b99(0x19f)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]['constructor'],_0x4f3b66)?this['config'][_0x1e2b99(0x191)][_0x1e2b99(0x19b)]=_0x47bf6b['generateLocalIdentifier']():this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]={'localIdentifier':_0x5819da[_0x1e2b99(0x157)]()}:logger['info'](_0x1049ff['tcqoJ'])),this[_0x1e2b99(0x1be)][_0x1e2b99(0x155)]=0x1):_0x1049ff[_0x1e2b99(0x185)](_0x3b0ff7,_0x1049ff[_0x1e2b99(0x167)])());!this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]&&(this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]=this[_0x1e2b99(0x1be)][_0x1e2b99(0x153)]||{});if(helper[_0x1e2b99(0x162)](helper[_0x1e2b99(0x1bf)](this[_0x1e2b99(0x1be)]))||helper['isUndefined'](helper['getAccessKey'](this[_0x1e2b99(0x1be)]))){if(_0x1049ff['zJRCx'](_0x1049ff[_0x1e2b99(0x14e)],_0x1049ff[_0x1e2b99(0x14e)]))throw new Error(_0x1049ff[_0x1e2b99(0x1a9)]);else this[_0x1e2b99(0x1be)]['useW3C']=!![];}if(helper[_0x1e2b99(0x18d)](this[_0x1e2b99(0x1be)])&&helper[_0x1e2b99(0x162)](helper[_0x1e2b99(0x164)](this[_0x1e2b99(0x1be)]))){if(_0x1049ff[_0x1e2b99(0x136)](_0x1049ff['gAELh'],_0x1049ff[_0x1e2b99(0x149)])){if(!helper['isUndefined'](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)])&&_0x1049ff[_0x1e2b99(0x16d)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)][_0x1e2b99(0x1b6)],Object)){if(_0x1049ff[_0x1e2b99(0x19a)](_0x1049ff[_0x1e2b99(0x193)],_0x1049ff[_0x1e2b99(0x14c)])){const _0x18711b=_0x2dceec=>{const _0x4ef3ff=_0x1e2b99;_0x2c0ea8[_0x4ef3ff(0x15f)](_0x2dceec['message']),_0x3bc1f0[_0x4ef3ff(0x15a)](_0x2dceec);};_0x4972dc['on'](_0x1049ff[_0x1e2b99(0x145)],_0x18711b),_0xe3396b['on'](_0x1049ff[_0x1e2b99(0x190)],_0x18711b);}else this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)][_0x1e2b99(0x19b)]=helper[_0x1e2b99(0x157)]();}else _0x1049ff[_0x1e2b99(0x14b)](_0x1049ff[_0x1e2b99(0x1a3)],_0x1049ff[_0x1e2b99(0x1a3)])?this[_0x1e2b99(0x1be)]['browserStackLocalOptions']={'localIdentifier':helper[_0x1e2b99(0x157)]()}:this['config'][_0x1e2b99(0x1b5)]=![];}else _0x4c0859['error'](_0x1049ff[_0x1e2b99(0x1c3)],_0x3801a0[_0x1e2b99(0x166)]),_0x25f2b1['debug'](_0x4391ae);}helper[_0x1e2b99(0x1ad)](this['config']),helper[_0x1e2b99(0x197)](this[_0x1e2b99(0x1be)]);try{_0x1049ff[_0x1e2b99(0x160)](_0x1049ff['JuXFd'],_0x1049ff[_0x1e2b99(0x15d)])?helper[_0x1e2b99(0x158)](this[_0x1e2b99(0x1be)]):_0x953e79[_0x1e2b99(0x1c0)](_0x1049ff[_0x1e2b99(0x1a7)]);}catch(_0x4289d8){if(_0x1049ff[_0x1e2b99(0x1a0)](_0x1049ff[_0x1e2b99(0x156)],_0x1049ff[_0x1e2b99(0x1b8)]))throw new _0x4fbd53(_0x1049ff['sYxKd']);else logger[_0x1e2b99(0x15a)](_0x1049ff[_0x1e2b99(0x198)],_0x4289d8);}this[_0x1e2b99(0x159)](),this['setupBrowserstackLocal'](),this[_0x1e2b99(0x147)]();}['setupBrowserstackLocal'](){const _0x3008ef=a31_0x451c29,_0x215e7c={};_0x215e7c[_0x3008ef(0x146)]=function(_0xca2c05,_0x2a8412){return _0xca2c05!==_0x2a8412;},_0x215e7c[_0x3008ef(0x178)]=_0x3008ef(0x17c),_0x215e7c['DOWYo']=_0x3008ef(0x139),_0x215e7c[_0x3008ef(0x133)]=function(_0x2aacbd,_0x8c6ae5){return _0x2aacbd!==_0x8c6ae5;},_0x215e7c['GWDng']='kXsNP',_0x215e7c['jYlPV']=_0x3008ef(0x1a2),_0x215e7c[_0x3008ef(0x14d)]=function(_0x24feba,_0x1ecc24){return _0x24feba==_0x1ecc24;},_0x215e7c[_0x3008ef(0x148)]=_0x3008ef(0x171),_0x215e7c['yoXqk']=_0x3008ef(0x177),_0x215e7c[_0x3008ef(0x1b9)]=function(_0x1aff86,_0x387e02){return _0x1aff86==_0x387e02;},_0x215e7c[_0x3008ef(0x138)]=function(_0x4346d7,_0xdf8b12){return _0x4346d7===_0xdf8b12;},_0x215e7c['bGykZ']=_0x3008ef(0x196),_0x215e7c[_0x3008ef(0x154)]=function(_0x37e7f2,_0x4f3195){return _0x37e7f2===_0x4f3195;},_0x215e7c[_0x3008ef(0x182)]=_0x3008ef(0x16c),_0x215e7c[_0x3008ef(0x1ac)]=_0x3008ef(0x174),_0x215e7c[_0x3008ef(0x15e)]=_0x3008ef(0x150),_0x215e7c['OFuFv']=_0x3008ef(0x168),_0x215e7c['LJceL']='SIGINT',_0x215e7c[_0x3008ef(0x1af)]=_0x3008ef(0x142),_0x215e7c[_0x3008ef(0x192)]=function(_0x13c36f,_0x331ec6){return _0x13c36f===_0x331ec6;},_0x215e7c[_0x3008ef(0x1a6)]='LMOkQ',_0x215e7c[_0x3008ef(0x16b)]=_0x3008ef(0x14a),_0x215e7c[_0x3008ef(0x169)]=_0x3008ef(0x17a);const _0x4bcce9=_0x215e7c;if((_0x4bcce9[_0x3008ef(0x1b9)](this[_0x3008ef(0x1be)][_0x3008ef(0x1ba)],!![])||process[_0x3008ef(0x137)]['BROWSERSTACK_LOCAL'])&&(!this[_0x3008ef(0x1ba)]||!this[_0x3008ef(0x1ba)][_0x3008ef(0x1b4)]())){if(_0x4bcce9[_0x3008ef(0x138)](_0x4bcce9[_0x3008ef(0x1ae)],_0x4bcce9[_0x3008ef(0x1ae)]))try{if(_0x4bcce9[_0x3008ef(0x154)](_0x4bcce9[_0x3008ef(0x182)],_0x4bcce9[_0x3008ef(0x1ac)]))_0x4bcce9[_0x3008ef(0x146)](this['config'][_0x3008ef(0x173)][_0x3008ef(0x170)],0x0)&&_0x443b50[_0x3008ef(0x1c0)](_0x4bcce9[_0x3008ef(0x178)]),this[_0x3008ef(0x1be)][_0x3008ef(0x155)]=0x1;else{this['browserstackLocal']=helper[_0x3008ef(0x184)](this[_0x3008ef(0x1be)]),logger[_0x3008ef(0x1c0)](_0x4bcce9[_0x3008ef(0x15e)]);let _0x461d52=0x0;const _0x173b3e=async()=>{const _0x2d5e1f=_0x3008ef,_0x123b7e={};_0x123b7e['rUPAd']=_0x4bcce9[_0x2d5e1f(0x19e)];const _0x15abd4=_0x123b7e;_0x4bcce9[_0x2d5e1f(0x133)](_0x4bcce9[_0x2d5e1f(0x1c1)],_0x4bcce9['jYlPV'])?(_0x461d52++,_0x4bcce9[_0x2d5e1f(0x14d)](_0x461d52,0x1)&&await this[_0x2d5e1f(0x1c4)]()):_0x5b9e2f[_0x2d5e1f(0x15a)](_0x15abd4[_0x2d5e1f(0x17f)],_0x1ce593);};process['on'](_0x4bcce9[_0x3008ef(0x1ab)],_0x173b3e),process['on'](_0x4bcce9['LJceL'],_0x173b3e),process['on'](_0x4bcce9[_0x3008ef(0x1af)],_0x173b3e);}}catch(_0x2dc07d){_0x4bcce9[_0x3008ef(0x192)](_0x4bcce9[_0x3008ef(0x1a6)],_0x4bcce9[_0x3008ef(0x16b)])?_0x30a619[_0x3008ef(0x1c0)](_0x4bcce9[_0x3008ef(0x148)]):(logger[_0x3008ef(0x15f)](_0x4bcce9['AnmQj'],_0x2dc07d[_0x3008ef(0x166)]),logger[_0x3008ef(0x15a)](_0x2dc07d));}else _0x28cfb4['error'](_0x4bcce9[_0x3008ef(0x19d)],_0x3b753a[_0x3008ef(0x166)]);}}async[a31_0x451c29(0x1c4)](){const _0x5d870b=a31_0x451c29,_0x53db67={};_0x53db67[_0x5d870b(0x1b7)]=_0x5d870b(0x171),_0x53db67['bNbBu']=_0x5d870b(0x18a),_0x53db67['sFOiM']=function(_0x46b016,_0x1c2ec4){return _0x46b016!==_0x1c2ec4;},_0x53db67[_0x5d870b(0x151)]=_0x5d870b(0x1bb),_0x53db67[_0x5d870b(0x19c)]=_0x5d870b(0x175),_0x53db67[_0x5d870b(0x143)]=_0x5d870b(0x177);const _0x2cc235=_0x53db67;if(this[_0x5d870b(0x1ba)]&&this[_0x5d870b(0x1ba)][_0x5d870b(0x1b4)]())try{_0x2cc235[_0x5d870b(0x165)](_0x2cc235[_0x5d870b(0x151)],_0x2cc235[_0x5d870b(0x151)])?(_0x5b2754[_0x5d870b(0x162)](this[_0x5d870b(0x1be)][_0x5d870b(0x155)])?_0x347ed2[_0x5d870b(0x1c0)](_0x2cc235[_0x5d870b(0x1b7)]):_0x5541ba['warn'](_0x2cc235['bNbBu']),this['config'][_0x5d870b(0x173)]=[]):(await helper[_0x5d870b(0x135)](this[_0x5d870b(0x1ba)]),logger[_0x5d870b(0x1c0)](_0x2cc235['HUXiL']));}catch(_0x16a864){logger['error'](_0x2cc235['QSToP'],_0x16a864[_0x5d870b(0x166)]);}}[a31_0x451c29(0x147)](){const _0x339d37=a31_0x451c29,_0x5189cf={'Rmybj':function(_0x3b136c,_0x2ca590){return _0x3b136c(_0x2ca590);},'OKzmE':'./setKeepAlive'};_0x5189cf[_0x339d37(0x140)](require,_0x5189cf[_0x339d37(0x152)])();}[a31_0x451c29(0x159)](){const _0x2c0aab=a31_0x451c29,_0x200f34={};_0x200f34[_0x2c0aab(0x13e)]='unhandledRejection',_0x200f34['ZUEyz']='uncaughtException';const _0x5cbd64=_0x200f34,_0x178932=_0x1d5f67=>{const _0x167f95=_0x2c0aab;logger[_0x167f95(0x15f)](_0x1d5f67[_0x167f95(0x166)]),logger[_0x167f95(0x15a)](_0x1d5f67);};process['on'](_0x5cbd64[_0x2c0aab(0x13e)],_0x178932),process['on'](_0x5cbd64[_0x2c0aab(0x189)],_0x178932);}}exports['default']=BrowserStackSetup;
|
|
1
|
+
function a31_0x2a5c(_0x593edf,_0x47b478){const _0x3156a5=a31_0x3156();return a31_0x2a5c=function(_0x2a5c03,_0x501bff){_0x2a5c03=_0x2a5c03-0x165;let _0x5a65a4=_0x3156a5[_0x2a5c03];return _0x5a65a4;},a31_0x2a5c(_0x593edf,_0x47b478);}const a31_0x30e02b=a31_0x2a5c;(function(_0x22f82d,_0x51cfc8){const _0x532abe=a31_0x2a5c,_0x16644f=_0x22f82d();while(!![]){try{const _0x322fe2=parseInt(_0x532abe(0x16d))/0x1+-parseInt(_0x532abe(0x1c1))/0x2*(-parseInt(_0x532abe(0x1c2))/0x3)+-parseInt(_0x532abe(0x1a8))/0x4*(parseInt(_0x532abe(0x1a2))/0x5)+-parseInt(_0x532abe(0x1b5))/0x6+parseInt(_0x532abe(0x169))/0x7*(-parseInt(_0x532abe(0x165))/0x8)+-parseInt(_0x532abe(0x19f))/0x9*(parseInt(_0x532abe(0x194))/0xa)+parseInt(_0x532abe(0x16a))/0xb*(parseInt(_0x532abe(0x185))/0xc);if(_0x322fe2===_0x51cfc8)break;else _0x16644f['push'](_0x16644f['shift']());}catch(_0x2ca4e0){_0x16644f['push'](_0x16644f['shift']());}}}(a31_0x3156,0x8a70a));const logger=require(a31_0x30e02b(0x1ce))[a31_0x30e02b(0x1ad)],helper=require(a31_0x30e02b(0x1ac)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(){const _0x1c9d8a=a31_0x30e02b,_0x2d95fc={'UgBmI':_0x1c9d8a(0x1db),'jpfjl':'Something\x20went\x20wrong\x20while\x20starting\x20local\x20:','JhUjJ':_0x1c9d8a(0x17e),'czzAk':_0x1c9d8a(0x176),'BVhKy':_0x1c9d8a(0x199),'SyuZv':function(_0x2525d3,_0x3b1fa8){return _0x2525d3!==_0x3b1fa8;},'lApuO':_0x1c9d8a(0x1a0),'dnWPt':function(_0x35b9e7){return _0x35b9e7();},'TCeFw':function(_0x4330f1,_0x15c72f){return _0x4330f1<_0x15c72f;},'sqWbw':function(_0x3eb18f,_0x544a9e){return _0x3eb18f(_0x544a9e);},'cczxI':'selenium-webdriver','ZBfpR':function(_0x27cb7c,_0xa0802b){return _0x27cb7c===_0xa0802b;},'zwSwx':_0x1c9d8a(0x1d1),'VfocH':_0x1c9d8a(0x1c0),'tqrFb':function(_0x5bf713,_0x9e6c54){return _0x5bf713>=_0x9e6c54;},'lzVag':function(_0x36238b,_0x433978){return _0x36238b(_0x433978);},'SHWnH':_0x1c9d8a(0x182),'StImD':function(_0x541d6b,_0x577398){return _0x541d6b===_0x577398;},'oohKg':'lizeo','uqYls':'JGvxq','iydqi':function(_0x5c4940,_0x22ab65){return _0x5c4940!==_0x22ab65;},'cbcts':_0x1c9d8a(0x1c9),'vOSRC':'lcqsF','gJgDC':_0x1c9d8a(0x1a7),'adpZS':_0x1c9d8a(0x1cf),'MWQUl':_0x1c9d8a(0x187),'hdYCE':_0x1c9d8a(0x1e2),'uXMfO':_0x1c9d8a(0x16e),'jqPky':'BYITD','BYGRT':_0x1c9d8a(0x1be),'jVOHQ':'oDOUk','PxRQA':_0x1c9d8a(0x1dd),'vRpdd':function(_0x58c176,_0x58bd40){return _0x58c176===_0x58bd40;},'UZqXx':_0x1c9d8a(0x170),'MSdWT':_0x1c9d8a(0x1a6),'TvWUI':function(_0x250319,_0x17a14d){return _0x250319===_0x17a14d;},'tgGFm':_0x1c9d8a(0x1ca)};this['browserstackLocal']=null,this[_0x1c9d8a(0x1c6)]=helper[_0x1c9d8a(0x1d7)](helper[_0x1c9d8a(0x1c5)]());if(this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x190)])throw new Error(this[_0x1c9d8a(0x1c6)]['error']);if(!_0x2d95fc[_0x1c9d8a(0x1bd)](isBrowserstackInfra))return;_0x2d95fc[_0x1c9d8a(0x1bc)](_0x2d95fc[_0x1c9d8a(0x19e)](parseInt,helper['getPackageVersion'](_0x2d95fc[_0x1c9d8a(0x1b9)])),0x3)&&(_0x2d95fc[_0x1c9d8a(0x1cd)](_0x2d95fc[_0x1c9d8a(0x168)],_0x2d95fc[_0x1c9d8a(0x1d0)])?_0x496965['warn'](_0x2d95fc[_0x1c9d8a(0x1e5)]):this['config']['useW3C']=![]);_0x2d95fc['tqrFb'](_0x2d95fc[_0x1c9d8a(0x1ab)](parseInt,helper['getPackageVersion'](_0x2d95fc[_0x1c9d8a(0x1b9)])),4.5)&&(_0x2d95fc[_0x1c9d8a(0x1cd)](_0x2d95fc['SHWnH'],_0x2d95fc[_0x1c9d8a(0x1d4)])?this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x17c)]=!![]:this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x17c)]=!![]);(helper[_0x1c9d8a(0x167)](this['config'][_0x1c9d8a(0x18c)])||helper[_0x1c9d8a(0x167)](this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x18c)][_0x1c9d8a(0x1e8)]))&&(_0x2d95fc[_0x1c9d8a(0x1a3)](_0x2d95fc['oohKg'],_0x2d95fc['uqYls'])?this['config'][_0x1c9d8a(0x174)][_0x1c9d8a(0x1d6)]=_0x243266['generateLocalIdentifier']():(helper[_0x1c9d8a(0x167)](this[_0x1c9d8a(0x1c6)]['parallelsPerPlatform'])?_0x2d95fc[_0x1c9d8a(0x1b8)](_0x2d95fc[_0x1c9d8a(0x19d)],_0x2d95fc['vOSRC'])?logger['info'](_0x2d95fc[_0x1c9d8a(0x1e7)]):(_0x3876aa[_0x1c9d8a(0x190)](_0x2d95fc[_0x1c9d8a(0x17d)],_0x49e7b2[_0x1c9d8a(0x1d2)]),_0x42c46f['debug'](_0x4b4b38)):_0x2d95fc[_0x1c9d8a(0x1e3)](_0x2d95fc['gJgDC'],_0x2d95fc[_0x1c9d8a(0x1d3)])?this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x17c)]=![]:logger[_0x1c9d8a(0x1dc)](_0x2d95fc[_0x1c9d8a(0x1e5)]),this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x18c)]=[]));helper[_0x1c9d8a(0x167)](this[_0x1c9d8a(0x1c6)]['parallelsPerPlatform'])&&(_0x2d95fc[_0x1c9d8a(0x1cd)](_0x2d95fc['adpZS'],_0x2d95fc[_0x1c9d8a(0x17b)])?_0x234462[_0x1c9d8a(0x190)](_0x2d95fc[_0x1c9d8a(0x178)],_0x19db34[_0x1c9d8a(0x1d2)]):(_0x2d95fc['SyuZv'](this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x18c)][_0x1c9d8a(0x1e8)],0x0)&&(_0x2d95fc['ZBfpR'](_0x2d95fc[_0x1c9d8a(0x1a4)],_0x2d95fc[_0x1c9d8a(0x1aa)])?_0x1fd44e['info'](_0x2d95fc[_0x1c9d8a(0x192)]):logger[_0x1c9d8a(0x177)](_0x2d95fc[_0x1c9d8a(0x192)])),this['config'][_0x1c9d8a(0x198)]=0x1));!this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x174)]&&(this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x174)]=this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x18d)]||{});if(helper[_0x1c9d8a(0x167)](helper[_0x1c9d8a(0x184)](this['config']))||helper['isUndefined'](helper[_0x1c9d8a(0x189)](this['config']))){if(_0x2d95fc['StImD'](_0x2d95fc['jqPky'],_0x2d95fc[_0x1c9d8a(0x1e0)]))_0x146abb['error'](_0x518847[_0x1c9d8a(0x1d2)]),_0xde7831[_0x1c9d8a(0x166)](_0x3e459a);else throw new Error(_0x2d95fc['lApuO']);}if(helper[_0x1c9d8a(0x19c)](this[_0x1c9d8a(0x1c6)])&&helper[_0x1c9d8a(0x167)](helper[_0x1c9d8a(0x19b)](this['config']))){if(_0x2d95fc[_0x1c9d8a(0x1a3)](_0x2d95fc['jVOHQ'],_0x2d95fc[_0x1c9d8a(0x175)]))_0x3b1043[_0x1c9d8a(0x167)](this[_0x1c9d8a(0x1c6)][_0x1c9d8a(0x198)])?_0x4aa0cd[_0x1c9d8a(0x177)](_0x2d95fc[_0x1c9d8a(0x1e7)]):_0x4f01f5[_0x1c9d8a(0x1dc)](_0x2d95fc['UgBmI']),this[_0x1c9d8a(0x1c6)]['platforms']=[];else{if(!helper[_0x1c9d8a(0x167)](this[_0x1c9d8a(0x1c6)]['browserStackLocalOptions'])&&_0x2d95fc[_0x1c9d8a(0x1a1)](this['config'][_0x1c9d8a(0x174)]['constructor'],Object))_0x2d95fc[_0x1c9d8a(0x1e3)](_0x2d95fc[_0x1c9d8a(0x16c)],_0x2d95fc[_0x1c9d8a(0x191)])?this['config'][_0x1c9d8a(0x174)][_0x1c9d8a(0x1d6)]=helper[_0x1c9d8a(0x1d5)]():(_0x2d95fc[_0x1c9d8a(0x1e3)](this['config']['platforms'][_0x1c9d8a(0x1e8)],0x0)&&_0x2dbf2b[_0x1c9d8a(0x177)](_0x2d95fc['czzAk']),this['config'][_0x1c9d8a(0x198)]=0x1);else{if(_0x2d95fc[_0x1c9d8a(0x197)](_0x2d95fc[_0x1c9d8a(0x1b1)],_0x2d95fc['tgGFm']))this[_0x1c9d8a(0x1c6)]['browserStackLocalOptions']={'localIdentifier':helper[_0x1c9d8a(0x1d5)]()};else throw new _0x20669a(_0x2d95fc[_0x1c9d8a(0x17f)]);}}}helper[_0x1c9d8a(0x1b4)](this[_0x1c9d8a(0x1c6)]),helper[_0x1c9d8a(0x1b7)](this[_0x1c9d8a(0x1c6)]),helper['handleBuildIdentifier'](this[_0x1c9d8a(0x1c6)]),this[_0x1c9d8a(0x1d9)](),this[_0x1c9d8a(0x1e6)](),this[_0x1c9d8a(0x1c7)]();}[a31_0x30e02b(0x1e6)](){const _0x17ac2b=a31_0x30e02b,_0x90ef77={};_0x90ef77[_0x17ac2b(0x18e)]=_0x17ac2b(0x1c4),_0x90ef77[_0x17ac2b(0x1b2)]='uncaughtException',_0x90ef77['GJwVR']=function(_0xf75b7b,_0x2badf9){return _0xf75b7b!==_0x2badf9;},_0x90ef77[_0x17ac2b(0x1df)]=_0x17ac2b(0x195),_0x90ef77[_0x17ac2b(0x18b)]='gFfFH',_0x90ef77['gvyfo']=function(_0x53778f,_0x49e29f){return _0x53778f==_0x49e29f;},_0x90ef77[_0x17ac2b(0x18f)]=function(_0x818586,_0x3adb38){return _0x818586===_0x3adb38;},_0x90ef77[_0x17ac2b(0x1bf)]=_0x17ac2b(0x199),_0x90ef77[_0x17ac2b(0x173)]='TjmDS',_0x90ef77[_0x17ac2b(0x1da)]=function(_0x33593d,_0x29f53d){return _0x33593d!==_0x29f53d;},_0x90ef77[_0x17ac2b(0x1e1)]='rSyQt',_0x90ef77['IwdVu']=_0x17ac2b(0x183),_0x90ef77['UctYe']=_0x17ac2b(0x1b0),_0x90ef77['nQkaU']='beforeExit',_0x90ef77[_0x17ac2b(0x1cb)]=_0x17ac2b(0x1b6),_0x90ef77[_0x17ac2b(0x1bb)]=_0x17ac2b(0x1ba),_0x90ef77[_0x17ac2b(0x1b3)]=_0x17ac2b(0x19a),_0x90ef77[_0x17ac2b(0x193)]='rqXXr',_0x90ef77[_0x17ac2b(0x1a9)]='Something\x20went\x20wrong\x20while\x20starting\x20local\x20:';const _0x31e12f=_0x90ef77;if((_0x31e12f[_0x17ac2b(0x179)](this[_0x17ac2b(0x1c6)][_0x17ac2b(0x1e4)],!![])||process['env'][_0x17ac2b(0x1d8)])&&(!this[_0x17ac2b(0x1e4)]||!this[_0x17ac2b(0x1e4)][_0x17ac2b(0x171)]())){if(_0x31e12f[_0x17ac2b(0x18f)](_0x31e12f[_0x17ac2b(0x173)],_0x31e12f[_0x17ac2b(0x173)]))try{if(_0x31e12f['GvnUO'](_0x31e12f[_0x17ac2b(0x1e1)],_0x31e12f['IwdVu'])){this[_0x17ac2b(0x1e4)]=helper[_0x17ac2b(0x186)](this['config']),logger[_0x17ac2b(0x177)](_0x31e12f[_0x17ac2b(0x1a5)]);let _0x3376cd=0x0;const _0x747d28=async()=>{const _0x38e02f=_0x17ac2b;if(_0x31e12f[_0x38e02f(0x172)](_0x31e12f[_0x38e02f(0x1df)],_0x31e12f[_0x38e02f(0x18b)]))_0x3376cd++,_0x31e12f[_0x38e02f(0x179)](_0x3376cd,0x1)&&await this['stopBrowserstackLocal']();else{const _0x1df085=_0x1074e3=>{const _0xaa134=_0x38e02f;_0x5d6eb3[_0xaa134(0x190)](_0x1074e3[_0xaa134(0x1d2)]),_0x2fb172[_0xaa134(0x166)](_0x1074e3);};_0x1b656e['on'](_0x31e12f[_0x38e02f(0x18e)],_0x1df085),_0x54d8a8['on'](_0x31e12f['YJewy'],_0x1df085);}};process['on'](_0x31e12f[_0x17ac2b(0x16b)],_0x747d28),process['on'](_0x31e12f[_0x17ac2b(0x1cb)],_0x747d28),process['on'](_0x31e12f[_0x17ac2b(0x1bb)],_0x747d28);}else!_0x44c7cb[_0x17ac2b(0x167)](this[_0x17ac2b(0x1c6)][_0x17ac2b(0x174)])&&_0x31e12f[_0x17ac2b(0x18f)](this[_0x17ac2b(0x1c6)][_0x17ac2b(0x174)][_0x17ac2b(0x1c8)],_0xe03232)?this[_0x17ac2b(0x1c6)][_0x17ac2b(0x174)][_0x17ac2b(0x1d6)]=_0x211d09[_0x17ac2b(0x1d5)]():this[_0x17ac2b(0x1c6)]['browserStackLocalOptions']={'localIdentifier':_0x781d98[_0x17ac2b(0x1d5)]()};}catch(_0x49c1ec){_0x31e12f['bijLL'](_0x31e12f['bejDb'],_0x31e12f[_0x17ac2b(0x193)])?_0x1718db['info'](_0x31e12f[_0x17ac2b(0x1bf)]):(logger[_0x17ac2b(0x190)](_0x31e12f[_0x17ac2b(0x1a9)],_0x49c1ec['message']),logger[_0x17ac2b(0x166)](_0x49c1ec));}else this['config'][_0x17ac2b(0x174)]={'localIdentifier':_0x100b91[_0x17ac2b(0x1d5)]()};}}async[a31_0x30e02b(0x17a)](){const _0x247c4d=a31_0x30e02b,_0x351ae1={'AMXhp':function(_0x115f10,_0x207be1){return _0x115f10(_0x207be1);},'qjhAW':_0x247c4d(0x180),'ryXMS':function(_0xda1919,_0x5af665){return _0xda1919!==_0x5af665;},'fjuzO':_0x247c4d(0x1c3),'suKpb':'pdGcV','eTtVy':_0x247c4d(0x1de),'ITaaE':_0x247c4d(0x17e)};if(this[_0x247c4d(0x1e4)]&&this['browserstackLocal'][_0x247c4d(0x171)]())try{_0x351ae1[_0x247c4d(0x181)](_0x351ae1[_0x247c4d(0x1ae)],_0x351ae1['suKpb'])?(await helper[_0x247c4d(0x196)](this[_0x247c4d(0x1e4)]),logger[_0x247c4d(0x177)](_0x351ae1['eTtVy'])):_0x351ae1['AMXhp'](_0x3b2d07,_0x351ae1[_0x247c4d(0x1af)])();}catch(_0x1d8f9c){logger['error'](_0x351ae1[_0x247c4d(0x16f)],_0x1d8f9c[_0x247c4d(0x1d2)]);}}[a31_0x30e02b(0x1c7)](){const _0x47ea20=a31_0x30e02b,_0x255e14={'Maxnj':function(_0x34174e,_0x532ee3){return _0x34174e(_0x532ee3);},'zbKLw':'./setKeepAlive'};_0x255e14['Maxnj'](require,_0x255e14[_0x47ea20(0x1cc)])();}['handleExceptions'](){const _0x341ee9=a31_0x30e02b,_0x5b0c07={};_0x5b0c07['PfEum']=_0x341ee9(0x1c4),_0x5b0c07[_0x341ee9(0x188)]=_0x341ee9(0x18a);const _0x27b343=_0x5b0c07,_0x345e3c=_0x319fef=>{const _0x144a98=_0x341ee9;logger['error'](_0x319fef[_0x144a98(0x1d2)]),logger[_0x144a98(0x166)](_0x319fef);};process['on'](_0x27b343['PfEum'],_0x345e3c),process['on'](_0x27b343[_0x341ee9(0x188)],_0x345e3c);}}exports['default']=BrowserStackSetup;function a31_0x3156(){const _0x24c728=['cbcts','sqWbw','1644597OmAyfA','userName\x20or\x20accessKey\x20is\x20not\x20defined','vRpdd','2215EEsSAg','StImD','hdYCE','UctYe','zrmXs','XFCGu','7688ERXuqq','nkfoO','uXMfO','lzVag','./helper','winstonLogger','fjuzO','qjhAW','Local\x20binary\x20started\x20successfully','tgGFm','YJewy','bejDb','setLogLevel','5085714XNlIDH','SIGINT','setProxySettings','iydqi','cczxI','SIGTERM','kogHS','TCeFw','dnWPt','CxwKg','rlpfd','UUgUz','2pvCxuf','2527674OVTqdX','AjiAi','unhandledRejection','getConfigPath','config','setupKeepAlive','constructor','dwTzO','HiZmq','PbObA','zbKLw','ZBfpR','./logger','SCtAH','VfocH','lOyBO','message','gJgDC','SHWnH','generateLocalIdentifier','localIdentifier','readConfig','BROWSERSTACK_LOCAL','handleExceptions','GvnUO','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','warn','Mkxzn','Local\x20binary\x20stopped','PKNIz','BYGRT','qYXwG','gylJu','SyuZv','browserstackLocal','UgBmI','setupBrowserstackLocal','BVhKy','length','197176lSLMvh','debug','isUndefined','zwSwx','175tWGUYk','3913272SyLzpp','nQkaU','UZqXx','443705uGHmhf','dhqHX','ITaaE','yHnIe','isRunning','GJwVR','ynCgl','browserStackLocalOptions','PxRQA','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','info','JhUjJ','gvyfo','stopBrowserstackLocal','MWQUl','useW3C','jpfjl','Error\x20occured\x20while\x20stopping\x20local\x20binary','lApuO','./setKeepAlive','ryXMS','yAjcl','jcOns','getUserName','60SWyEQv','startLocalBinarySync','ypcno','NcLlw','getAccessKey','uncaughtException','bhznX','platforms','localOptions','UULMa','bijLL','error','MSdWT','czzAk','bSKWk','10Cxfzst','tcGcj','stopLocalBinary','TvWUI','parallelsPerPlatform','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','uygkL','getLocalIdentifier','getLocalConfig'];a31_0x3156=function(){return _0x24c728;};return a31_0x3156();}
|