browserstack-node-sdk 1.23.1 → 1.23.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/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/templates/browser-node-cluster-role-binding.yaml +12 -0
- package/ats/src/templates/browser-node-cluster-role.yaml +12 -0
- package/ats/src/templates/browser-node-service-account.yaml +5 -0
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- 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/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.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/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/performance-tester.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a30_0x5d35(){const _0x1a1ab5=['10836QSFxXz','QJuaY','1971578nTRZFv','12UuEEEe','configuration','../launcher/launcher','GCkyD','IJRUA','mocha','145008YgHmce','RBEew','31322PYMhOI','formatter','qmRjw','cucumber-js','8gBFnrb','vanilla','3550yzOiWr','20EbAFoK','runTest','3161600PgmVOn','run','953391rRySZi','lSQoQ','13076393EtmbPv','2GjdfUY'];a30_0x5d35=function(){return _0x1a1ab5;};return a30_0x5d35();}const a30_0xa86823=a30_0x5124;function a30_0x5124(_0x326a9a,_0x115467){const _0x5d3528=a30_0x5d35();return a30_0x5124=function(_0x512457,_0x5d55d8){_0x512457=_0x512457-0x11d;let _0x33504a=_0x5d3528[_0x512457];return _0x33504a;},a30_0x5124(_0x326a9a,_0x115467);}(function(_0x1c70f2,_0xce9b71){const _0x363a0c=a30_0x5124,_0x29758b=_0x1c70f2();while(!![]){try{const _0x37062c=parseInt(_0x363a0c(0x133))/0x1*(parseInt(_0x363a0c(0x127))/0x2)+-parseInt(_0x363a0c(0x124))/0x3*(parseInt(_0x363a0c(0x11d))/0x4)+parseInt(_0x363a0c(0x120))/0x5*(parseInt(_0x363a0c(0x131))/0x6)+-parseInt(_0x363a0c(0x12a))/0x7+parseInt(_0x363a0c(0x122))/0x8+parseInt(_0x363a0c(0x128))/0x9*(-parseInt(_0x363a0c(0x11f))/0xa)+-parseInt(_0x363a0c(0x126))/0xb*(-parseInt(_0x363a0c(0x12b))/0xc);if(_0x37062c===_0xce9b71)break;else _0x29758b['push'](_0x29758b['shift']());}catch(_0x4ede7b){_0x29758b['push'](_0x29758b['shift']());}}}(a30_0x5d35,0x59ab9),exports[a30_0xa86823(0x121)]=async(_0x1b84c9,_0x30247c)=>{const _0x2bb1c7=a30_0xa86823,_0x489a4d={'GCkyD':function(_0x19a8ba,_0x28a884){return _0x19a8ba(_0x28a884);},'dhPSu':_0x2bb1c7(0x12d),'RBEew':_0x2bb1c7(0x130)},_0x9f8439=_0x489a4d[_0x2bb1c7(0x12e)](require,_0x489a4d['dhPSu']),_0x428c34=new _0x9f8439(_0x489a4d[_0x2bb1c7(0x132)],_0x1b84c9,_0x30247c);return await _0x428c34['run']();},exports['runCucumberTest']=async(_0x28bf66,_0x585222,_0x4b7da4,_0x4dc931,_0x57456c)=>{const _0x4d6f62=a30_0xa86823,_0x289b25={'cnjTn':function(_0x333e7f,_0xb44bae){return _0x333e7f(_0xb44bae);},'VkHLo':'../launcher/launcher','lSQoQ':_0x4d6f62(0x136)},_0x57eef1={'capability':_0x28bf66,..._0x585222},_0x227f9e={};_0x227f9e[_0x4d6f62(0x12c)]=_0x57eef1,_0x227f9e[_0x4d6f62(0x134)]=_0x57456c;let _0x850c6a=_0x227f9e;const _0x1941ea=_0x289b25['cnjTn'](require,_0x289b25['VkHLo']),_0x56f7d2=new _0x1941ea(_0x289b25[_0x4d6f62(0x125)],_0x850c6a,_0x4b7da4,_0x4dc931);return await _0x56f7d2[_0x4d6f62(0x123)]();},exports['runVanillaTest']=async _0x4b655c=>{const _0x1f1911=a30_0xa86823,_0x4c9bb5={'IJRUA':function(_0xae3407,_0x569c2f){return _0xae3407(_0x569c2f);},'QJuaY':_0x1f1911(0x12d),'qmRjw':_0x1f1911(0x11e)},_0x2f2339=_0x4c9bb5[_0x1f1911(0x12f)](require,_0x4c9bb5[_0x1f1911(0x129)]),_0x281b1e=new _0x2f2339(_0x4c9bb5[_0x1f1911(0x135)],_0x4b655c);return await _0x281b1e[_0x1f1911(0x123)]();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a31_0x4e3259=a31_0x4229;(function(_0x1296fb,_0x4b2ca6){const _0x102cc8=a31_0x4229,_0x572bc1=_0x1296fb();while(!![]){try{const _0x44153b=-parseInt(_0x102cc8(0x11d))/0x1+parseInt(_0x102cc8(0x121))/0x2+parseInt(_0x102cc8(0x122))/0x3*(parseInt(_0x102cc8(0x11f))/0x4)+parseInt(_0x102cc8(0x123))/0x5+-parseInt(_0x102cc8(0x12a))/0x6*(-parseInt(_0x102cc8(0x12b))/0x7)+parseInt(_0x102cc8(0x126))/0x8*(-parseInt(_0x102cc8(0x129))/0x9)+-parseInt(_0x102cc8(0x124))/0xa*(-parseInt(_0x102cc8(0x11c))/0xb);if(_0x44153b===_0x4b2ca6)break;else _0x572bc1['push'](_0x572bc1['shift']());}catch(_0x3f6d7c){_0x572bc1['push'](_0x572bc1['shift']());}}}(a31_0x553b,0x70719));const {runTest,runCucumberTest,runVanillaTest}=require(a31_0x4e3259(0x128));function a31_0x4229(_0x5d7ad6,_0x5590dc){const _0x553b39=a31_0x553b();return a31_0x4229=function(_0x4229c8,_0x1f7ef0){_0x4229c8=_0x4229c8-0x11b;let _0x258bff=_0x553b39[_0x4229c8];return _0x258bff;},a31_0x4229(_0x5d7ad6,_0x5590dc);}function a31_0x553b(){const _0x488229=['1437DqhNxL','960030zkRGLN','851350xAirqx','UOyJF','8mXWDdg','CFSEO','./runTest','4566015quANtO','54690dVerKi','329FodYRn','OutXl','11YlmIOf','607725smlVql','cucumberWorker','1212hmhsuZ','worker','1449892JAUrLW'];a31_0x553b=function(){return _0x488229;};return a31_0x553b();}exports[a31_0x4e3259(0x120)]=async(_0x4f4427,_0x3e1d27)=>{const _0x2aa704=a31_0x4e3259,_0x1c7d1d={'CFSEO':function(_0x44039d,_0x134fd3,_0x4a8e2b){return _0x44039d(_0x134fd3,_0x4a8e2b);}};return await _0x1c7d1d[_0x2aa704(0x127)](runTest,_0x4f4427,_0x3e1d27);},exports[a31_0x4e3259(0x11e)]=async(_0x2218bb,_0xc4e820,_0x1d3da2,_0x56ad37,_0xf789f3)=>{const _0x47fd4f=a31_0x4e3259,_0xfd949c={'OutXl':function(_0x225f8e,_0xa7ee11,_0x4d321e,_0x37bf00,_0xf96dac,_0x58db0d){return _0x225f8e(_0xa7ee11,_0x4d321e,_0x37bf00,_0xf96dac,_0x58db0d);}};return await _0xfd949c[_0x47fd4f(0x11b)](runCucumberTest,_0x2218bb,_0xc4e820,_0x1d3da2,_0x56ad37,_0xf789f3);},exports['vanillaWorker']=async _0x2bb7f4=>{const _0xef9664=a31_0x4e3259,_0x1e80c9={'UOyJF':function(_0x1a2211,_0x5dbcaa){return _0x1a2211(_0x5dbcaa);}};return await _0x1e80c9[_0xef9664(0x125)](runVanillaTest,_0x2bb7f4);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a32_0x44214c=a32_0x4d60;(function(_0x288d5d,_0x3a7352){var _0x29960d=a32_0x4d60,_0x530795=_0x288d5d();while(!![]){try{var _0x4a6639=-parseInt(_0x29960d(0x142))/0x1*(-parseInt(_0x29960d(0x13f))/0x2)+parseInt(_0x29960d(0x119))/0x3*(-parseInt(_0x29960d(0x149))/0x4)+-parseInt(_0x29960d(0x133))/0x5+-parseInt(_0x29960d(0x147))/0x6*(-parseInt(_0x29960d(0x12c))/0x7)+parseInt(_0x29960d(0x115))/0x8+parseInt(_0x29960d(0x116))/0x9*(-parseInt(_0x29960d(0x158))/0xa)+-parseInt(_0x29960d(0x124))/0xb*(parseInt(_0x29960d(0x125))/0xc);if(_0x4a6639===_0x3a7352)break;else _0x530795['push'](_0x530795['shift']());}catch(_0x40f565){_0x530795['push'](_0x530795['shift']());}}}(a32_0x5566,0x3771d));var a32_0x1bb0c0={};a32_0x1bb0c0[a32_0x44214c(0x13e)]='shows\x20version\x20information',a32_0x1bb0c0[a32_0x44214c(0x13b)]=a32_0x44214c(0x13c);var a32_0x35e584={};a32_0x35e584[a32_0x44214c(0x13e)]=a32_0x44214c(0x11d);var a32_0x2e95b5={};a32_0x2e95b5[a32_0x44214c(0x13e)]=a32_0x44214c(0x11f);var a32_0x41c47c={};function a32_0x5566(){var _0x40c998=['Run\x20cucumber-js\x20tests\x20on\x20browserstack','VERSION','Run\x20nightwatch\x20tests\x20on\x20browserstack','ERR_CONNECTION_TIMED_OUT','729430CuoaZI','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','ERR_CONNECTION_ABORTED','APP_AUTOMATE','automate','Run\x20js\x20tests\x20on\x20browserstack','browserVersion','ERR_CONNECTION_CLOSED','HELP','Specify\x20--help\x20for\x20available\x20options','.aab','INFO','747606oiwrlt','ERR_NAME_NOT_RESOLVED','ERR_NETWORK_CHANGED','1hVRBph','HST','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','Playwright','FUNNEL_INSTRUMENTATION_API_URL','6QpirOS','.apk','68WSYTxK','ROOT_REGEX','unhandledPromptBehavior','Run\x20playwright\x20tests\x20with\x20Observability','ERR_SOCKS_CONNECTION_FAILED','ieOptions','sdk/v1/event','https://api-cloud.browserstack.com','ERR_ADDRESS_UNREACHABLE','VALID_APP_EXTENSION','Run\x20codeceptjs\x20tests\x20on\x20browserstack','ERR_BLOCKED_BY_CLIENT','ERR_CONNECTION_REFUSED','./browserstack-artifacts/','BSTACK_DELTA','148730tQIxIF','ERR_SOCKET_NOT_CONNECTED','2867648IHStsC','99vakyDk','acceptSslCerts','.ipa','8433EYndgG','ERR_FAILED','CI_ARTIFACTS_PATH','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','Run\x20jest\x20tests\x20on\x20browserstack','CUSTOM_ID_REGEX','Run\x20mocha\x20tests\x20on\x20browserstack','ERR_ADDRESS_INVALID','app-automate','SHAREABLE_ID_REGEX','acceptSslCert','814FvChDZ','81228CsKCgo','CODECEPTJS','AUTOMATE','https://api.browserstack.com','observability','chromeOptions','firefoxOptions','2471168iyGznG','OBSERVABILITY_SUPPORTED_FWS','MOCHA'];a32_0x5566=function(){return _0x40c998;};return a32_0x5566();}a32_0x41c47c['INFO']=a32_0x44214c(0x12f);var a32_0xc68522={};a32_0xc68522[a32_0x44214c(0x13e)]=a32_0x44214c(0x138);var a32_0x3a2b82={};a32_0x3a2b82[a32_0x44214c(0x13e)]=a32_0x44214c(0x131);var a32_0x158911={};a32_0x158911['INFO']=a32_0x44214c(0x14c);var a32_0x1dceef={};a32_0x1dceef[a32_0x44214c(0x13e)]=a32_0x44214c(0x153);function a32_0x4d60(_0x18c575,_0x4097f2){var _0x556691=a32_0x5566();return a32_0x4d60=function(_0x4d605e,_0x1e26aa){_0x4d605e=_0x4d605e-0x115;var _0x599da0=_0x556691[_0x4d605e];return _0x599da0;},a32_0x4d60(_0x18c575,_0x4097f2);}var a32_0x20b597={};a32_0x20b597[a32_0x44214c(0x13e)]=a32_0x44214c(0x11c);var a32_0x1899fa={};a32_0x1899fa[a32_0x44214c(0x130)]=a32_0x1bb0c0,a32_0x1899fa['JEST']=a32_0x35e584,a32_0x1899fa[a32_0x44214c(0x12e)]=a32_0x2e95b5,a32_0x1899fa['CUCUMBER']=a32_0x41c47c,a32_0x1899fa['VANILLA']=a32_0xc68522,a32_0x1899fa['NIGHTWATCH']=a32_0x3a2b82,a32_0x1899fa['PLAYWRIGHT']=a32_0x158911,a32_0x1899fa[a32_0x44214c(0x126)]=a32_0x1dceef,a32_0x1899fa[a32_0x44214c(0x143)]=a32_0x20b597,a32_0x1899fa[a32_0x44214c(0x157)]=0xf*0x3c*0x3e8,a32_0x1899fa['hubUrl']='https://hub.browserstack.com/wd/hub',a32_0x1899fa['ROOT_CAPS']=['acceptInsecureCerts','pageLoadStrategy','strictFileInteractability',a32_0x44214c(0x14b),'timeouts','browserName',a32_0x44214c(0x139),a32_0x44214c(0x117),a32_0x44214c(0x123),a32_0x44214c(0x12a),a32_0x44214c(0x12b),'edgeOptions',a32_0x44214c(0x14e)],a32_0x1899fa[a32_0x44214c(0x14a)]=/^[\w-]+:.*$/,a32_0x1899fa['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a32_0x1899fa['BROWSERSTACK_API_URL']=a32_0x44214c(0x128),a32_0x1899fa['APP_UPLOAD_URL']=a32_0x44214c(0x150),a32_0x1899fa[a32_0x44214c(0x146)]=a32_0x44214c(0x14f),a32_0x1899fa['AUTOMATE_PRODUCTS']=[a32_0x44214c(0x137),a32_0x44214c(0x129)],a32_0x1899fa['APP_AUTOMATE_PRODUCTS']=[a32_0x44214c(0x121),a32_0x44214c(0x129)],a32_0x1899fa['PRODUCT_IF_NOT_BROWSERSTACK_INFRA']=[a32_0x44214c(0x129)],a32_0x1899fa[a32_0x44214c(0x12d)]=['mocha',a32_0x44214c(0x145)],a32_0x1899fa[a32_0x44214c(0x127)]=[a32_0x44214c(0x137)],a32_0x1899fa[a32_0x44214c(0x136)]=[a32_0x44214c(0x121)],a32_0x1899fa['NUDGE_LOCAL_ERRORS']=[a32_0x44214c(0x11a),'ERR_TIMED_OUT',a32_0x44214c(0x154),a32_0x44214c(0x141),a32_0x44214c(0x159),a32_0x44214c(0x13a),'ERR_CONNECTION_RESET',a32_0x44214c(0x155),a32_0x44214c(0x135),'ERR_CONNECTION_FAILED',a32_0x44214c(0x140),a32_0x44214c(0x120),a32_0x44214c(0x151),'ERR_TUNNEL_CONNECTION_FAILED',a32_0x44214c(0x132),a32_0x44214c(0x14d),a32_0x44214c(0x144),'ERR_PROXY_CONNECTION_FAILED',a32_0x44214c(0x140),'ERR_NAME_RESOLUTION_FAILED','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a32_0x1899fa[a32_0x44214c(0x152)]=[a32_0x44214c(0x148),a32_0x44214c(0x13d),a32_0x44214c(0x118)],a32_0x1899fa[a32_0x44214c(0x11e)]='^[a-zA-Z0-9_.-]*$',a32_0x1899fa[a32_0x44214c(0x122)]=a32_0x44214c(0x134),a32_0x1899fa[a32_0x44214c(0x11b)]=a32_0x44214c(0x156),module['exports']=a32_0x1899fa;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a33_0x4e8a(){const _0xe7e833=['levelStr','timezoneOffset','942852PKGirP','5297280gqUajG','7675MTjPcw','3elswbB','2697166mCrPzA','level','data','configure','1185408UZXbdv','layout','type','colouredLayout','128035ujqXHA','PQykl','48AbhrXj','143hQQnNK','125040dQFWJW','765ADBPyI','12viwAaQ','log'];a33_0x4e8a=function(){return _0xe7e833;};return a33_0x4e8a();}const a33_0x3e8998=a33_0x50df;(function(_0x49a026,_0x507177){const _0x231676=a33_0x50df,_0x5c29b7=_0x49a026();while(!![]){try{const _0x38e5da=parseInt(_0x231676(0xe2))/0x1+parseInt(_0x231676(0xe4))/0x2*(parseInt(_0x231676(0xe3))/0x3)+-parseInt(_0x231676(0xdc))/0x4*(-parseInt(_0x231676(0xd6))/0x5)+-parseInt(_0x231676(0xd8))/0x6*(parseInt(_0x231676(0xe8))/0x7)+parseInt(_0x231676(0xe1))/0x8+-parseInt(_0x231676(0xdb))/0x9*(parseInt(_0x231676(0xda))/0xa)+parseInt(_0x231676(0xd9))/0xb*(parseInt(_0x231676(0xe0))/0xc);if(_0x38e5da===_0x507177)break;else _0x5c29b7['push'](_0x5c29b7['shift']());}catch(_0x37cade){_0x5c29b7['push'](_0x5c29b7['shift']());}}}(a33_0x4e8a,0xaaabe));const logReportingAPI=require('./logReportingAPI'),BSTestOpsLogger=new logReportingAPI({});function a33_0x50df(_0x4353d4,_0x423628){const _0x4e8a2a=a33_0x4e8a();return a33_0x50df=function(_0x50df28,_0x5bcbef){_0x50df28=_0x50df28-0xd5;let _0x25f767=_0x4e8a2a[_0x50df28];return _0x25f767;},a33_0x50df(_0x4353d4,_0x423628);}function BSTestOpsLog4JSAppender(_0x2758b9,_0xdb82ed){return _0x2b7b45=>{const _0x1332be=a33_0x50df;BSTestOpsLogger[_0x1332be(0xdd)]({'level':_0x2b7b45[_0x1332be(0xe5)]?_0x2b7b45[_0x1332be(0xe5)][_0x1332be(0xde)]:null,'message':_0x2b7b45[_0x1332be(0xe6)]?_0x2b7b45[_0x1332be(0xe6)]['join']('\x20'):null});};}exports[a33_0x3e8998(0xe7)]=(_0x302c12,_0x107021)=>{const _0x2d4318=a33_0x3e8998,_0x1ec645={'PQykl':function(_0x5c6be1,_0x4a0eb5,_0x44a363){return _0x5c6be1(_0x4a0eb5,_0x44a363);}};let _0x9f9270=_0x107021[_0x2d4318(0xd5)];return _0x302c12[_0x2d4318(0xe9)]&&(_0x9f9270=_0x107021['layout'](_0x302c12['layout'][_0x2d4318(0xea)],_0x302c12[_0x2d4318(0xe9)])),_0x1ec645[_0x2d4318(0xd7)](BSTestOpsLog4JSAppender,_0x9f9270,_0x302c12[_0x2d4318(0xdf)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34_0x3289bf=a34_0x4bd4;(function(_0x2538e8,_0x18a77f){const _0x179457=a34_0x4bd4,_0x17a5f3=_0x2538e8();while(!![]){try{const _0x425e75=parseInt(_0x179457(0x1e0))/0x1+-parseInt(_0x179457(0x1ec))/0x2*(parseInt(_0x179457(0x1df))/0x3)+-parseInt(_0x179457(0x1de))/0x4*(parseInt(_0x179457(0x1ee))/0x5)+-parseInt(_0x179457(0x1f2))/0x6*(-parseInt(_0x179457(0x1ea))/0x7)+-parseInt(_0x179457(0x1e3))/0x8+parseInt(_0x179457(0x1f8))/0x9*(-parseInt(_0x179457(0x1e2))/0xa)+parseInt(_0x179457(0x1f5))/0xb;if(_0x425e75===_0x18a77f)break;else _0x17a5f3['push'](_0x17a5f3['shift']());}catch(_0x4bcaa5){_0x17a5f3['push'](_0x17a5f3['shift']());}}}(a34_0x2cf6,0x30899));const Transport=require(a34_0x3289bf(0x1e7)),{consoleHolder}=require('../../helpers/test-observability/constants'),a34_0x419369={};a34_0x419369[a34_0x3289bf(0x1e9)]=a34_0x3289bf(0x1e9),a34_0x419369[a34_0x3289bf(0x1f4)]='ERROR',a34_0x419369[a34_0x3289bf(0x1ef)]=a34_0x3289bf(0x1ef),a34_0x419369[a34_0x3289bf(0x1e8)]='TRACE',a34_0x419369[a34_0x3289bf(0x1dd)]=a34_0x3289bf(0x1dd);function a34_0x2cf6(){const _0x4a332c=['95dzZszh','DEBUG','pid','toUpperCase','6deokgt','logToTestOps','ERROR','5657597seGAKB','join','toISOString','532332eMtjtq','FTbnr','exports','WARN','37144uBrzxY','6BXChnN','201130SHyKCS','error','10odzief','1955128gvdOJp','log','debug','emit','winston-transport','TRACE','INFO','1868195pwAKDT','TEST_LOG','303560CkAamF','warn'];a34_0x2cf6=function(){return _0x4a332c;};return a34_0x2cf6();}const LOG_LEVELS=a34_0x419369;class logPatcher extends Transport{constructor(_0x566970){super(_0x566970);}[a34_0x3289bf(0x1f3)]=(_0x36cd9e=LOG_LEVELS[a34_0x3289bf(0x1e9)],_0x251c35=[''])=>{const _0x92a567=a34_0x3289bf,_0x466724={};_0x466724['FTbnr']=_0x92a567(0x1eb);const _0x335555=_0x466724;consoleHolder[_0x36cd9e['toLowerCase']()](..._0x251c35),process[_0x92a567(0x1e6)]('bs:addLog:'+process[_0x92a567(0x1f0)],{'timestamp':new Date()[_0x92a567(0x1f7)](),'level':_0x36cd9e[_0x92a567(0x1f1)](),'message':'\x22'+_0x251c35[_0x92a567(0x1f6)](',\x20')+'\x22','kind':_0x335555[_0x92a567(0x1f9)],'http_response':{}});};['trace']=(..._0x34f712)=>{const _0x24825e=a34_0x3289bf;this['logToTestOps'](LOG_LEVELS[_0x24825e(0x1e8)],_0x34f712);};[a34_0x3289bf(0x1e5)]=(..._0x2044ce)=>{this['logToTestOps'](LOG_LEVELS['DEBUG'],_0x2044ce);};['info']=(..._0x72be9)=>{const _0x57acf7=a34_0x3289bf;this[_0x57acf7(0x1f3)](LOG_LEVELS['INFO'],_0x72be9);};[a34_0x3289bf(0x1ed)]=(..._0x57506f)=>{const _0x30f4aa=a34_0x3289bf;this[_0x30f4aa(0x1f3)](LOG_LEVELS[_0x30f4aa(0x1dd)],_0x57506f);};[a34_0x3289bf(0x1e1)]=(..._0x530df8)=>{const _0xe15bcb=a34_0x3289bf;this[_0xe15bcb(0x1f3)](LOG_LEVELS[_0xe15bcb(0x1f4)],_0x530df8);};[a34_0x3289bf(0x1e4)]=(..._0x36bc09)=>{const _0x35c00d=a34_0x3289bf;this[_0x35c00d(0x1f3)](LOG_LEVELS[_0x35c00d(0x1e9)],_0x36bc09);};}function a34_0x4bd4(_0x3c42b0,_0x9877a){const _0x2cf63a=a34_0x2cf6();return a34_0x4bd4=function(_0x4bd4cb,_0x4bff8a){_0x4bd4cb=_0x4bd4cb-0x1dc;let _0x10397d=_0x2cf63a[_0x4bd4cb];return _0x10397d;},a34_0x4bd4(_0x3c42b0,_0x9877a);};module[a34_0x3289bf(0x1dc)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35_0x33ec35=a35_0x58fc;(function(_0x298614,_0x57e3c8){const _0x1edfcc=a35_0x58fc,_0x447f64=_0x298614();while(!![]){try{const _0x4e7cc8=parseInt(_0x1edfcc(0x117))/0x1+-parseInt(_0x1edfcc(0x11c))/0x2*(-parseInt(_0x1edfcc(0x124))/0x3)+-parseInt(_0x1edfcc(0x133))/0x4*(parseInt(_0x1edfcc(0x121))/0x5)+-parseInt(_0x1edfcc(0x10f))/0x6+parseInt(_0x1edfcc(0x126))/0x7+-parseInt(_0x1edfcc(0x11b))/0x8*(-parseInt(_0x1edfcc(0x10a))/0x9)+-parseInt(_0x1edfcc(0x129))/0xa;if(_0x4e7cc8===_0x57e3c8)break;else _0x447f64['push'](_0x447f64['shift']());}catch(_0x4de18a){_0x447f64['push'](_0x447f64['shift']());}}}(a35_0x10d5,0x210a2));const Transport=require(a35_0x33ec35(0x132)),{consoleHolder}=require('../../helpers/test-observability/constants'),a35_0x2b5baf={};function a35_0x58fc(_0x2400b3,_0x500c91){const _0x10d5d4=a35_0x10d5();return a35_0x58fc=function(_0x58fc2b,_0x31b08e){_0x58fc2b=_0x58fc2b-0x108;let _0x464d08=_0x10d5d4[_0x58fc2b];return _0x464d08;},a35_0x58fc(_0x2400b3,_0x500c91);}a35_0x2b5baf[a35_0x33ec35(0x116)]=a35_0x33ec35(0x116),a35_0x2b5baf[a35_0x33ec35(0x12e)]=a35_0x33ec35(0x12e),a35_0x2b5baf[a35_0x33ec35(0x114)]='DEBUG',a35_0x2b5baf[a35_0x33ec35(0x12d)]=a35_0x33ec35(0x12d),a35_0x2b5baf[a35_0x33ec35(0x12f)]=a35_0x33ec35(0x12f);const LOG_LEVELS=a35_0x2b5baf;class logReportingAPI extends Transport{constructor(_0x37c431){super(_0x37c431);}[a35_0x33ec35(0x118)](_0x176283,_0x3563b9){const _0x5bd0e2=a35_0x33ec35,_0x48fd71={'PEDik':function(_0x1ab96b,_0x3562da){return _0x1ab96b===_0x3562da;},'EEtXe':_0x5bd0e2(0x112),'PjLJU':'xiywK','YpGpL':_0x5bd0e2(0x131),'SUinZ':_0x5bd0e2(0x10b),'uypov':function(_0x22f26d,_0x1e1341){return _0x22f26d(_0x1e1341);},'hatGB':function(_0xefc8ba,_0x2a1d82){return _0xefc8ba===_0x2a1d82;},'KGbAu':'object','PMRXE':function(_0x4e6ec0,_0x56ee91){return _0x4e6ec0!==_0x56ee91;},'JqDVc':_0x5bd0e2(0x12c),'aWQiJ':_0x5bd0e2(0x125),'HfTQA':_0x5bd0e2(0x12a),'pCHGR':function(_0x46f34a){return _0x46f34a();}};_0x48fd71[_0x5bd0e2(0x108)](setImmediate,()=>{const _0x56af21=_0x5bd0e2;_0x48fd71[_0x56af21(0x123)](_0x48fd71[_0x56af21(0x110)],_0x48fd71['PjLJU'])?this[_0x56af21(0x115)](_0x38894e['TRACE'],_0x1fc0e9):this[_0x56af21(0x10e)](_0x48fd71[_0x56af21(0x11d)],_0x176283);});if(_0x48fd71['hatGB'](typeof _0x176283,_0x48fd71['KGbAu'])){if(_0x48fd71[_0x5bd0e2(0x128)](_0x48fd71[_0x5bd0e2(0x113)],_0x48fd71[_0x5bd0e2(0x113)])){if(_0x25f5df)_0x583bf6[_0x429701[_0x5bd0e2(0x120)]()](_0x3edbc8);_0x4554aa[_0x5bd0e2(0x10e)](_0x5bd0e2(0x127)+_0x2d8888[_0x5bd0e2(0x122)],{'timestamp':new _0x2e6fb4()[_0x5bd0e2(0x11f)](),'level':_0x12e2e1[_0x5bd0e2(0x10d)](),'message':_0x48781e,'kind':_0x48fd71['SUinZ'],'http_response':{}});}else this[_0x5bd0e2(0x115)](_0x176283['level']||LOG_LEVELS['INFO'],_0x176283['message'],![]);}else _0x48fd71[_0x5bd0e2(0x109)](_0x48fd71[_0x5bd0e2(0x10c)],_0x48fd71['HfTQA'])?this[_0x5bd0e2(0x115)](_0x35dd44[_0x5bd0e2(0x114)],_0x48f800):this['logToTestOps'](LOG_LEVELS['INFO'],_0x176283);if(_0x3563b9)_0x48fd71[_0x5bd0e2(0x130)](_0x3563b9);}[a35_0x33ec35(0x115)]=(_0x12e531=LOG_LEVELS[a35_0x33ec35(0x116)],_0x4a7224='',_0x4426f4=!![])=>{const _0x490822=a35_0x33ec35,_0x254805={};_0x254805[_0x490822(0x12b)]=_0x490822(0x10b);const _0x115ffe=_0x254805;if(_0x4426f4)consoleHolder[_0x12e531['toLowerCase']()](_0x4a7224);process[_0x490822(0x10e)](_0x490822(0x127)+process[_0x490822(0x122)],{'timestamp':new Date()[_0x490822(0x11f)](),'level':_0x12e531[_0x490822(0x10d)](),'message':_0x4a7224,'kind':_0x115ffe[_0x490822(0x12b)],'http_response':{}});};[a35_0x33ec35(0x111)]=(_0x46bb0d,_0x474ad4)=>{const _0x40630e=a35_0x33ec35;this['logToTestOps'](LOG_LEVELS[_0x40630e(0x12d)],_0x46bb0d);};[a35_0x33ec35(0x119)]=(_0x2226c8,_0x16c7c0)=>{const _0x154831=a35_0x33ec35;this[_0x154831(0x115)](LOG_LEVELS[_0x154831(0x114)],_0x2226c8);};['info']=(_0x555576,_0x5dd2c9)=>{const _0x38771f=a35_0x33ec35;this[_0x38771f(0x115)](LOG_LEVELS[_0x38771f(0x116)],_0x555576);};[a35_0x33ec35(0x11a)]=(_0x189f19,_0xbd6ef7)=>{const _0xc5f250=a35_0x33ec35;this['logToTestOps'](LOG_LEVELS[_0xc5f250(0x12f)],_0x189f19);};[a35_0x33ec35(0x11e)]=(_0x3b2a75,_0x4356e1)=>{const _0x1cfc14=a35_0x33ec35;this[_0x1cfc14(0x115)](LOG_LEVELS['ERROR'],_0x3b2a75);};};function a35_0x10d5(){const _0x1f1546=['bs:addLog:','PMRXE','3000070TzErIE','vlfjz','LSokT','XBavs','TRACE','ERROR','WARN','pCHGR','logged','winston-transport','436rmztpr','uypov','hatGB','2327229twqTUS','TEST_LOG','aWQiJ','toUpperCase','emit','96096KoOScI','EEtXe','trace','GPzWL','JqDVc','DEBUG','logToTestOps','INFO','66263LowRLx','log','debug','warn','8IpsznT','78486ogGyGQ','YpGpL','error','toISOString','toLowerCase','10000qzAnpR','pid','PEDik','18JzLGCC','csMNa','763357pHYReR'];a35_0x10d5=function(){return _0x1f1546;};return a35_0x10d5();}module['exports']=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a36_0x271352=a36_0x5c70;function a36_0x2044(){const _0x24c694=['../test-runner','File\x20','pgnKo','XcCmQ','wdaVQ','45SlPLqM','tdCII','miiXS','push','\x20doesn\x27t\x20exist','handleApp','4501MDVKBX','file','modifyBrowserStackCaps','existsSync','platforms','../utils/constants','vCsMC','2566298xmuXFU','nwYUq','BhwdQ','args','proxySettings','sklkx','then','server','CsqPE','10704CgSMGs','2758179ofOHGX','exports','aJanN','configuration','length','pWUfb','tnRyb','1948245oYqgVA','siRJQ','mQoWq','../../helpers/BrowserStackSetup','JiREU','../../helpers/helper','getPlatformName','JNtfj','isUndefined','XOAzn','finalExecution','1336168KjDpck','finally','JBASU','3734929dNeQlh','JHmJx','config','946749RtypIG','iNDXj','modifyBrowserStackW3CCaps','4XEwPdv','hubUrl','xtypH','10UzvoKU','File\x20path\x20is\x20required','forEach'];a36_0x2044=function(){return _0x24c694;};return a36_0x2044();}(function(_0x14463e,_0x3b83b3){const _0x4cf603=a36_0x5c70,_0x40e8f0=_0x14463e();while(!![]){try{const _0x3b2fa2=-parseInt(_0x4cf603(0x132))/0x1+-parseInt(_0x4cf603(0x14d))/0x2+-parseInt(_0x4cf603(0x11a))/0x3*(-parseInt(_0x4cf603(0x135))/0x4)+parseInt(_0x4cf603(0x121))/0x5+-parseInt(_0x4cf603(0x119))/0x6*(-parseInt(_0x4cf603(0x146))/0x7)+-parseInt(_0x4cf603(0x12c))/0x8*(-parseInt(_0x4cf603(0x140))/0x9)+parseInt(_0x4cf603(0x138))/0xa*(-parseInt(_0x4cf603(0x12f))/0xb);if(_0x3b2fa2===_0x3b83b3)break;else _0x40e8f0['push'](_0x40e8f0['shift']());}catch(_0x464050){_0x40e8f0['push'](_0x40e8f0['shift']());}}}(a36_0x2044,0xb039e));const fs=require('fs'),{default:BrowserStackSetup}=require(a36_0x271352(0x124)),helper=require(a36_0x271352(0x126)),constants=require(a36_0x271352(0x14b)),{parallelVanillaRun}=require(a36_0x271352(0x13b));function a36_0x5c70(_0x5d1473,_0x47c6fc){const _0x204496=a36_0x2044();return a36_0x5c70=function(_0x5c70b0,_0x57c8a3){_0x5c70b0=_0x5c70b0-0x116;let _0x2b4db8=_0x204496[_0x5c70b0];return _0x2b4db8;},a36_0x5c70(_0x5d1473,_0x47c6fc);}async function run(_0x591b52,_0x2a15fd){const _0x19a7f3=a36_0x271352,_0xc2329b={'nwYUq':'vanilla','JiREU':function(_0x1c55b7,_0x361cef){return _0x1c55b7===_0x361cef;},'vCsMC':_0x19a7f3(0x12e),'CsqPE':_0x19a7f3(0x13e),'iNDXj':function(_0x282d06,_0x6732a6){return _0x282d06(_0x6732a6);},'BhwdQ':_0x19a7f3(0x139),'JHmJx':function(_0x306a19,_0x3743e5){return _0x306a19(_0x3743e5);},'mQoWq':function(_0x63aa6c,_0x42fda4){return _0x63aa6c(_0x42fda4);},'aJanN':'Config\x20yml\x20is\x20required','siRJQ':function(_0x4c0670,_0x2b65b1){return _0x4c0670>_0x2b65b1;},'JNtfj':function(_0x34009f,_0x414554){return _0x34009f!==_0x414554;},'miiXS':_0x19a7f3(0x141),'pWUfb':function(_0x215a95,_0x182821){return _0x215a95>_0x182821;},'sklkx':'XENea','cROuq':function(_0x2873ec,_0x28871d){return _0x2873ec===_0x28871d;},'xtypH':_0x19a7f3(0x120),'wdaVQ':function(_0x4283cf,_0x190679){return _0x4283cf*_0x190679;},'pgnKo':function(_0xab4c8e,_0x47cfe1,_0x5d0652){return _0xab4c8e(_0x47cfe1,_0x5d0652);}},_0x372d45=new BrowserStackSetup(_0x591b52,_0xc2329b[_0x19a7f3(0x14e)]);await _0x372d45['setUpHubUrl'](),await helper[_0x19a7f3(0x145)](_0x372d45[_0x19a7f3(0x131)]);let _0x599fa1=[];if(helper[_0x19a7f3(0x129)](_0x591b52['_'][0x1]))throw _0xc2329b[_0x19a7f3(0x133)](Error,_0xc2329b[_0x19a7f3(0x14f)]);const _0x56fcb4=path['join'](process['cwd'](),_0x591b52['_'][0x1]);if(!fs[_0x19a7f3(0x149)](_0x56fcb4))throw _0xc2329b[_0x19a7f3(0x130)](Error,_0x19a7f3(0x13c)+_0x591b52['_'][0x1]+_0x19a7f3(0x144));if(!_0x372d45[_0x19a7f3(0x131)])throw _0xc2329b[_0x19a7f3(0x123)](Error,_0xc2329b[_0x19a7f3(0x11c)]);let _0x285afc=helper['useW3C'](_0x372d45['config']);if(_0x372d45[_0x19a7f3(0x131)]['platforms']&&_0xc2329b[_0x19a7f3(0x122)](_0x372d45[_0x19a7f3(0x131)]['platforms'][_0x19a7f3(0x11e)],0x0)){if(_0xc2329b[_0x19a7f3(0x128)](_0xc2329b[_0x19a7f3(0x142)],_0xc2329b[_0x19a7f3(0x142)])){let _0x523092;if(_0x4b4364)_0x523092=_0x3396bf[_0x19a7f3(0x134)](_0x4f09e0[_0x19a7f3(0x131)],_0xc2329b['nwYUq'],0x0);else _0x523092=_0xc4bd6b[_0x19a7f3(0x148)](_0x26bd14[_0x19a7f3(0x131)],_0xc2329b[_0x19a7f3(0x14e)],0x0);const _0x63e2ef={};_0x63e2ef[_0x19a7f3(0x117)]=_0x1d316b['hubUrl'],_0x63e2ef[_0x19a7f3(0x151)]=_0x31af1a['config'][_0x19a7f3(0x151)],_0x50bdb2=_0x63e2ef;const _0x400e34={'capability':_0x523092,..._0x2369e6};_0x400e34['file']=_0x3e77eb,_0x400e34[_0x19a7f3(0x150)]=_0x422353;const _0x2a03c9={};_0x2a03c9[_0x19a7f3(0x11d)]=_0x400e34,_0x2cd362=_0x2a03c9,_0x5bcd99['push'](_0x5875ec);}else _0x372d45[_0x19a7f3(0x131)][_0x19a7f3(0x14a)][_0x19a7f3(0x13a)]((_0x5c34e5,_0x2ff207)=>{const _0x473490=_0x19a7f3;if(_0xc2329b[_0x473490(0x125)](_0xc2329b[_0x473490(0x14c)],_0xc2329b['vCsMC'])){if(_0x285afc)_0x599fa1[_0x473490(0x143)](helper[_0x473490(0x134)](_0x372d45[_0x473490(0x131)],_0xc2329b[_0x473490(0x14e)],_0x2ff207));else _0x599fa1[_0x473490(0x143)](helper[_0x473490(0x148)](_0x372d45[_0x473490(0x131)],_0xc2329b[_0x473490(0x14e)],_0x2ff207));}else _0xafa9cd[_0x473490(0x13a)](_0x2abd45=>{const _0x1f0d15=_0x473490;_0x5e7ab4={'server':_0x53aa0d[_0x1f0d15(0x136)],'proxySettings':_0x515d1e[_0x1f0d15(0x131)][_0x1f0d15(0x151)],'platform':_0x48258b[_0x1f0d15(0x127)](_0x2abd45)};const _0x1f803e={'capability':_0x2abd45,..._0x52c224};_0x1f803e[_0x1f0d15(0x147)]=_0x4bbff0,_0x1f803e['args']=_0x5e310c;const _0x14b611={};_0x14b611[_0x1f0d15(0x11d)]=_0x1f803e,_0xdc66f8=_0x14b611,_0x47d9d7['push'](_0x245ef0);});});}let _0xd090ee,_0x36861b;const _0xd5a242=[];if(_0xc2329b[_0x19a7f3(0x11f)](_0x599fa1[_0x19a7f3(0x11e)],0x0)){if(_0xc2329b['JNtfj'](_0xc2329b[_0x19a7f3(0x152)],_0xc2329b[_0x19a7f3(0x152)])){if(_0x12c675)_0x4db43b[_0x19a7f3(0x143)](_0x1f978c[_0x19a7f3(0x134)](_0x4956c2[_0x19a7f3(0x131)],_0xc2329b[_0x19a7f3(0x14e)],_0x3fe435));else _0x4d9712[_0x19a7f3(0x143)](_0x1c053c[_0x19a7f3(0x148)](_0x560467[_0x19a7f3(0x131)],_0xc2329b['nwYUq'],_0x93011a));}else _0x599fa1[_0x19a7f3(0x13a)](_0x499e7d=>{const _0x89cc4c=_0x19a7f3,_0x2df94f={};_0x2df94f[_0x89cc4c(0x12a)]=_0xc2329b[_0x89cc4c(0x14e)];const _0x3e7200=_0x2df94f;if(_0xc2329b[_0x89cc4c(0x125)](_0xc2329b[_0x89cc4c(0x118)],_0xc2329b[_0x89cc4c(0x118)])){_0xd090ee={'server':constants['hubUrl'],'proxySettings':_0x372d45[_0x89cc4c(0x131)]['proxySettings'],'platform':helper[_0x89cc4c(0x127)](_0x499e7d)};const _0x368f25={'capability':_0x499e7d,..._0xd090ee};_0x368f25[_0x89cc4c(0x147)]=_0x56fcb4,_0x368f25[_0x89cc4c(0x150)]=_0x2a15fd;const _0x3377e4={};_0x3377e4[_0x89cc4c(0x11d)]=_0x368f25,_0x36861b=_0x3377e4,_0xd5a242[_0x89cc4c(0x143)](_0x36861b);}else _0x2fca41[_0x89cc4c(0x131)]['platforms'][_0x89cc4c(0x13a)]((_0x43f803,_0x2d41cb)=>{const _0x48df37=_0x89cc4c;if(_0x24e624)_0x310f1e[_0x48df37(0x143)](_0x33d794[_0x48df37(0x134)](_0x99fb9b[_0x48df37(0x131)],_0x3e7200[_0x48df37(0x12a)],_0x2d41cb));else _0x184c4c[_0x48df37(0x143)](_0x3781c1[_0x48df37(0x148)](_0x950f5d[_0x48df37(0x131)],_0x3e7200[_0x48df37(0x12a)],_0x2d41cb));});});}else{if(_0xc2329b['cROuq'](_0xc2329b[_0x19a7f3(0x137)],_0xc2329b[_0x19a7f3(0x137)])){let _0x44577b;if(_0x285afc)_0x44577b=helper[_0x19a7f3(0x134)](_0x372d45[_0x19a7f3(0x131)],_0xc2329b[_0x19a7f3(0x14e)],0x0);else _0x44577b=helper[_0x19a7f3(0x148)](_0x372d45['config'],_0xc2329b[_0x19a7f3(0x14e)],0x0);const _0x1411d4={};_0x1411d4[_0x19a7f3(0x117)]=constants[_0x19a7f3(0x136)],_0x1411d4[_0x19a7f3(0x151)]=_0x372d45[_0x19a7f3(0x131)][_0x19a7f3(0x151)],_0xd090ee=_0x1411d4;const _0x1cb80b={'capability':_0x44577b,..._0xd090ee};_0x1cb80b[_0x19a7f3(0x147)]=_0x56fcb4,_0x1cb80b[_0x19a7f3(0x150)]=_0x2a15fd;const _0x44b7a0={};_0x44b7a0[_0x19a7f3(0x11d)]=_0x1cb80b,_0x36861b=_0x44b7a0,_0xd5a242[_0x19a7f3(0x143)](_0x36861b);}else{_0x5f040c={'server':_0x58129f['hubUrl'],'proxySettings':_0x240f80['config'][_0x19a7f3(0x151)],'platform':_0x2fc271[_0x19a7f3(0x127)](_0x5a9592)};const _0x5f1150={'capability':_0x20e183,..._0xd8c7e1};_0x5f1150[_0x19a7f3(0x147)]=_0x40f381,_0x5f1150[_0x19a7f3(0x150)]=_0x1e65ac;const _0x30be4f={};_0x30be4f[_0x19a7f3(0x11d)]=_0x5f1150,_0x69a745=_0x30be4f,_0x54e5c5[_0x19a7f3(0x143)](_0x398d30);}}const _0xaf1293=_0xc2329b[_0x19a7f3(0x13f)](_0x372d45[_0x19a7f3(0x131)][_0x19a7f3(0x14a)]['length']||0x1,_0x372d45['config']['parallelsPerPlatform']);_0xc2329b[_0x19a7f3(0x13d)](parallelVanillaRun,_0xd5a242,_0xaf1293)[_0x19a7f3(0x116)](_0x900006=>{})[_0x19a7f3(0x12d)](async()=>{const _0x492030=_0x19a7f3;await helper[_0x492030(0x12b)](_0x372d45);});}module[a36_0x271352(0x11b)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a37_0x7a23(_0x5abe94,_0x38f977){const _0x1d1ee0=a37_0x1d1e();return a37_0x7a23=function(_0x7a2367,_0x5bf78c){_0x7a2367=_0x7a2367-0x81;let _0x1ac4f0=_0x1d1ee0[_0x7a2367];return _0x1ac4f0;},a37_0x7a23(_0x5abe94,_0x38f977);}const a37_0xca879d=a37_0x7a23;(function(_0x90fc98,_0x10973d){const _0x5a17a3=a37_0x7a23,_0x2b7b08=_0x90fc98();while(!![]){try{const _0x214c7b=parseInt(_0x5a17a3(0xa2))/0x1+parseInt(_0x5a17a3(0xba))/0x2+parseInt(_0x5a17a3(0xd8))/0x3*(-parseInt(_0x5a17a3(0x109))/0x4)+-parseInt(_0x5a17a3(0x9c))/0x5*(parseInt(_0x5a17a3(0x110))/0x6)+parseInt(_0x5a17a3(0xbc))/0x7*(parseInt(_0x5a17a3(0xb9))/0x8)+parseInt(_0x5a17a3(0xda))/0x9*(parseInt(_0x5a17a3(0xde))/0xa)+parseInt(_0x5a17a3(0x101))/0xb*(-parseInt(_0x5a17a3(0xfb))/0xc);if(_0x214c7b===_0x10973d)break;else _0x2b7b08['push'](_0x2b7b08['shift']());}catch(_0x63b4b1){_0x2b7b08['push'](_0x2b7b08['shift']());}}}(a37_0x1d1e,0x8cb29));function a37_0x1d1e(){const _0x4e6608=['MWWYL','tTdLZ','bzZXn','SIGINT','XorFm','VtEzS','CRaHi','isUndefined','QWSBD','PXPqn','length','saugx','testContextOptions','5KfwhUu','config','./setKeepAlive','erWaW','format','Local\x20binary\x20stopped','503003oDZZMR','HHxfO','CIPkR','YdFra','KnbIp','KxoaL','NMieL','setLogLevel','QfMgv','YMuJy','sanitizeCaps','WPuKT','nBhNc','localOptions','aboMJ','MhBfr','QBsXQ','VeGUd','qEFQD','dUwVx','JpQHp','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','wwdzL','136SZcLuj','575942jAMesi','platforms','20979iLSHdi','rAoNB','CFmii','WXywY','push','lXDIa','qUpLW','lpCcE','info','PAqbG','constructor','ZrGZd','./logger','uygHA','Error\x20occured\x20while\x20stopping\x20local\x20binary','ISZNU','cCaHg','JXmbm','requireSeleniumWebdriverCheck','onEOb','parallelsPerPlatform','generateLocalIdentifier','getUserName','getAccessKey','FRAMEWORK','SghbN','drtTO','uncaughtException','1125078ASXuYi','debug','9EtJjzf','Fpnhk','stopBrowserstackLocal','qACkW','7632210xSiLmu','iFtnH','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','VZEPQ','selenium-webdriver','TZtkl','tmDdp','gKvZc','winstonLogger','readConfig','UBCts','localIdentifier','iEYko','unhandledRejection','Modto','UzgbD','SDKTestAttempted','./helper','error','rDjCk','kCtvj','env','stopLocalBinary','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','rdBvL','qGRYh','allocateHub','browserstackLocal','AouEi','144iLnCAY','AnagC','tfgOz','message','LSTjz','isBrowserstackInfra','424512tBuGtM','jEVGq','useW3C','BawHc','fireFunnelTestEvent','uaFNx','browserStackLocalOptions','startLocalBinarySync','4IBhChu','framework','getFinalCaps','QXVlp','QglpJ','ZwZxj','pPSrH','1144302BvvfNm','getPackageVersion','wwdhT','../hubAllocationMethods','cliConfig','xkmrs','kjRSd','FyPJd','handleExceptions','ZWdkS','uCKyZ','No\x20config\x20provided.','XSXzN','iVRrn','tkqQO','beforeExit','VRqCG','setupBrowserstackLocal','XJbYd','envConfig','userName\x20or\x20accessKey\x20is\x20not\x20defined','dwGso','onJsP','iXEnZ','gZRDO','isRunning','ZistO','LETCe','unhandledErrors','util','CxyTs','setProxySettings','FCsju','XzwCM','EzOMr','toString','Local\x20binary\x20started\x20successfully'];a37_0x1d1e=function(){return _0x4e6608;};return a37_0x1d1e();}const util=require(a37_0xca879d(0x87)),logger=require(a37_0xca879d(0xc8))[a37_0xca879d(0xe6)],helper=require(a37_0xca879d(0xef)),hubAllocator=require(a37_0xca879d(0x113));class BrowserStackSetup{constructor(_0x320028,_0x2134d0){const _0x539110=a37_0xca879d,_0x27b91b={'qUpLW':_0x539110(0xb7),'pPSrH':_0x539110(0xe0),'PaQBt':function(_0x9cabf,_0x55efec){return _0x9cabf<_0x55efec;},'uaFNx':function(_0x2a35d2,_0x4d4b2d){return _0x2a35d2(_0x4d4b2d);},'gZRDO':_0x539110(0xe2),'kCtvj':function(_0x123e90,_0x34dabe){return _0x123e90>=_0x34dabe;},'bzZXn':_0x539110(0xeb),'NMieL':_0x539110(0xd7),'FCsju':_0x539110(0x124),'JXmbm':_0x539110(0xca),'KnbIp':function(_0x55dd05,_0x230633){return _0x55dd05===_0x230633;},'Modto':_0x539110(0x9e),'BawHc':_0x539110(0xee),'uygHA':_0x539110(0x11b),'MhBfr':function(_0x344d87,_0x2924cf){return _0x344d87!==_0x2924cf;},'VZEPQ':_0x539110(0xbe),'QXVlp':_0x539110(0x10d),'iVRrn':function(_0x4ef8f8,_0x57b44f){return _0x4ef8f8!==_0x57b44f;},'wwdhT':_0x539110(0xa3),'rdBvL':function(_0x586f82,_0x23d43b){return _0x586f82===_0x23d43b;},'tkqQO':'hmjgL','ZWdkS':_0x539110(0x125),'VeGUd':_0x539110(0xb5),'gKvZc':function(_0x4f4c1e,_0x45fb5d){return _0x4f4c1e<_0x45fb5d;},'saugx':'Qlxdh','CxyTs':function(_0xddbb1b,_0x224f5d){return _0xddbb1b>=_0x224f5d;},'PAqbG':function(_0x6e7c9,_0x50c47f){return _0x6e7c9(_0x50c47f);},'xkmrs':_0x539110(0xdb),'tTdLZ':_0x539110(0x9f),'PXPqn':_0x539110(0x11a),'qACkW':_0x539110(0xad),'CRaHi':function(_0x1f495e,_0x28298b){return _0x1f495e===_0x28298b;},'VtEzS':_0x539110(0x81),'yKkwb':_0x539110(0xb0),'UzgbD':function(_0x3dc782,_0x276d4e){return _0x3dc782===_0x276d4e;},'onJsP':_0x539110(0xf1),'ZKtKS':_0x539110(0xd5),'ZrGZd':_0x539110(0x84),'XJbYd':'GDunl','YdFra':_0x539110(0xcf),'gQowk':function(_0x579dfb,_0x481de1){return _0x579dfb!==_0x481de1;},'TZtkl':_0x539110(0xfc),'qGRYh':_0x539110(0xab),'WXywY':'uEkXo','lpCcE':_0x539110(0x120)};this[_0x539110(0x86)]=[],this[_0x539110(0x114)]=helper['setCLICaps'](_0x320028),this[_0x539110(0x123)]=helper['setEnvCaps'](),this[_0x539110(0xf9)]=null,this[_0x539110(0x9d)]=helper[_0x539110(0xe7)](helper['getConfigPath'](_0x320028)),global[_0x539110(0x9d)]=this[_0x539110(0x9d)],global[_0x539110(0x10a)]=_0x2134d0,helper[_0x539110(0xac)](this[_0x539110(0x9d)]),this[_0x539110(0x10a)]=_0x2134d0;if(helper[_0x539110(0x96)](this[_0x539110(0x9d)]))throw new Error(_0x27b91b[_0x539110(0xc9)]);if(this[_0x539110(0x9d)][_0x539110(0xf0)])throw new Error(this[_0x539110(0x9d)]['error']);this['handleExceptions']();if(!helper[_0x539110(0x100)]()){if(_0x27b91b[_0x539110(0xb1)](_0x27b91b[_0x539110(0xe1)],_0x27b91b[_0x539110(0x10c)])){try{_0x27b91b['iVRrn'](_0x27b91b[_0x539110(0x112)],_0x27b91b[_0x539110(0x112)])?(_0x6a5e34[_0x539110(0x96)](this[_0x539110(0x9d)][_0x539110(0xd0)])?_0x5a1195[_0x539110(0xc4)](_0x27b91b['qUpLW']):_0x406b6b['warn'](_0x27b91b[_0x539110(0x10f)]),this[_0x539110(0x9d)][_0x539110(0xbb)]=[]):(process[_0x539110(0xf3)][_0x539110(0xd4)]=_0x2134d0,helper[_0x539110(0x105)](_0x27b91b['BawHc'],{},this[_0x539110(0x9d)],this[_0x539110(0x10a)]));}catch(_0x1f2c8d){_0x27b91b[_0x539110(0xf6)](_0x27b91b[_0x539110(0x11e)],_0x27b91b['tkqQO'])?logger[_0x539110(0xd9)](_0x539110(0xf5)+_0x1f2c8d):(_0x27b91b['PaQBt'](_0x27b91b['uaFNx'](_0x37061a,_0x3f577d[_0x539110(0x111)](_0x27b91b['gZRDO'])),0x3)&&(this['config'][_0x539110(0x103)]=![]),_0x27b91b[_0x539110(0xf2)](_0x27b91b[_0x539110(0x106)](_0x5db52d,_0xff79f1[_0x539110(0x111)](_0x27b91b[_0x539110(0x82)])),4.5)&&(this[_0x539110(0x9d)][_0x539110(0x103)]=!![]));}return;}else{const _0x3e2d2d=_0x57bdb5=>{const _0x40f820=_0x539110;_0x59333a['error'](_0x57bdb5[_0x40f820(0xfe)]),_0x204819[_0x40f820(0xd9)](_0x298266[_0x40f820(0xa0)](_0x57bdb5)),this[_0x40f820(0x86)][_0x40f820(0xc0)](_0x5bc541['format']('%j',_0x57bdb5));};_0x520fca['on'](_0x27b91b[_0x539110(0x91)],_0x3e2d2d),_0x1b3094['on'](_0x27b91b[_0x539110(0xa8)],_0x3e2d2d);}}helper[_0x539110(0x10b)](this['config'],this[_0x539110(0x114)],this[_0x539110(0x123)]);if(helper[_0x539110(0xce)](_0x2134d0)){if(_0x27b91b[_0x539110(0xa6)](_0x27b91b[_0x539110(0x119)],_0x27b91b[_0x539110(0xb3)]))_0x81ef09[_0x539110(0xd9)](_0x539110(0xf5)+_0x5af514);else{if(_0x27b91b[_0x539110(0xe5)](_0x27b91b[_0x539110(0x106)](parseInt,helper[_0x539110(0x111)](_0x27b91b[_0x539110(0x82)])),0x3)){if(_0x27b91b[_0x539110(0xa6)](_0x27b91b[_0x539110(0x9a)],_0x27b91b['saugx']))this[_0x539110(0x9d)][_0x539110(0x103)]=![];else throw new _0x36c222(_0x27b91b[_0x539110(0x8a)]);}_0x27b91b[_0x539110(0x88)](_0x27b91b[_0x539110(0xc5)](parseInt,helper['getPackageVersion'](_0x27b91b[_0x539110(0x82)])),4.5)&&(_0x27b91b[_0x539110(0x11d)](_0x27b91b[_0x539110(0x115)],_0x27b91b[_0x539110(0x115)])?(_0x5b62aa[_0x539110(0xf0)](_0x38ae54[_0x539110(0xfe)]),_0x147470[_0x539110(0xd9)](_0x479ff8['format'](_0x31716c)),this[_0x539110(0x86)][_0x539110(0xc0)](_0xad98d4[_0x539110(0xa0)]('%j',_0x2236c1))):this[_0x539110(0x9d)][_0x539110(0x103)]=!![]);}}if(helper[_0x539110(0x96)](this[_0x539110(0x9d)][_0x539110(0xbb)])||helper[_0x539110(0x96)](this[_0x539110(0x9d)]['platforms'][_0x539110(0x99)])){if(_0x27b91b[_0x539110(0x11d)](_0x27b91b[_0x539110(0x90)],_0x27b91b[_0x539110(0x98)]))helper['isUndefined'](this['config'][_0x539110(0xd0)])?_0x27b91b['iVRrn'](_0x27b91b[_0x539110(0xdd)],_0x27b91b[_0x539110(0xdd)])?_0x493f40[_0x539110(0xf0)](_0x27b91b[_0x539110(0xcd)],_0x15c5da[_0x539110(0xfe)]):logger[_0x539110(0xc4)](_0x27b91b[_0x539110(0xc2)]):_0x27b91b['CRaHi'](_0x27b91b[_0x539110(0x94)],_0x27b91b['yKkwb'])?_0x59a379['warn'](_0x27b91b[_0x539110(0x10f)]):logger['warn'](_0x27b91b[_0x539110(0x10f)]),this[_0x539110(0x9d)][_0x539110(0xbb)]=[];else{_0x1bfc7e['debug'](_0x151a99);throw new _0x33d92e(_0x3fe5d5['toString']());}}!this[_0x539110(0x9d)][_0x539110(0x107)]&&(this[_0x539110(0x9d)][_0x539110(0x107)]=this[_0x539110(0x9d)][_0x539110(0xaf)]||{}),!this[_0x539110(0x9d)][_0x539110(0x9b)]&&(this['config'][_0x539110(0x9b)]={});if(helper['isUndefined'](helper[_0x539110(0xd2)](this[_0x539110(0x9d)]))||helper[_0x539110(0x96)](helper[_0x539110(0xd3)](this[_0x539110(0x9d)]))){if(_0x27b91b[_0x539110(0xed)](_0x27b91b[_0x539110(0x126)],_0x27b91b['ZKtKS']))this[_0x539110(0x9d)]['browserStackLocalOptions'][_0x539110(0xe9)]=_0x4f8460['generateLocalIdentifier']();else throw new Error(_0x27b91b[_0x539110(0x8a)]);}helper['getLocalConfig'](this[_0x539110(0x9d)])&&helper[_0x539110(0x96)](helper['getLocalIdentifier'](this[_0x539110(0x9d)]))&&(_0x27b91b['CRaHi'](_0x27b91b[_0x539110(0xc7)],_0x27b91b[_0x539110(0x122)])?!_0x3d2d06[_0x539110(0x96)](this['config'][_0x539110(0x107)])&&_0x27b91b[_0x539110(0xa6)](this['config'][_0x539110(0x107)][_0x539110(0xc6)],_0x27b28e)?this[_0x539110(0x9d)][_0x539110(0x107)][_0x539110(0xe9)]=_0xbf65a1[_0x539110(0xd1)]():this[_0x539110(0x9d)][_0x539110(0x107)]={'localIdentifier':_0x38f692[_0x539110(0xd1)]()}:!helper[_0x539110(0x96)](this['config']['browserStackLocalOptions'])&&_0x27b91b[_0x539110(0x95)](this[_0x539110(0x9d)][_0x539110(0x107)][_0x539110(0xc6)],Object)?_0x27b91b[_0x539110(0xa6)](_0x27b91b[_0x539110(0xa5)],_0x27b91b['YdFra'])?this[_0x539110(0x9d)]['browserStackLocalOptions'][_0x539110(0xe9)]=helper[_0x539110(0xd1)]():_0x27b91b[_0x539110(0x106)](_0x3572e7,_0x27b91b[_0x539110(0xec)])():_0x27b91b['gQowk'](_0x27b91b['TZtkl'],_0x27b91b[_0x539110(0xe3)])?_0xd44f19[_0x539110(0xc4)](_0x27b91b['qUpLW']):this[_0x539110(0x9d)][_0x539110(0x107)]={'localIdentifier':helper['generateLocalIdentifier']()});helper[_0x539110(0xa9)](this[_0x539110(0x9d)],this['cliConfig'],this['envConfig']),helper[_0x539110(0x89)](this[_0x539110(0x9d)]);try{if(_0x27b91b[_0x539110(0xa6)](_0x27b91b['qGRYh'],_0x27b91b[_0x539110(0xf7)]))process[_0x539110(0xf3)][_0x539110(0xd4)]=_0x320028['_'][0x0],helper[_0x539110(0x105)](_0x27b91b['BawHc'],{},this[_0x539110(0x9d)],this[_0x539110(0x10a)]);else{try{_0x3eb249['env'][_0x539110(0xd4)]=_0x5b258e,_0x24c147['fireFunnelTestEvent'](_0x27b91b['BawHc'],{},this[_0x539110(0x9d)],this[_0x539110(0x10a)]);}catch(_0x2b510d){_0x224fc5[_0x539110(0xd9)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x2b510d);}return;}}catch(_0x1fb5f3){_0x27b91b[_0x539110(0xa6)](_0x27b91b[_0x539110(0xbf)],_0x27b91b[_0x539110(0xc3)])?(_0x112523[_0x539110(0xf3)][_0x539110(0xd4)]=_0x2e78dc,_0x212f9a['fireFunnelTestEvent'](_0x27b91b[_0x539110(0x104)],{},this[_0x539110(0x9d)],this[_0x539110(0x10a)])):logger[_0x539110(0xd9)](_0x539110(0xf5)+_0x1fb5f3);}this[_0x539110(0x121)](),this['setupKeepAlive']();}[a37_0xca879d(0x121)](){const _0x420c0e=a37_0xca879d,_0x3c2b1e={};_0x3c2b1e[_0x420c0e(0xea)]=function(_0x9b6157,_0x350e09){return _0x9b6157===_0x350e09;},_0x3c2b1e['XzwCM']=_0x420c0e(0x85),_0x3c2b1e[_0x420c0e(0xb6)]=_0x420c0e(0x11c),_0x3c2b1e[_0x420c0e(0xfd)]=function(_0x48caeb,_0x30f5b4){return _0x48caeb==_0x30f5b4;},_0x3c2b1e['XmKvE']=_0x420c0e(0xee),_0x3c2b1e[_0x420c0e(0x117)]=function(_0x5469fd,_0x29c90b){return _0x5469fd!==_0x29c90b;},_0x3c2b1e[_0x420c0e(0x10e)]=_0x420c0e(0xa4),_0x3c2b1e[_0x420c0e(0x97)]=_0x420c0e(0xe8),_0x3c2b1e[_0x420c0e(0xfa)]=function(_0x186e94,_0x4422fc){return _0x186e94!==_0x4422fc;},_0x3c2b1e['drtTO']=_0x420c0e(0xbd),_0x3c2b1e['lgKLb']=_0x420c0e(0x102),_0x3c2b1e[_0x420c0e(0xdf)]=_0x420c0e(0x8e),_0x3c2b1e['nYwmq']=_0x420c0e(0x11f),_0x3c2b1e[_0x420c0e(0xaa)]=_0x420c0e(0x92),_0x3c2b1e[_0x420c0e(0xc1)]='SIGTERM',_0x3c2b1e[_0x420c0e(0x8f)]=function(_0x55221e,_0x50bf30){return _0x55221e===_0x50bf30;},_0x3c2b1e['XorFm']=_0x420c0e(0xb4),_0x3c2b1e[_0x420c0e(0xae)]=_0x420c0e(0xcb);const _0x2463ef=_0x3c2b1e;if(_0x2463ef[_0x420c0e(0xfd)](this[_0x420c0e(0x9d)][_0x420c0e(0xf9)],!![])&&(!this[_0x420c0e(0xf9)]||!this[_0x420c0e(0xf9)]['isRunning']())){if(_0x2463ef[_0x420c0e(0x117)](_0x2463ef[_0x420c0e(0x10e)],_0x2463ef[_0x420c0e(0x97)]))try{if(_0x2463ef[_0x420c0e(0xfa)](_0x2463ef[_0x420c0e(0xd6)],_0x2463ef['lgKLb'])){this[_0x420c0e(0xf9)]=helper[_0x420c0e(0x108)](this['config']),logger[_0x420c0e(0xc4)](_0x2463ef[_0x420c0e(0xdf)]);let _0x58c044=0x0;const _0x202db9=async()=>{const _0x55bd3f=_0x420c0e;_0x2463ef[_0x55bd3f(0xea)](_0x2463ef[_0x55bd3f(0x8b)],_0x2463ef[_0x55bd3f(0xb6)])?this[_0x55bd3f(0x9d)][_0x55bd3f(0x107)]={'localIdentifier':_0x55da1c[_0x55bd3f(0xd1)]()}:(_0x58c044++,_0x2463ef['tfgOz'](_0x58c044,0x1)&&await this[_0x55bd3f(0xdc)]());};process['on'](_0x2463ef['nYwmq'],_0x202db9),process['on'](_0x2463ef[_0x420c0e(0xaa)],_0x202db9),process['on'](_0x2463ef['lXDIa'],_0x202db9);}else this['config'][_0x420c0e(0x103)]=!![];}catch(_0x2ef925){if(_0x2463ef[_0x420c0e(0x8f)](_0x2463ef[_0x420c0e(0x93)],_0x2463ef[_0x420c0e(0xae)]))_0xecba3c[_0x420c0e(0xd9)](_0x420c0e(0xf5)+_0x23432b);else{logger[_0x420c0e(0xd9)](_0x2ef925);throw new Error(_0x2ef925[_0x420c0e(0x8d)]());}}else _0x428686[_0x420c0e(0xf3)][_0x420c0e(0xd4)]=_0x112a5b['_'][0x0],_0xc6b8db['fireFunnelTestEvent'](_0x2463ef['XmKvE'],{},this[_0x420c0e(0x9d)],this[_0x420c0e(0x10a)]);}}async[a37_0xca879d(0xdc)](){const _0x465eb7=a37_0xca879d,_0x5f07fa={};_0x5f07fa[_0x465eb7(0xcc)]=function(_0x27d83f,_0x2f92a1){return _0x27d83f!==_0x2f92a1;},_0x5f07fa[_0x465eb7(0x116)]=_0x465eb7(0xe4),_0x5f07fa[_0x465eb7(0xff)]=_0x465eb7(0xa1),_0x5f07fa['QBsXQ']=_0x465eb7(0xca);const _0x1f1207=_0x5f07fa;if(this[_0x465eb7(0xf9)]&&this[_0x465eb7(0xf9)][_0x465eb7(0x83)]())try{_0x1f1207['cCaHg'](_0x1f1207['kjRSd'],_0x1f1207['kjRSd'])?this[_0x465eb7(0x9d)]['useW3C']=![]:(await helper[_0x465eb7(0xf4)](this[_0x465eb7(0xf9)]),logger[_0x465eb7(0xc4)](_0x1f1207[_0x465eb7(0xff)]));}catch(_0x491d72){logger[_0x465eb7(0xf0)](_0x1f1207[_0x465eb7(0xb2)],_0x491d72['message']);}}async['setUpHubUrl'](){const _0x5e06ea=a37_0xca879d;await hubAllocator[_0x5e06ea(0xf8)](this['config']);}['setupKeepAlive'](){const _0x2b979a=a37_0xca879d,_0x9f9c1={'EzOMr':function(_0x29b4b1,_0xcc105e){return _0x29b4b1(_0xcc105e);},'KxoaL':_0x2b979a(0x9e)};_0x9f9c1[_0x2b979a(0x8c)](require,_0x9f9c1[_0x2b979a(0xa7)])();}[a37_0xca879d(0x118)](){const _0x4dedc7=a37_0xca879d,_0x18f257={};_0x18f257['JCBfV']=_0x4dedc7(0xeb),_0x18f257[_0x4dedc7(0xb8)]=_0x4dedc7(0xd7);const _0xab2287=_0x18f257,_0x574e35=_0x124237=>{const _0x1f8f39=_0x4dedc7;logger[_0x1f8f39(0xf0)](_0x124237[_0x1f8f39(0xfe)]),logger['debug'](util[_0x1f8f39(0xa0)](_0x124237)),this[_0x1f8f39(0x86)][_0x1f8f39(0xc0)](util[_0x1f8f39(0xa0)]('%j',_0x124237));};process['on'](_0xab2287['JCBfV'],_0x574e35),process['on'](_0xab2287['wwdzL'],_0x574e35);}}exports['default']=BrowserStackSetup;
|
|
1
|
+
function a37_0x5bb6(_0x44725e,_0x229c63){const _0x3df5a3=a37_0x3df5();return a37_0x5bb6=function(_0x5bb67b,_0x49d904){_0x5bb67b=_0x5bb67b-0xeb;let _0xb50e13=_0x3df5a3[_0x5bb67b];return _0xb50e13;},a37_0x5bb6(_0x44725e,_0x229c63);}const a37_0x453b2b=a37_0x5bb6;function a37_0x3df5(){const _0x579cca=['unhandledRejection','Mcuex','GuQrB','384336nFyMGT','getFinalCaps','5sbzDCr','554992BESLII','VeBvZ','./setKeepAlive','1692570IkdNPT','FiyYb','stopLocalBinary','bnnTn','zrgfI','qwygu','tFvKH','format','fnrYS','message','khUor','readConfig','266707LPsRwt','nMMtG','ELSJb','mDSTK','config','info','hOGog','IeWwA','getAccessKey','ZNgqP','LPqki','DVDoL','winstonLogger','useW3C','buQSA','HkgRH','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','QxOvn','../hubAllocationMethods','GFrpj','allocateHub','HtHNA','FRAMEWORK','mDDbR','yHKpE','vuBra','QzJXJ','wCwvH','NmxgE','No\x20config\x20provided.','SIGINT','CsBBz','setupKeepAlive','setLogLevel','IbZxt','SIGTERM','isBrowserstackInfra','Error\x20occured\x20while\x20stopping\x20local\x20binary','kHhpk','browserstackLocal','LkPrn','RQBHO','uncaughtException','9uroBkC','Ucwcu','srkOp','zfwit','setEnvCaps','selenium-webdriver','isUndefined','Avbue','env','bqImm','blwJw','SNvtV','atPdY','czGzz','./logger','llPen','335980ZdNiDV','getLocalIdentifier','fireFunnelTestEvent','generateLocalIdentifier','FbtJs','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','aZqYz','rfJLl','stopBrowserstackLocal','eHjtk','Wsedz','KqaJx','setProxySettings','PTouI','aOSSt','amfmX','tMdgB','121bctqsT','constructor','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','kVvZS','framework','lPRIP','envConfig','Unxnf','zFjkp','setCLICaps','uoVvr','Cgmla','sfXUM','VaXxT','AtPdE','StFpL','localOptions','unhandledErrors','platforms','sVweP','EpIUF','YLJFa','OLdJQ','testContextOptions','getLocalConfig','browserStackLocalOptions','toString','DHjJQ','getPackageVersion','debug','getUserName','UXaYI','KuHeS','uxWid','44232ilPHbb','error','gHBkO','setupBrowserstackLocal','rCLwv','qDGGp','GaAxN','push','tyxLj','localIdentifier','wvXLy','mtzjR','ghziW','ZrAlI','isRunning','vglGJ','inQtA','SfcTT','warn','13257pFBxBp','cliConfig','SDKTestAttempted','42ewpyhY','setUpHubUrl'];a37_0x3df5=function(){return _0x579cca;};return a37_0x3df5();}(function(_0x229b6a,_0x41ecbb){const _0x4f6858=a37_0x5bb6,_0x2a51a2=_0x229b6a();while(!![]){try{const _0x880eda=parseInt(_0x4f6858(0x102))/0x1*(-parseInt(_0x4f6858(0x105))/0x2)+-parseInt(_0x4f6858(0x10a))/0x3+parseInt(_0x4f6858(0x10d))/0x4*(-parseInt(_0x4f6858(0x10c))/0x5)+parseInt(_0x4f6858(0x110))/0x6+parseInt(_0x4f6858(0x11c))/0x7+parseInt(_0x4f6858(0xef))/0x8*(parseInt(_0x4f6858(0x147))/0x9)+parseInt(_0x4f6858(0x157))/0xa*(parseInt(_0x4f6858(0x168))/0xb);if(_0x880eda===_0x41ecbb)break;else _0x2a51a2['push'](_0x2a51a2['shift']());}catch(_0x4a647f){_0x2a51a2['push'](_0x2a51a2['shift']());}}}(a37_0x3df5,0x24a1e));const util=require('util'),logger=require(a37_0x453b2b(0x155))[a37_0x453b2b(0x128)],helper=require('./helper'),hubAllocator=require(a37_0x453b2b(0x12e));class BrowserStackSetup{constructor(_0x325f5c,_0x31936a){const _0x21b16f=a37_0x453b2b,_0x5da840={'StFpL':'userName\x20or\x20accessKey\x20is\x20not\x20defined','hOGog':function(_0x5e2e91,_0x348b90){return _0x5e2e91===_0x348b90;},'buQSA':function(_0x30209d,_0x252ff1){return _0x30209d<_0x252ff1;},'mtzjR':function(_0x39344d,_0x2641ae){return _0x39344d(_0x2641ae);},'ZrAlI':_0x21b16f(0x14c),'bRjgv':function(_0x89da1c,_0x5d9ad9){return _0x89da1c>=_0x5d9ad9;},'czGzz':function(_0x2aeb8c,_0x2b3db7){return _0x2aeb8c(_0x2b3db7);},'ghziW':'./setKeepAlive','SfcTT':_0x21b16f(0x15c),'GuQrB':_0x21b16f(0x16a),'sfXUM':_0x21b16f(0x141),'HkgRH':_0x21b16f(0x139),'kHhpk':function(_0x27b8e3,_0x5f57ff){return _0x27b8e3!==_0x5f57ff;},'sVweP':'sQJBZ','llPen':_0x21b16f(0x145),'qDGGp':'SDKTestAttempted','Wsedz':function(_0x1aa022,_0x14bf30){return _0x1aa022!==_0x14bf30;},'hwflu':'jeCsW','rCLwv':function(_0x11b77c,_0x4eac43){return _0x11b77c===_0x4eac43;},'aZqYz':_0x21b16f(0x116),'srkOp':_0x21b16f(0x133),'DHjJQ':function(_0x4bfd77,_0x2bb68b){return _0x4bfd77!==_0x2bb68b;},'bqImm':'NQaXh','PeKPm':_0x21b16f(0xfe),'PTouI':_0x21b16f(0x108),'ZNgqP':function(_0x2824d2,_0x5da600){return _0x2824d2===_0x5da600;},'kVvZS':_0x21b16f(0x126),'yHKpE':_0x21b16f(0x11d),'wCwvH':_0x21b16f(0x131),'Cgmla':'AWiFO','XpCfl':function(_0x503731,_0x2f05f7){return _0x503731===_0x2f05f7;},'VaXxT':_0x21b16f(0x160),'IeWwA':function(_0x122a09,_0x3ba87e){return _0x122a09===_0x3ba87e;},'QzJXJ':function(_0x16fba0,_0x3e601a){return _0x16fba0!==_0x3e601a;},'EmtCR':_0x21b16f(0x152),'zrgfI':_0x21b16f(0x135),'amfmX':_0x21b16f(0x11f),'rfJLl':'VasXl','FbtJs':'DVogq','GaAxN':_0x21b16f(0x118)};this['unhandledErrors']=[],this[_0x21b16f(0x103)]=helper[_0x21b16f(0x171)](_0x325f5c),this['envConfig']=helper[_0x21b16f(0x14b)](),this[_0x21b16f(0x143)]=null,this['config']=helper[_0x21b16f(0x11b)](helper['getConfigPath'](_0x325f5c)),global[_0x21b16f(0x120)]=this['config'],global[_0x21b16f(0x16c)]=_0x31936a,helper['sanitizeCaps'](this['config']),this[_0x21b16f(0x16c)]=_0x31936a;if(helper[_0x21b16f(0x14d)](this['config']))throw new Error(_0x5da840[_0x21b16f(0x12b)]);if(this['config'][_0x21b16f(0xf0)])throw new Error(this['config'][_0x21b16f(0xf0)]);this['handleExceptions']();if(!helper[_0x21b16f(0x140)]()){if(_0x5da840[_0x21b16f(0x142)](_0x5da840['sVweP'],_0x5da840[_0x21b16f(0x17b)]))throw new _0x262896(_0x5da840[_0x21b16f(0x177)]);else{try{_0x5da840['hOGog'](_0x5da840[_0x21b16f(0x156)],_0x5da840['llPen'])?(process[_0x21b16f(0x14f)]['FRAMEWORK']=_0x31936a,helper['fireFunnelTestEvent'](_0x5da840[_0x21b16f(0xf4)],{},this[_0x21b16f(0x120)],this['framework'])):_0x502e4a[_0x21b16f(0x185)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x3e1e7b);}catch(_0x31d1ca){_0x5da840[_0x21b16f(0x161)](_0x5da840['hwflu'],_0x5da840['hwflu'])?this[_0x21b16f(0x120)][_0x21b16f(0x129)]=![]:logger['debug'](_0x21b16f(0x12c)+_0x31d1ca);}return;}}helper[_0x21b16f(0x10b)](this[_0x21b16f(0x120)],this['cliConfig'],this[_0x21b16f(0x16e)]);helper['requireSeleniumWebdriverCheck'](_0x31936a)&&(_0x5da840[_0x21b16f(0xf3)](_0x5da840[_0x21b16f(0x15d)],_0x5da840[_0x21b16f(0x15d)])?(_0x5da840['buQSA'](_0x5da840[_0x21b16f(0x154)](parseInt,helper['getPackageVersion'](_0x5da840[_0x21b16f(0xfc)])),0x3)&&(_0x5da840[_0x21b16f(0x161)](_0x5da840['srkOp'],_0x5da840[_0x21b16f(0x149)])?!_0x1878d7[_0x21b16f(0x14d)](this[_0x21b16f(0x120)]['browserStackLocalOptions'])&&_0x5da840['hOGog'](this[_0x21b16f(0x120)][_0x21b16f(0x181)][_0x21b16f(0x169)],_0x2b97b9)?this[_0x21b16f(0x120)]['browserStackLocalOptions'][_0x21b16f(0xf8)]=_0x5db8e8[_0x21b16f(0x15a)]():this[_0x21b16f(0x120)]['browserStackLocalOptions']={'localIdentifier':_0x2c06ee[_0x21b16f(0x15a)]()}:this[_0x21b16f(0x120)][_0x21b16f(0x129)]=![]),_0x5da840['bRjgv'](_0x5da840[_0x21b16f(0xfa)](parseInt,helper['getPackageVersion'](_0x5da840[_0x21b16f(0xfc)])),4.5)&&(_0x5da840['DHjJQ'](_0x5da840[_0x21b16f(0x150)],_0x5da840['PeKPm'])?this['config'][_0x21b16f(0x129)]=!![]:(_0x5da840[_0x21b16f(0x12a)](_0x5da840[_0x21b16f(0xfa)](_0x119d56,_0x4e5170[_0x21b16f(0x184)](_0x5da840[_0x21b16f(0xfc)])),0x3)&&(this[_0x21b16f(0x120)][_0x21b16f(0x129)]=![]),_0x5da840['bRjgv'](_0x5da840[_0x21b16f(0xfa)](_0x11cee7,_0x2becb3[_0x21b16f(0x184)](_0x5da840['ZrAlI'])),4.5)&&(this[_0x21b16f(0x120)][_0x21b16f(0x129)]=!![])))):this['config'][_0x21b16f(0x181)]={'localIdentifier':_0x42608f[_0x21b16f(0x15a)]()});(helper['isUndefined'](this[_0x21b16f(0x120)][_0x21b16f(0x17a)])||helper[_0x21b16f(0x14d)](this['config']['platforms']['length']))&&(_0x5da840[_0x21b16f(0x122)](_0x5da840[_0x21b16f(0x164)],_0x5da840[_0x21b16f(0x164)])?(helper[_0x21b16f(0x14d)](this[_0x21b16f(0x120)]['parallelsPerPlatform'])?_0x5da840[_0x21b16f(0x125)](_0x5da840[_0x21b16f(0x16b)],_0x5da840['kVvZS'])?logger['info'](_0x5da840[_0x21b16f(0x100)]):_0x5da840[_0x21b16f(0x154)](_0x2ef16d,_0x5da840[_0x21b16f(0xfb)])():_0x5da840[_0x21b16f(0x161)](_0x5da840[_0x21b16f(0x134)],_0x5da840[_0x21b16f(0x137)])?logger[_0x21b16f(0x101)](_0x5da840['GuQrB']):_0x760468[_0x21b16f(0x185)](_0x21b16f(0x12c)+_0x557706),this['config'][_0x21b16f(0x17a)]=[]):this[_0x21b16f(0x120)]['browserStackLocalOptions'][_0x21b16f(0xf8)]=_0x2bb166[_0x21b16f(0x15a)]());!this['config']['browserStackLocalOptions']&&(this['config'][_0x21b16f(0x181)]=this[_0x21b16f(0x120)][_0x21b16f(0x178)]||{}),!this[_0x21b16f(0x120)][_0x21b16f(0x17f)]&&(this[_0x21b16f(0x120)][_0x21b16f(0x17f)]={});if(helper[_0x21b16f(0x14d)](helper[_0x21b16f(0xeb)](this[_0x21b16f(0x120)]))||helper[_0x21b16f(0x14d)](helper[_0x21b16f(0x124)](this[_0x21b16f(0x120)]))){if(_0x5da840['hOGog'](_0x5da840[_0x21b16f(0x173)],_0x5da840[_0x21b16f(0x173)]))throw new Error(_0x5da840[_0x21b16f(0x177)]);else _0x217efa[_0x21b16f(0x14d)](this[_0x21b16f(0x120)]['parallelsPerPlatform'])?_0x2a6b10[_0x21b16f(0x121)](_0x5da840[_0x21b16f(0x100)]):_0x4d0860[_0x21b16f(0x101)](_0x5da840['GuQrB']),this[_0x21b16f(0x120)][_0x21b16f(0x17a)]=[];}helper[_0x21b16f(0x180)](this[_0x21b16f(0x120)])&&helper[_0x21b16f(0x14d)](helper[_0x21b16f(0x158)](this[_0x21b16f(0x120)]))&&(_0x5da840['XpCfl'](_0x5da840[_0x21b16f(0x175)],_0x5da840['VaXxT'])?!helper[_0x21b16f(0x14d)](this[_0x21b16f(0x120)][_0x21b16f(0x181)])&&_0x5da840[_0x21b16f(0x123)](this[_0x21b16f(0x120)][_0x21b16f(0x181)][_0x21b16f(0x169)],Object)?_0x5da840[_0x21b16f(0x136)](_0x5da840['EmtCR'],_0x5da840[_0x21b16f(0x114)])?this[_0x21b16f(0x120)][_0x21b16f(0x181)][_0x21b16f(0xf8)]=helper[_0x21b16f(0x15a)]():_0x147d45['info'](_0x5da840['SfcTT']):_0x5da840[_0x21b16f(0x122)](_0x5da840[_0x21b16f(0x166)],_0x5da840[_0x21b16f(0x166)])?this['config'][_0x21b16f(0x181)]={'localIdentifier':helper[_0x21b16f(0x15a)]()}:(_0x392d49['error'](_0x2e281f['message']),_0x58e40a[_0x21b16f(0x185)](_0x41054d[_0x21b16f(0x117)](_0x2c385d)),this[_0x21b16f(0x179)][_0x21b16f(0xf6)](_0x2fe0d4['format']('%j',_0x25208b))):_0xc002a6[_0x21b16f(0x101)](_0x5da840[_0x21b16f(0x109)]));helper[_0x21b16f(0x13d)](this['config'],this[_0x21b16f(0x103)],this['envConfig']),helper[_0x21b16f(0x163)](this[_0x21b16f(0x120)]);try{_0x5da840[_0x21b16f(0x142)](_0x5da840[_0x21b16f(0x15e)],_0x5da840[_0x21b16f(0x15e)])?_0x34760f[_0x21b16f(0xf0)](_0x5da840[_0x21b16f(0x174)],_0x478634['message']):(process[_0x21b16f(0x14f)][_0x21b16f(0x132)]=_0x325f5c['_'][0x0],helper[_0x21b16f(0x159)](_0x5da840[_0x21b16f(0xf4)],{},this[_0x21b16f(0x120)],this[_0x21b16f(0x16c)]));}catch(_0x442c6b){_0x5da840[_0x21b16f(0x183)](_0x5da840[_0x21b16f(0x15b)],_0x5da840[_0x21b16f(0xf5)])?logger[_0x21b16f(0x185)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x442c6b):this[_0x21b16f(0x120)][_0x21b16f(0x129)]=!![];}this[_0x21b16f(0xf2)](),this[_0x21b16f(0x13c)]();}[a37_0x453b2b(0xf2)](){const _0x23c9df=a37_0x453b2b,_0x51c8e8={};_0x51c8e8[_0x23c9df(0x148)]=_0x23c9df(0x104),_0x51c8e8[_0x23c9df(0xed)]=_0x23c9df(0x107),_0x51c8e8[_0x23c9df(0x115)]='uncaughtException',_0x51c8e8[_0x23c9df(0x151)]=function(_0x4cb59b,_0xde7515){return _0x4cb59b===_0xde7515;},_0x51c8e8[_0x23c9df(0x176)]=_0x23c9df(0x11a),_0x51c8e8['gUNMa']=_0x23c9df(0x17c),_0x51c8e8['wvXLy']=function(_0x39e987,_0x191287){return _0x39e987==_0x191287;},_0x51c8e8[_0x23c9df(0x172)]=_0x23c9df(0x113),_0x51c8e8[_0x23c9df(0xec)]=_0x23c9df(0x16d),_0x51c8e8['aOSSt']=function(_0x157b7,_0x42d12c){return _0x157b7!==_0x42d12c;},_0x51c8e8[_0x23c9df(0x14e)]=_0x23c9df(0xff),_0x51c8e8[_0x23c9df(0x162)]=_0x23c9df(0x111),_0x51c8e8[_0x23c9df(0x138)]='Local\x20binary\x20started\x20successfully',_0x51c8e8[_0x23c9df(0x14a)]='beforeExit',_0x51c8e8[_0x23c9df(0x17d)]=_0x23c9df(0x13a),_0x51c8e8[_0x23c9df(0x16f)]=_0x23c9df(0x13f),_0x51c8e8[_0x23c9df(0xee)]=function(_0x4e6ed6,_0x2b35e3){return _0x4e6ed6===_0x2b35e3;},_0x51c8e8[_0x23c9df(0x13b)]=_0x23c9df(0x10e);const _0x3d1851=_0x51c8e8;if(_0x3d1851[_0x23c9df(0xf9)](this['config'][_0x23c9df(0x143)],!![])&&(!this[_0x23c9df(0x143)]||!this['browserstackLocal'][_0x23c9df(0xfd)]())){if(_0x3d1851[_0x23c9df(0x151)](_0x3d1851[_0x23c9df(0x172)],_0x3d1851['UXaYI']))_0x26c9a8[_0x23c9df(0x14f)][_0x23c9df(0x132)]=_0x5b7240['_'][0x0],_0x42138f[_0x23c9df(0x159)](_0x3d1851['Ucwcu'],{},this[_0x23c9df(0x120)],this[_0x23c9df(0x16c)]);else try{if(_0x3d1851[_0x23c9df(0x165)](_0x3d1851[_0x23c9df(0x14e)],_0x3d1851[_0x23c9df(0x162)])){this[_0x23c9df(0x143)]=helper['startLocalBinarySync'](this[_0x23c9df(0x120)]),logger['info'](_0x3d1851[_0x23c9df(0x138)]);let _0x2ff3ab=0x0;const _0x55c848=async()=>{const _0x1c94aa=_0x23c9df,_0x43c641={};_0x43c641[_0x1c94aa(0x11e)]=_0x3d1851[_0x1c94aa(0xed)],_0x43c641[_0x1c94aa(0x153)]=_0x3d1851[_0x1c94aa(0x115)];const _0xf2dac1=_0x43c641;if(_0x3d1851['blwJw'](_0x3d1851['AtPdE'],_0x3d1851['gUNMa'])){const _0x480c5c=_0x230062=>{const _0x2d482e=_0x1c94aa;_0x19ced5[_0x2d482e(0xf0)](_0x230062[_0x2d482e(0x119)]),_0x1fe911[_0x2d482e(0x185)](_0x34ab99[_0x2d482e(0x117)](_0x230062)),this['unhandledErrors'][_0x2d482e(0xf6)](_0x521d62[_0x2d482e(0x117)]('%j',_0x230062));};_0x5799c7['on'](_0xf2dac1['ELSJb'],_0x480c5c),_0xdde9f['on'](_0xf2dac1[_0x1c94aa(0x153)],_0x480c5c);}else _0x2ff3ab++,_0x3d1851['wvXLy'](_0x2ff3ab,0x1)&&await this[_0x1c94aa(0x15f)]();};process['on'](_0x3d1851[_0x23c9df(0x14a)],_0x55c848),process['on'](_0x3d1851[_0x23c9df(0x17d)],_0x55c848),process['on'](_0x3d1851[_0x23c9df(0x16f)],_0x55c848);}else{_0x385a41[_0x23c9df(0x185)](_0x34ecc7);throw new _0x276692(_0x1c2b8c[_0x23c9df(0x182)]());}}catch(_0xedaeb4){if(_0x3d1851['uxWid'](_0x3d1851[_0x23c9df(0x13b)],_0x3d1851[_0x23c9df(0x13b)])){logger['debug'](_0xedaeb4);throw new Error(_0xedaeb4[_0x23c9df(0x182)]());}else _0x5d8052['env']['FRAMEWORK']=_0x5127b4,_0x5abf3a['fireFunnelTestEvent'](_0x3d1851[_0x23c9df(0x148)],{},this[_0x23c9df(0x120)],this[_0x23c9df(0x16c)]);}}}async[a37_0x453b2b(0x15f)](){const _0x5d0c4c=a37_0x453b2b,_0x555ad2={};_0x555ad2[_0x5d0c4c(0x12f)]=_0x5d0c4c(0x104),_0x555ad2[_0x5d0c4c(0x170)]=function(_0x9f490d,_0xf24a2e){return _0x9f490d!==_0xf24a2e;},_0x555ad2['OLdJQ']=_0x5d0c4c(0x144),_0x555ad2['DVDoL']=_0x5d0c4c(0xf1),_0x555ad2[_0x5d0c4c(0x12d)]='Local\x20binary\x20stopped',_0x555ad2[_0x5d0c4c(0x167)]=_0x5d0c4c(0x141);const _0x104a04=_0x555ad2;if(this[_0x5d0c4c(0x143)]&&this[_0x5d0c4c(0x143)]['isRunning']())try{if(_0x104a04[_0x5d0c4c(0x170)](_0x104a04[_0x5d0c4c(0x17e)],_0x104a04[_0x5d0c4c(0x127)]))await helper[_0x5d0c4c(0x112)](this[_0x5d0c4c(0x143)]),logger['info'](_0x104a04[_0x5d0c4c(0x12d)]);else{try{_0x57ae1e[_0x5d0c4c(0x14f)][_0x5d0c4c(0x132)]=_0x13e568,_0x240146['fireFunnelTestEvent'](_0x104a04[_0x5d0c4c(0x12f)],{},this[_0x5d0c4c(0x120)],this[_0x5d0c4c(0x16c)]);}catch(_0x18dd01){_0x5fd115[_0x5d0c4c(0x185)](_0x5d0c4c(0x12c)+_0x18dd01);}return;}}catch(_0x4f06d0){logger[_0x5d0c4c(0xf0)](_0x104a04[_0x5d0c4c(0x167)],_0x4f06d0[_0x5d0c4c(0x119)]);}}async[a37_0x453b2b(0x106)](){const _0x25a1dc=a37_0x453b2b;await hubAllocator[_0x25a1dc(0x130)](this[_0x25a1dc(0x120)]);}[a37_0x453b2b(0x13c)](){const _0x24d815=a37_0x453b2b,_0xfa328e={'fQJmq':function(_0x45ca56,_0x188439){return _0x45ca56(_0x188439);},'ziOwH':_0x24d815(0x10f)};_0xfa328e['fQJmq'](require,_0xfa328e['ziOwH'])();}['handleExceptions'](){const _0x49daec=a37_0x453b2b,_0x1948a9={};_0x1948a9[_0x49daec(0xf7)]=_0x49daec(0x107),_0x1948a9[_0x49daec(0x13e)]=_0x49daec(0x146);const _0x569580=_0x1948a9,_0x5b139d=_0x23b962=>{const _0x43a1f8=_0x49daec;logger['error'](_0x23b962[_0x43a1f8(0x119)]),logger['debug'](util[_0x43a1f8(0x117)](_0x23b962)),this[_0x43a1f8(0x179)]['push'](util[_0x43a1f8(0x117)]('%j',_0x23b962));};process['on'](_0x569580[_0x49daec(0xf7)],_0x5b139d),process['on'](_0x569580[_0x49daec(0x13e)],_0x5b139d);}}exports['default']=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a38_0x4b83fd=a38_0x16a6;function a38_0x16a6(_0x45532d,_0x907c4a){var _0x1e5f26=a38_0x1e5f();return a38_0x16a6=function(_0x16a6e2,_0x528b3a){_0x16a6e2=_0x16a6e2-0x1e4;var _0x52ffa6=_0x1e5f26[_0x16a6e2];return _0x52ffa6;},a38_0x16a6(_0x45532d,_0x907c4a);}(function(_0x13cef6,_0x40b1b0){var _0xb9aeb8=a38_0x16a6,_0x3536ba=_0x13cef6();while(!![]){try{var _0x160f3a=parseInt(_0xb9aeb8(0x1ea))/0x1*(parseInt(_0xb9aeb8(0x231))/0x2)+parseInt(_0xb9aeb8(0x27a))/0x3+parseInt(_0xb9aeb8(0x266))/0x4+-parseInt(_0xb9aeb8(0x24d))/0x5*(parseInt(_0xb9aeb8(0x1f7))/0x6)+parseInt(_0xb9aeb8(0x265))/0x7*(parseInt(_0xb9aeb8(0x22b))/0x8)+parseInt(_0xb9aeb8(0x21b))/0x9+-parseInt(_0xb9aeb8(0x262))/0xa;if(_0x160f3a===_0x40b1b0)break;else _0x3536ba['push'](_0x3536ba['shift']());}catch(_0x35ff87){_0x3536ba['push'](_0x3536ba['shift']());}}}(a38_0x1e5f,0xb2c69),exports[a38_0x4b83fd(0x211)]=()=>{var _0x2b9116=a38_0x4b83fd,_0x3745e9={};_0x3745e9[_0x2b9116(0x240)]=_0x2b9116(0x20c),_0x3745e9[_0x2b9116(0x22c)]='browserstack.userName',_0x3745e9[_0x2b9116(0x275)]='browserstack.access_key',_0x3745e9[_0x2b9116(0x1eb)]=_0x2b9116(0x213),_0x3745e9[_0x2b9116(0x229)]='browserstack.buildName',_0x3745e9[_0x2b9116(0x204)]=_0x2b9116(0x282),_0x3745e9[_0x2b9116(0x1e5)]=_0x2b9116(0x273),_0x3745e9[_0x2b9116(0x200)]='browserstack.ppp',_0x3745e9[_0x2b9116(0x236)]=_0x2b9116(0x209),_0x3745e9[_0x2b9116(0x259)]=_0x2b9116(0x205),_0x3745e9[_0x2b9116(0x24e)]=_0x2b9116(0x25d),_0x3745e9[_0x2b9116(0x26b)]=_0x2b9116(0x247),_0x3745e9['NrEuy']='browserstack.app',_0x3745e9[_0x2b9116(0x232)]='browserstack.logLevel',_0x3745e9[_0x2b9116(0x21d)]='browserstack.automation';var _0x39ff42=_0x3745e9,_0x1d18a2={};return _0x1d18a2[_0x2b9116(0x225)]=[_0x39ff42['lDHHo'],_0x39ff42[_0x2b9116(0x22c)]],_0x1d18a2[_0x2b9116(0x20d)]=[_0x39ff42[_0x2b9116(0x275)],_0x39ff42['yNWDk']],_0x1d18a2[_0x2b9116(0x22f)]=[_0x39ff42[_0x2b9116(0x229)]],_0x1d18a2['projectName']=[_0x39ff42[_0x2b9116(0x204)]],_0x1d18a2[_0x2b9116(0x280)]=[_0x39ff42['lbZFw']],_0x1d18a2[_0x2b9116(0x1f2)]=[_0x39ff42['JiEEU'],_0x39ff42[_0x2b9116(0x236)]],_0x1d18a2[_0x2b9116(0x278)]=[_0x39ff42[_0x2b9116(0x259)]],_0x1d18a2[_0x2b9116(0x257)]=[_0x39ff42['KcsdT']],_0x1d18a2[_0x2b9116(0x219)]=[_0x39ff42[_0x2b9116(0x26b)]],_0x1d18a2[_0x2b9116(0x223)]=[_0x39ff42[_0x2b9116(0x245)]],_0x1d18a2[_0x2b9116(0x21c)]=[_0x39ff42[_0x2b9116(0x232)]],_0x1d18a2['automation']=[_0x39ff42[_0x2b9116(0x21d)]],_0x1d18a2;},exports[a38_0x4b83fd(0x260)]=()=>{var _0x307268=a38_0x4b83fd,_0x2c006d={};_0x2c006d[_0x307268(0x207)]=_0x307268(0x22a),_0x2c006d['AHBjJ']=_0x307268(0x287),_0x2c006d[_0x307268(0x1e9)]='BROWSERSTACK_ACCESS_KEY',_0x2c006d[_0x307268(0x248)]='BROWSERSTACK_BUILD_NAME',_0x2c006d[_0x307268(0x25b)]=_0x307268(0x23a),_0x2c006d['anOqS']='BROWSERSTACK_BUILD_IDENTIFIER',_0x2c006d[_0x307268(0x254)]='BROWSERSTACK_PARALLELS_PER_PLATFORM',_0x2c006d[_0x307268(0x218)]='BROWSERSTACK_LOCAL',_0x2c006d['GtbZe']=_0x307268(0x1f1),_0x2c006d[_0x307268(0x20b)]='BROWSERSTACK_RERUN_TESTS',_0x2c006d[_0x307268(0x1e6)]=_0x307268(0x237),_0x2c006d[_0x307268(0x1fb)]='BROWSERSTACK_OBSERVABILITY_DEBUG',_0x2c006d[_0x307268(0x26f)]='BROWSERSTACK_AUTOMATION';var _0x4cb75f=_0x2c006d,_0x537025={};return _0x537025[_0x307268(0x225)]=[_0x4cb75f['swiNa'],_0x4cb75f[_0x307268(0x22e)]],_0x537025[_0x307268(0x20d)]=[_0x4cb75f[_0x307268(0x1e9)]],_0x537025[_0x307268(0x22f)]=[_0x4cb75f[_0x307268(0x248)]],_0x537025[_0x307268(0x277)]=[_0x4cb75f['yfRMo']],_0x537025['buildIdentifier']=[_0x4cb75f['anOqS']],_0x537025[_0x307268(0x1f2)]=[_0x4cb75f[_0x307268(0x254)]],_0x537025['browserstackLocal']=[_0x4cb75f[_0x307268(0x218)]],_0x537025[_0x307268(0x257)]=[_0x4cb75f[_0x307268(0x250)]],_0x537025[_0x307268(0x219)]=[_0x4cb75f['twyim']],_0x537025['app']=[_0x4cb75f[_0x307268(0x1e6)]],_0x537025[_0x307268(0x21c)]=[_0x4cb75f[_0x307268(0x1fb)]],_0x537025['automation']=[_0x4cb75f[_0x307268(0x26f)]],_0x537025;},exports[a38_0x4b83fd(0x261)]=()=>[a38_0x4b83fd(0x289),a38_0x4b83fd(0x276),a38_0x4b83fd(0x244),'newCommandTimeout',a38_0x4b83fd(0x223),a38_0x4b83fd(0x281),a38_0x4b83fd(0x27c),a38_0x4b83fd(0x252),'orientation',a38_0x4b83fd(0x24a),a38_0x4b83fd(0x21a),a38_0x4b83fd(0x242),a38_0x4b83fd(0x23f),'eventTimings','enablePerformanceLogging',a38_0x4b83fd(0x220),'printPageSourceOnFindFailure',a38_0x4b83fd(0x1e4),a38_0x4b83fd(0x1ef),'appWaitActivity',a38_0x4b83fd(0x24c),a38_0x4b83fd(0x23e),a38_0x4b83fd(0x212),'allowTestPackages',a38_0x4b83fd(0x27f),a38_0x4b83fd(0x234),'androidDeviceReadyTimeout',a38_0x4b83fd(0x230),'androidDeviceSocket',a38_0x4b83fd(0x226),'androidInstallPath',a38_0x4b83fd(0x1f8),a38_0x4b83fd(0x251),'avdReadyTimeout','avdArgs',a38_0x4b83fd(0x1ff),a38_0x4b83fd(0x27b),a38_0x4b83fd(0x24f),a38_0x4b83fd(0x284),a38_0x4b83fd(0x206),a38_0x4b83fd(0x267),'chromedriverArgs',a38_0x4b83fd(0x249),a38_0x4b83fd(0x25a),'chromedriverUseSystemExecutable',a38_0x4b83fd(0x26d),a38_0x4b83fd(0x235),a38_0x4b83fd(0x1f5),'autoWebviewTimeout',a38_0x4b83fd(0x222),a38_0x4b83fd(0x210),a38_0x4b83fd(0x27d),'optionalIntentArguments',a38_0x4b83fd(0x1fa),a38_0x4b83fd(0x1f4),a38_0x4b83fd(0x228),'noSign',a38_0x4b83fd(0x26e),a38_0x4b83fd(0x241),a38_0x4b83fd(0x27e),a38_0x4b83fd(0x1fd),'nativeWebScreenshot',a38_0x4b83fd(0x21e),'networkSpeed',a38_0x4b83fd(0x269),a38_0x4b83fd(0x239),'adbExecTimeout',a38_0x4b83fd(0x25f),a38_0x4b83fd(0x217),'autoGrantPermissions','androidNaturalOrientation','systemPort',a38_0x4b83fd(0x23c),a38_0x4b83fd(0x1ed),a38_0x4b83fd(0x201),'unlockKey',a38_0x4b83fd(0x224),a38_0x4b83fd(0x1f0),a38_0x4b83fd(0x283),a38_0x4b83fd(0x1f3),a38_0x4b83fd(0x24b),a38_0x4b83fd(0x227),a38_0x4b83fd(0x270),a38_0x4b83fd(0x263),a38_0x4b83fd(0x20a),'remoteAppsCacheLimit',a38_0x4b83fd(0x221),a38_0x4b83fd(0x25c),a38_0x4b83fd(0x23b),a38_0x4b83fd(0x215),'locationServicesAuthorized',a38_0x4b83fd(0x1f9),a38_0x4b83fd(0x20f),a38_0x4b83fd(0x203),a38_0x4b83fd(0x214),'safariInitialUrl','safariAllowPopups',a38_0x4b83fd(0x268),a38_0x4b83fd(0x243),a38_0x4b83fd(0x1fe),a38_0x4b83fd(0x285),a38_0x4b83fd(0x233),a38_0x4b83fd(0x23d),'showIOSLog',a38_0x4b83fd(0x1e8),'webkitResponseTimeout',a38_0x4b83fd(0x256),a38_0x4b83fd(0x208),a38_0x4b83fd(0x22d),'skipLogCapture',a38_0x4b83fd(0x216),'fullContextList','waitForAppScript','webviewConnectRetries',a38_0x4b83fd(0x255),a38_0x4b83fd(0x1ec),a38_0x4b83fd(0x26c),'scaleFactor',a38_0x4b83fd(0x271),a38_0x4b83fd(0x253),'iosInstallPause',a38_0x4b83fd(0x26a),'keychainPassword','usePrebuiltWDA','preventWDAAttachments',a38_0x4b83fd(0x246),a38_0x4b83fd(0x1e7),a38_0x4b83fd(0x20e),a38_0x4b83fd(0x202),a38_0x4b83fd(0x1f6),a38_0x4b83fd(0x288),a38_0x4b83fd(0x21f),a38_0x4b83fd(0x279),'resetOnSessionStartOnly','commandTimeouts','wdaStartupRetries',a38_0x4b83fd(0x272),'connectHardwareKeyboard',a38_0x4b83fd(0x258),a38_0x4b83fd(0x25e),'useCarthageSsl',a38_0x4b83fd(0x1ee),'startIWDP',a38_0x4b83fd(0x286),a38_0x4b83fd(0x1fc),a38_0x4b83fd(0x274),a38_0x4b83fd(0x264),'logcatFilterSpecs',a38_0x4b83fd(0x238)]);function a38_0x1e5f(){var _0x3f10b3=['wdaStartupRetryInterval','browserstack.buildIdentifier','mockLocationApp','XSwTR','platformVersion','projectName','browserstackLocal','updatedWDABundleId','3615660zNpseZ','keystorePath','language','intentFlags','chromeOptions','androidCoverage','buildIdentifier','udid','browserstack.projectName','uninstallOtherPackages','keyAlias','localizableStringsDir','allowTouchIdEnroll','BROWSERSTACK_USER_NAME','xcodeOrgId','automationName','appActivity','lbZFw','REzos','keychainPath','sendKeyStrategy','zdfvL','48SMYumX','yNWDk','customSSLCert','skipUnlock','shouldUseSingletonTestManager','appPackage','skipLogcatCapture','BROWSERSTACK_LOCAL_IDENTIFIER','parallelsPerPlatform','disableWindowAnimation','unicodeKeyboard','chromedriverDisableBuildCheck','wdaConnectionTimeout','81600NcdkVY','avd','autoAcceptAlerts','dontStopAppOnReset','mIEZK','ignoreHiddenApiPolicyError','recreateChromeDriverSessions','keepKeyChains','useKeystore','JiEEU','unlockType','wdaLaunchTimeout','nativeInstrumentsLib','tNhKx','browserstack.local','keyPassword','swiNa','remoteDebugProxy','browserstack.parallelsPerPlatform','enableWebviewDetailsCollection','twyim','browserstack.user_name','accessKey','useNewWDA','autoDismissAlerts','intentCategory','CLICapsMapping','deviceReadyTimeout','browserstack.accessKey','nativeWebTap','locationServicesEnabled','webkitDebugProxyPort','skipDeviceInitialization','QKGTm','rerunTests','noReset','4433859zVeoxd','logLevel','zfcul','androidScreenshotPath','xcodeSigningId','otherApps','calendarFormat','intentAction','app','autoLaunch','userName','androidInstallTimeout','enforceAppInstall','resetKeyboard','cjIvb','BROWSERSTACK_USERNAME','8etmsCz','UwqWj','enableAsyncExecuteFromHttps','AHBjJ','buildName','adbPort','12076urYRAG','xBAfX','processArguments','androidCoverageEndIntent','chromedriverPorts','wVHDc','BROWSERSTACK_APP','allowDelayAdb','isHeadless','BROWSERSTACK_PROJECT_NAME','launchTimeout','remoteAdbHost','interKeyDelay','appWaitDuration','clearSystemFiles','lDHHo','disableAndroidWatchers','fullReset','safariOpenLinksInBackground','deviceName','NrEuy','webDriverAgentUrl','browserstack.rerunTests','KKeSm','chromedriverExecutableDir','autoWebview','buildToolsVersion','appWaitPackage','305VqgaiU','KcsdT','keystorePassword','GtbZe','avdLaunchTimeout','locale','showXcodeLog','vHcfI','appName','screenshotWaitTimeout','localIdentifier','maxTypingFrequency','UcJiR','chromedriverChromeMappingFile','yfRMo','bundleId','browserstack.localIdentifier','simpleIsVisibleCheck','localeScript','EnvCapsMapping','AppiumCaps','24979700gAZOai','webviewDevtoolsPort','logcatFormat','9633799kGqOMt','2783532clZavA','chromedriverExecutable','safariIgnoreFraudWarning','gpsEnabled','xcodeConfigFile','ZOrWH','tapWithShortPressDuration','chromedriverPort','ignoreUnimportantViews','XGCEb','ensureWebviewsHavePages','wdaLocalPort'];a38_0x1e5f=function(){return _0x3f10b3;};return a38_0x1e5f();}
|