browserstack-node-sdk 1.65.2 → 1.65.4
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/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- 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/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.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/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/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.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/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.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-observability.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/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.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/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.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/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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.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/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.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/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.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/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/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54_0x301a82=a54_0x17e7;(function(_0x306944,_0x16cee6){const _0x516f47=a54_0x17e7,_0x56a383=_0x306944();while(!![]){try{const _0x3445b7=parseInt(_0x516f47(0xc1))/0x1+parseInt(_0x516f47(0x101))/0x2+parseInt(_0x516f47(0x10d))/0x3+parseInt(_0x516f47(0xc5))/0x4*(-parseInt(_0x516f47(0xba))/0x5)+parseInt(_0x516f47(0xc7))/0x6*(-parseInt(_0x516f47(0xb9))/0x7)+parseInt(_0x516f47(0xfc))/0x8+-parseInt(_0x516f47(0xc8))/0x9*(parseInt(_0x516f47(0xf1))/0xa);if(_0x3445b7===_0x16cee6)break;else _0x56a383['push'](_0x56a383['shift']());}catch(_0xe56a2d){_0x56a383['push'](_0x56a383['shift']());}}}(a54_0x380f,0xabf62));const fs=require('fs'),path=require(a54_0x301a82(0xbb)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a54_0x301a82(0xf9)),logger=require(a54_0x301a82(0xef))[a54_0x301a82(0x10f)],{getLogDir}=require(a54_0x301a82(0xef)),util=require('util'),helper=require(a54_0x301a82(0xf9));function a54_0x17e7(_0x26c1c9,_0x5afcf2){const _0x380f15=a54_0x380f();return a54_0x17e7=function(_0x17e710,_0x15587b){_0x17e710=_0x17e710-0xa6;let _0x28f984=_0x380f15[_0x17e710];return _0x28f984;},a54_0x17e7(_0x26c1c9,_0x5afcf2);}class TestDetails{static [a54_0x301a82(0xc2)]={};static[a54_0x301a82(0xd8)](){const _0x1eb623=a54_0x301a82;this[_0x1eb623(0xeb)]();const _0x4a64aa={};_0x4a64aa[_0x1eb623(0xf0)]=!![],fs['mkdirSync'](this[_0x1eb623(0xa7)](),_0x4a64aa);const _0xf7d7f0={};_0xf7d7f0[_0x1eb623(0xf0)]=!![],fs[_0x1eb623(0xac)](this[_0x1eb623(0xaa)](),_0xf7d7f0);}static['getStoreDirSuffix'](){const _0x5d6aba=a54_0x301a82,_0x2f3a22={};_0x2f3a22['AfVcj']=function(_0x12dcaf,_0x1fc881){return _0x12dcaf===_0x1fc881;},_0x2f3a22[_0x5d6aba(0x108)]=_0x5d6aba(0x100),_0x2f3a22[_0x5d6aba(0x10e)]=function(_0x220045,_0x23b29f){return _0x220045===_0x23b29f;},_0x2f3a22[_0x5d6aba(0xd9)]='null',_0x2f3a22[_0x5d6aba(0xfd)]=_0x5d6aba(0xb3);const _0x3e99ec=_0x2f3a22,_0x44a423=process[_0x5d6aba(0xd5)][_0x5d6aba(0xcc)];if(!_0x44a423||_0x3e99ec[_0x5d6aba(0xbc)](_0x44a423,_0x3e99ec[_0x5d6aba(0x108)])||_0x3e99ec[_0x5d6aba(0x10e)](_0x44a423,_0x3e99ec[_0x5d6aba(0xd9)]))return _0x3e99ec[_0x5d6aba(0xfd)];return _0x44a423;}static[a54_0x301a82(0xc4)](){const _0x423c24=a54_0x301a82,_0x545f33={};_0x545f33[_0x423c24(0xbe)]=function(_0x5575a3,_0x314bec){return _0x5575a3+_0x314bec;},_0x545f33['IwnIY']=function(_0x30fda6,_0x4eed67){return _0x30fda6+_0x4eed67;};const _0x5b8480=_0x545f33;return _0x5b8480[_0x423c24(0xbe)](_0x5b8480[_0x423c24(0xf3)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x423c24(0xd0)]());}static[a54_0x301a82(0xc0)](){const _0xca5aa1=a54_0x301a82,_0x190d41={};_0x190d41[_0xca5aa1(0xc6)]=function(_0x9f42c1,_0xdc4f96){return _0x9f42c1+_0xdc4f96;},_0x190d41['zNTcB']=function(_0x34fbe9,_0x5a658f){return _0x34fbe9+_0x5a658f;};const _0x408e21=_0x190d41;return path[_0xca5aa1(0xd7)](_0x408e21[_0xca5aa1(0xc6)](_0x408e21[_0xca5aa1(0xf5)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0xca5aa1(0xd0)]()));}static[a54_0x301a82(0xaa)](){const _0x4da5e9=a54_0x301a82,_0x54efe2={};_0x54efe2[_0x4da5e9(0x109)]=_0x4da5e9(0x110);const _0x5088aa=_0x54efe2;return path[_0x4da5e9(0xd7)](this[_0x4da5e9(0xc0)](),_0x5088aa[_0x4da5e9(0x109)]);}static['getDirPath'](){const _0x3dbe49=a54_0x301a82;return TestDetails[_0x3dbe49(0xc4)]();}static[a54_0x301a82(0xed)](_0x1d41cc){const _0x57445f=a54_0x301a82,_0x2cc2c9={};_0x2cc2c9[_0x57445f(0xa9)]=function(_0x4c2c3f,_0x41c768){return _0x4c2c3f+_0x41c768;},_0x2cc2c9[_0x57445f(0xf4)]=_0x57445f(0xd1);const _0x1da0c3=_0x2cc2c9;return path['join'](this[_0x57445f(0xa7)](),_0x1da0c3[_0x57445f(0xa9)](_0x1d41cc,_0x1da0c3['lvPmS']));}static[a54_0x301a82(0xe5)](_0xdf3b59){const _0x26bd1c=a54_0x301a82,_0x2ccdc2={};_0x2ccdc2[_0x26bd1c(0xcb)]=function(_0x55c38e,_0x17138a){return _0x55c38e+_0x17138a;};const _0x4af6cd=_0x2ccdc2;return _0x4af6cd[_0x26bd1c(0xcb)](_0x4af6cd['uqQIN'](this['getTestIdFromTestInfo'](_0xdf3b59),'-'),_0xdf3b59['retry']);}static[a54_0x301a82(0xd6)](_0x4dcd35){const _0x231e23=a54_0x301a82,_0x22a9e3={'LWSEW':function(_0x55d055,_0x4a8e65,_0x308956){return _0x55d055(_0x4a8e65,_0x308956);},'BKMTC':'_test','dgFlJ':_0x231e23(0xb2),'xdTyg':function(_0x3d71f3,_0x4b3b92,_0x28e9ae){return _0x3d71f3(_0x4b3b92,_0x28e9ae);},'pFSwm':'project','czPfY':_0x231e23(0x102)};return _0x22a9e3[_0x231e23(0xfa)](nestedKeyValue,_0x4dcd35,[_0x22a9e3[_0x231e23(0xce)],_0x22a9e3[_0x231e23(0xbd)]])||_0x22a9e3[_0x231e23(0xe7)](nestedKeyValue,_0x4dcd35,[_0x22a9e3['pFSwm'],_0x22a9e3[_0x231e23(0xf8)]]);}static[a54_0x301a82(0xe0)](_0x49f74e){const _0x17976e=a54_0x301a82,_0x26466f={'pRBKr':function(_0x3b5ced,_0x4d40ce,_0x385fa6){return _0x3b5ced(_0x4d40ce,_0x385fa6);},'UPhGQ':_0x17976e(0xee)};return _0x26466f['pRBKr'](nestedKeyValue,_0x49f74e,[_0x26466f[_0x17976e(0xe3)],'id'])||_0x49f74e[_0x17976e(0xff)];}static['getTestUUID'](_0x2411fd){const _0x1938aa=a54_0x301a82,_0x3cb594={'XfiwU':function(_0x2a61e3,_0x49987c){return _0x2a61e3===_0x49987c;},'UjSwt':_0x1938aa(0xcf),'AzlEX':function(_0x4f350a){return _0x4f350a();}};if(this['tests'][_0x2411fd]&&_0x3cb594[_0x1938aa(0xe2)](typeof this['tests'][_0x2411fd][_0x1938aa(0x10c)],_0x3cb594[_0x1938aa(0x10b)]))return this['tests'][_0x2411fd][_0x1938aa(0x10c)];const _0x50d36f=this[_0x1938aa(0xed)](_0x2411fd);if(_0x50d36f&&fs[_0x1938aa(0xb1)](_0x50d36f)){const _0x31cf28=JSON['parse'](fs[_0x1938aa(0xdf)](_0x50d36f)[_0x1938aa(0xc9)]());return this[_0x1938aa(0xc2)][_0x2411fd]=_0x31cf28,this['tests'][_0x2411fd][_0x1938aa(0x10c)];}return this[_0x1938aa(0xc2)][_0x2411fd]={'uuid':_0x3cb594[_0x1938aa(0xd4)](uuidv4)},fs[_0x1938aa(0xb5)](_0x50d36f,JSON[_0x1938aa(0x107)](this['tests'][_0x2411fd])),this[_0x1938aa(0xc2)][_0x2411fd][_0x1938aa(0x10c)];}static[a54_0x301a82(0xf6)](_0x8dc94){const _0x325df5=a54_0x301a82,_0x13b154=path[_0x325df5(0xd7)](this['getDirPath'](),_0x8dc94+_0x325df5(0xe4));if(_0x13b154&&fs[_0x325df5(0xb1)](_0x13b154))return fs[_0x325df5(0xdf)](_0x13b154)['toString']();}static[a54_0x301a82(0xb7)](_0x4c5763,_0x13c8ad){const _0x39c9f5=a54_0x301a82;try{const _0xac0dd7=this[_0x39c9f5(0xa7)](),_0xdce85={};_0xdce85[_0x39c9f5(0xf0)]=!![],fs[_0x39c9f5(0xac)](_0xac0dd7,_0xdce85);const _0x1a321=path[_0x39c9f5(0xd7)](_0xac0dd7,_0x13c8ad+_0x39c9f5(0xe4));fs['writeFileSync'](_0x1a321,_0x4c5763['toString']());}catch(_0x36b771){logger[_0x39c9f5(0xc3)](_0x39c9f5(0xb0)+_0x13c8ad+':\x20'+(_0x36b771&&_0x36b771[_0x39c9f5(0xab)]));}}static[a54_0x301a82(0xda)](_0x4641a3){const _0x606ef2=a54_0x301a82,_0x27d4f6=path[_0x606ef2(0xd7)](this[_0x606ef2(0xa7)](),_0x4641a3+_0x606ef2(0xf2));if(_0x27d4f6&&fs['existsSync'](_0x27d4f6))try{return JSON[_0x606ef2(0xae)](fs[_0x606ef2(0xdf)](_0x27d4f6)[_0x606ef2(0xc9)]());}catch(_0xedd196){return logger[_0x606ef2(0xc3)](_0x606ef2(0xcd)+_0x4641a3+':\x20'+(_0xedd196&&_0xedd196['message'])),null;}return null;}static['setIntegrations'](_0x1c5a33,_0x5dd8d1){const _0x4c91bb=a54_0x301a82,_0x5e663b={};_0x5e663b[_0x4c91bb(0xb4)]=function(_0x595ce1,_0x49f84){return _0x595ce1||_0x49f84;};const _0x1d6c2a=_0x5e663b;if(_0x1d6c2a[_0x4c91bb(0xb4)](!_0x1c5a33,!_0x5dd8d1))return;try{const _0x24f458=this[_0x4c91bb(0xa7)](),_0x26c045={};_0x26c045[_0x4c91bb(0xf0)]=!![],fs['mkdirSync'](_0x24f458,_0x26c045);const _0x5b04b3=path[_0x4c91bb(0xd7)](_0x24f458,_0x1c5a33+_0x4c91bb(0xf2));fs[_0x4c91bb(0xb5)](_0x5b04b3,JSON[_0x4c91bb(0x107)](_0x5dd8d1));}catch(_0x265cfe){logger['debug'](_0x4c91bb(0x10a)+_0x1c5a33+':\x20'+(_0x265cfe&&_0x265cfe[_0x4c91bb(0xab)]));}}static['shutdown'](){const _0x3a35bd=a54_0x301a82,_0x4d1a47={};_0x4d1a47[_0x3a35bd(0xf0)]=!![],_0x4d1a47[_0x3a35bd(0xe6)]=!![],fs['rmSync'](this[_0x3a35bd(0xa7)](),_0x4d1a47);}static[a54_0x301a82(0xaf)](_0x4a04b6){const _0x54a32e=a54_0x301a82;if(this[_0x54a32e(0xc2)][_0x4a04b6])return this[_0x54a32e(0xc2)][_0x4a04b6];const _0x57de0d=this[_0x54a32e(0xed)](_0x4a04b6);if(_0x57de0d&&fs['existsSync'](_0x57de0d)){const _0x124293=JSON[_0x54a32e(0xae)](fs['readFileSync'](_0x57de0d)['toString']());return this[_0x54a32e(0xc2)][_0x4a04b6]=_0x124293,_0x124293;}return{};}static[a54_0x301a82(0xd3)](_0x35f7bd,_0x321f0a){const _0x76ff86=a54_0x301a82,_0x241c03=this[_0x76ff86(0xed)](_0x35f7bd);if(_0x241c03&&fs['existsSync'](_0x241c03)){const _0x379aff=JSON[_0x76ff86(0xae)](fs[_0x76ff86(0xdf)](_0x241c03)[_0x76ff86(0xc9)]()),_0x2e0157={..._0x379aff,..._0x321f0a};this[_0x76ff86(0xc2)][_0x35f7bd]=_0x2e0157;}else this[_0x76ff86(0xc2)][_0x35f7bd]=_0x321f0a;fs[_0x76ff86(0xb5)](_0x241c03,this[_0x76ff86(0xc2)][_0x35f7bd]);}static[a54_0x301a82(0xdd)](_0x32ee39){const _0x4aa57c=a54_0x301a82,_0x3186f2={};_0x3186f2['TwGbz']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x555e68=_0x3186f2;try{const _0x19f7a4=process[_0x4aa57c(0xde)],_0x2e1c4d=path[_0x4aa57c(0xd7)](TestDetails[_0x4aa57c(0xaa)](),_0x19f7a4+_0x4aa57c(0x104));let _0x1fbfdb=[];_0x2e1c4d&&fs['existsSync'](_0x2e1c4d)&&(_0x1fbfdb=JSON[_0x4aa57c(0xae)](fs[_0x4aa57c(0xdf)](_0x2e1c4d)['toString']())),!_0x1fbfdb['some'](_0x5a5367=>_0x5a5367['filePath']===_0x32ee39[_0x4aa57c(0x105)])&&(_0x1fbfdb[_0x4aa57c(0xdb)](_0x32ee39),fs[_0x4aa57c(0xb5)](_0x2e1c4d,JSON['stringify'](_0x1fbfdb)));}catch(_0x18efba){logger[_0x4aa57c(0xe9)](_0x555e68[_0x4aa57c(0x103)],_0x18efba);}}static[a54_0x301a82(0xfe)](){const _0x3c285d=a54_0x301a82,_0x291d4d={};_0x291d4d['MZCMA']=_0x3c285d(0x104),_0x291d4d['tVLGc']=_0x3c285d(0xad);const _0xd0643a=_0x291d4d,_0x44c05a=[];try{const _0x5971f3=TestDetails[_0x3c285d(0xaa)]();if(_0x5971f3&&!fs[_0x3c285d(0xb1)](_0x5971f3))return _0x44c05a;const _0x378032=fs[_0x3c285d(0xea)](_0x5971f3);_0x378032[_0x3c285d(0xf7)](_0x313dcc=>{const _0x494302=_0x3c285d;if(_0x313dcc&&_0x313dcc[_0x494302(0xa6)](_0xd0643a[_0x494302(0xec)])){const _0x59e21c=JSON[_0x494302(0xae)](fs['readFileSync'](path[_0x494302(0xd7)](_0x5971f3,_0x313dcc))[_0x494302(0xc9)]());_0x44c05a[_0x494302(0xdb)](..._0x59e21c);}});}catch(_0x76b249){logger[_0x3c285d(0xe9)](util[_0x3c285d(0xca)](_0xd0643a[_0x3c285d(0xe1)],_0x76b249));}const _0x1c74b4={};return _0x44c05a[_0x3c285d(0xf7)](_0x47e06f=>{_0x1c74b4[_0x47e06f['filePath']]=_0x47e06f;}),Object[_0x3c285d(0xd2)](_0x1c74b4);}static[a54_0x301a82(0xbf)](_0x1bed7b,_0x569238){const _0x2bf656=a54_0x301a82,_0x374ec8={};_0x374ec8['DNCiU']=_0x2bf656(0xfb),_0x374ec8[_0x2bf656(0xa8)]=_0x2bf656(0x106);const _0x1abd8e=_0x374ec8;try{const _0x23101a=path['join'](helper[_0x2bf656(0xdc)](),_0x1abd8e[_0x2bf656(0xe8)]);if(!fs['existsSync'](_0x23101a)){const _0x2fc368={};_0x2fc368[_0x2bf656(0xf0)]=!![],fs['mkdirSync'](_0x23101a,_0x2fc368);}fs[_0x2bf656(0xb6)](path[_0x2bf656(0xd7)](_0x23101a,_0x2bf656(0xb8)+_0x569238+'.txt'),_0x1bed7b+'\x0a',_0x1abd8e[_0x2bf656(0xa8)]);}catch(_0x1a69f8){console[_0x2bf656(0xe9)]('Error\x20writing\x20trace\x20file:\x20'+_0x1a69f8[_0x2bf656(0xab)]);}}}function a54_0x380f(){const _0x1f4c72=['readFileSync','getTestIdFromTestInfo','tVLGc','XfiwU','UPhGQ','_platformDetails.json','getTestRunIdFromTestInfo','force','xdTyg','DNCiU','error','readdirSync','shutdown','MZCMA','getFilePath','_test','../../../helpers/logger','recursive','20BCwCXs','_integrations.json','IwnIY','lvPmS','zNTcB','getAccessibilityPlatformValidation','forEach','czPfY','../../../helpers/helper','LWSEW','.browserstack','9127912tkNnrg','coxAl','getTraceFilePaths','testId','undefined','2092822rhkAIL','__projectId','TwGbz','_traceZipPaths.json','filePath','utf8','stringify','XQtwl','zrIFn','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','UjSwt','uuid','4215783iFWIzZ','Dzxon','winstonLogger','traceZipPaths','endsWith','getDirPath','jFwrx','gPqXc','getTraceZipDir','message','mkdirSync','Error\x20reading\x20trace\x20file\x20paths:\x20%s','parse','getTestDetails','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','existsSync','_projectId','default','xAunu','writeFileSync','appendFileSync','setAccessibilityPlatformValidation','trace_','14QPzXmr','25495MjHXKl','path','AfVcj','dgFlJ','ZbayF','appendToTracePaths','getStoreDirPath','907290RMsJQM','tests','debug','getStoreDirName','724YCbweS','VCLbR','436398SEgeDA','12272454qpEiHS','toString','format','uqQIN','BS_TESTOPS_BUILD_HASHED_ID','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','BKMTC','string','getStoreDirSuffix','.json','values','setTestDetails','AzlEX','env','getProjectIdFromTestInfo','join','setup','XzosN','getIntegrations','push','homedir','addTraceFilePath','pid'];a54_0x380f=function(){return _0x1f4c72;};return a54_0x380f();}module['exports']=TestDetails;
|
|
1
|
+
const a54_0x4617df=a54_0x2e6a;(function(_0x10b9d2,_0x37c8bb){const _0x1665f7=a54_0x2e6a,_0x1637f7=_0x10b9d2();while(!![]){try{const _0x541853=-parseInt(_0x1665f7(0x217))/0x1*(parseInt(_0x1665f7(0x1d5))/0x2)+parseInt(_0x1665f7(0x205))/0x3+-parseInt(_0x1665f7(0x1ef))/0x4+parseInt(_0x1665f7(0x1e9))/0x5*(-parseInt(_0x1665f7(0x20a))/0x6)+parseInt(_0x1665f7(0x1d0))/0x7*(parseInt(_0x1665f7(0x201))/0x8)+parseInt(_0x1665f7(0x226))/0x9+parseInt(_0x1665f7(0x22c))/0xa;if(_0x541853===_0x37c8bb)break;else _0x1637f7['push'](_0x1637f7['shift']());}catch(_0x4687a1){_0x1637f7['push'](_0x1637f7['shift']());}}}(a54_0x2700,0x2088b));function a54_0x2e6a(_0x2fb745,_0x1bffa4){const _0x270075=a54_0x2700();return a54_0x2e6a=function(_0x2e6a23,_0x349459){_0x2e6a23=_0x2e6a23-0x1cc;let _0x4dd1fb=_0x270075[_0x2e6a23];return _0x4dd1fb;},a54_0x2e6a(_0x2fb745,_0x1bffa4);}const fs=require('fs'),path=require(a54_0x4617df(0x1e5)),{v4:uuidv4}=require(a54_0x4617df(0x1fe)),{TEMP_STORE_DIR_NAME}=require(a54_0x4617df(0x1e2)),{nestedKeyValue}=require(a54_0x4617df(0x1f7)),logger=require(a54_0x4617df(0x228))[a54_0x4617df(0x231)],{getLogDir}=require(a54_0x4617df(0x228)),util=require(a54_0x4617df(0x1de)),helper=require(a54_0x4617df(0x1f7));class TestDetails{static [a54_0x4617df(0x214)]={};static[a54_0x4617df(0x1d4)](){const _0x485969=a54_0x4617df;this[_0x485969(0x1f6)]();const _0x47b484={};_0x47b484[_0x485969(0x1fa)]=!![],fs[_0x485969(0x224)](this[_0x485969(0x1df)](),_0x47b484);const _0x23b5a0={};_0x23b5a0[_0x485969(0x1fa)]=!![],fs[_0x485969(0x224)](this[_0x485969(0x1fc)](),_0x23b5a0);}static[a54_0x4617df(0x230)](){const _0xc0e5f0=a54_0x4617df,_0x446308={};_0x446308[_0xc0e5f0(0x1ff)]=function(_0x4c5001,_0x28c6de){return _0x4c5001===_0x28c6de;},_0x446308['jucVB']='undefined',_0x446308[_0xc0e5f0(0x22b)]=function(_0x5824f3,_0x27760a){return _0x5824f3===_0x27760a;},_0x446308['YknLm']='null',_0x446308[_0xc0e5f0(0x20d)]='default';const _0x5af55d=_0x446308,_0x5dc91e=process[_0xc0e5f0(0x211)][_0xc0e5f0(0x213)];if(!_0x5dc91e||_0x5af55d[_0xc0e5f0(0x1ff)](_0x5dc91e,_0x5af55d[_0xc0e5f0(0x223)])||_0x5af55d['BBoGj'](_0x5dc91e,_0x5af55d[_0xc0e5f0(0x1f1)]))return _0x5af55d[_0xc0e5f0(0x20d)];return _0x5dc91e;}static[a54_0x4617df(0x219)](){const _0x49b1cf=a54_0x4617df,_0x3a71e5={};_0x3a71e5[_0x49b1cf(0x20c)]=function(_0x36f5b7,_0x1f1534){return _0x36f5b7+_0x1f1534;};const _0x343c64=_0x3a71e5;return _0x343c64[_0x49b1cf(0x20c)](_0x343c64[_0x49b1cf(0x20c)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']());}static[a54_0x4617df(0x1d7)](){const _0x4889b5=a54_0x4617df,_0x15178c={};_0x15178c[_0x4889b5(0x210)]=function(_0x3a49e2,_0x5cd7e8){return _0x3a49e2+_0x5cd7e8;},_0x15178c[_0x4889b5(0x1d8)]=function(_0x12e6e6,_0x4ef38b){return _0x12e6e6+_0x4ef38b;};const _0x43ead1=_0x15178c;return path[_0x4889b5(0x1f9)](_0x43ead1[_0x4889b5(0x210)](_0x43ead1[_0x4889b5(0x1d8)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']()));}static[a54_0x4617df(0x1fc)](){const _0x19c75b=a54_0x4617df,_0x41caa9={};_0x41caa9[_0x19c75b(0x1ee)]=_0x19c75b(0x202);const _0x1f00aa=_0x41caa9;return path[_0x19c75b(0x1f9)](this[_0x19c75b(0x1d7)](),_0x1f00aa[_0x19c75b(0x1ee)]);}static[a54_0x4617df(0x1df)](){const _0x36c961=a54_0x4617df;return TestDetails[_0x36c961(0x219)]();}static[a54_0x4617df(0x204)](_0x5a92de){const _0x341506=a54_0x4617df,_0x3ab5bc={};_0x3ab5bc['VIMjp']=function(_0x3325fe,_0x555969){return _0x3325fe+_0x555969;},_0x3ab5bc[_0x341506(0x1ed)]='.json';const _0x5ef0ba=_0x3ab5bc;return path[_0x341506(0x1f9)](this[_0x341506(0x1df)](),_0x5ef0ba[_0x341506(0x1db)](_0x5a92de,_0x5ef0ba[_0x341506(0x1ed)]));}static['getTestRunIdFromTestInfo'](_0x210a20){const _0x277528=a54_0x4617df,_0x23634e={};_0x23634e[_0x277528(0x215)]=function(_0x4bd3f1,_0xec1185){return _0x4bd3f1+_0xec1185;};const _0x22064c=_0x23634e;return _0x22064c[_0x277528(0x215)](_0x22064c['XCLSp'](this[_0x277528(0x21a)](_0x210a20),'-'),_0x210a20['retry']);}static[a54_0x4617df(0x1f2)](_0x289802){const _0x4cfba8=a54_0x4617df,_0x172ca1={'NSTHN':function(_0x4a9c62,_0x2cea64,_0x26823c){return _0x4a9c62(_0x2cea64,_0x26823c);},'KUtBC':_0x4cfba8(0x1d3),'KEJzt':_0x4cfba8(0x1e0),'Xzhsf':function(_0x4fda03,_0x40de5d,_0x4000f2){return _0x4fda03(_0x40de5d,_0x4000f2);},'iMsma':'project','VKIZe':_0x4cfba8(0x1f3)};return _0x172ca1[_0x4cfba8(0x22d)](nestedKeyValue,_0x289802,[_0x172ca1[_0x4cfba8(0x212)],_0x172ca1[_0x4cfba8(0x21f)]])||_0x172ca1[_0x4cfba8(0x1d1)](nestedKeyValue,_0x289802,[_0x172ca1[_0x4cfba8(0x216)],_0x172ca1['VKIZe']]);}static[a54_0x4617df(0x21a)](_0xdf67e4){const _0x451cb0=a54_0x4617df,_0x22f8af={'aLWdc':function(_0x5b367c,_0x9c4174,_0x20dd92){return _0x5b367c(_0x9c4174,_0x20dd92);},'oSeGL':_0x451cb0(0x1d3)};return _0x22f8af[_0x451cb0(0x22e)](nestedKeyValue,_0xdf67e4,[_0x22f8af[_0x451cb0(0x21d)],'id'])||_0xdf67e4[_0x451cb0(0x1e4)];}static[a54_0x4617df(0x20b)](_0x39234b){const _0x587dc1=a54_0x4617df,_0x327ea8={'zVcTF':function(_0x25c07a,_0x346d8c){return _0x25c07a===_0x346d8c;},'jhxWs':'string','KWVkl':function(_0x245359){return _0x245359();}};if(this['tests'][_0x39234b]&&_0x327ea8[_0x587dc1(0x207)](typeof this['tests'][_0x39234b][_0x587dc1(0x1fe)],_0x327ea8['jhxWs']))return this['tests'][_0x39234b][_0x587dc1(0x1fe)];const _0x5643ec=this[_0x587dc1(0x204)](_0x39234b);if(_0x5643ec&&fs['existsSync'](_0x5643ec)){const _0x538dd6=JSON[_0x587dc1(0x22a)](fs['readFileSync'](_0x5643ec)['toString']());return this['tests'][_0x39234b]=_0x538dd6,this[_0x587dc1(0x214)][_0x39234b][_0x587dc1(0x1fe)];}return this[_0x587dc1(0x214)][_0x39234b]={'uuid':_0x327ea8[_0x587dc1(0x21e)](uuidv4)},fs[_0x587dc1(0x1fd)](_0x5643ec,JSON[_0x587dc1(0x1e7)](this['tests'][_0x39234b])),this['tests'][_0x39234b][_0x587dc1(0x1fe)];}static[a54_0x4617df(0x225)](_0x1ddf6c){const _0x5b0f9c=a54_0x4617df,_0x12f205=path[_0x5b0f9c(0x1f9)](this[_0x5b0f9c(0x1df)](),_0x1ddf6c+_0x5b0f9c(0x21b));if(_0x12f205&&fs[_0x5b0f9c(0x220)](_0x12f205))return fs['readFileSync'](_0x12f205)[_0x5b0f9c(0x1dd)]();}static[a54_0x4617df(0x1da)](_0x5b07ac,_0x3f660f){const _0xc8e1de=a54_0x4617df;try{const _0x1569c7=this[_0xc8e1de(0x1df)](),_0x1ff0c5={};_0x1ff0c5[_0xc8e1de(0x1fa)]=!![],fs[_0xc8e1de(0x224)](_0x1569c7,_0x1ff0c5);const _0x431997=path['join'](_0x1569c7,_0x3f660f+_0xc8e1de(0x21b));fs[_0xc8e1de(0x1fd)](_0x431997,_0x5b07ac['toString']());}catch(_0x4046e9){logger[_0xc8e1de(0x221)](_0xc8e1de(0x1cd)+_0x3f660f+':\x20'+(_0x4046e9&&_0x4046e9[_0xc8e1de(0x21c)]));}}static['getIntegrations'](_0x1ef7da){const _0x88101d=a54_0x4617df,_0x232ab4=path[_0x88101d(0x1f9)](this[_0x88101d(0x1df)](),_0x1ef7da+_0x88101d(0x218));if(_0x232ab4&&fs[_0x88101d(0x220)](_0x232ab4))try{return JSON[_0x88101d(0x22a)](fs['readFileSync'](_0x232ab4)[_0x88101d(0x1dd)]());}catch(_0x5efffe){return logger[_0x88101d(0x221)](_0x88101d(0x1d2)+_0x1ef7da+':\x20'+(_0x5efffe&&_0x5efffe['message'])),null;}return null;}static['setIntegrations'](_0x356fad,_0x54ea12){const _0x28c857=a54_0x4617df,_0x1aabde={};_0x1aabde[_0x28c857(0x206)]=function(_0x38e361,_0x3427bf){return _0x38e361||_0x3427bf;};const _0x323bd9=_0x1aabde;if(_0x323bd9[_0x28c857(0x206)](!_0x356fad,!_0x54ea12))return;try{const _0x4757bc=this[_0x28c857(0x1df)](),_0x189ff4={};_0x189ff4['recursive']=!![],fs[_0x28c857(0x224)](_0x4757bc,_0x189ff4);const _0x4dae5a=path[_0x28c857(0x1f9)](_0x4757bc,_0x356fad+'_integrations.json');fs['writeFileSync'](_0x4dae5a,JSON[_0x28c857(0x1e7)](_0x54ea12));}catch(_0x42a192){logger[_0x28c857(0x221)](_0x28c857(0x1e8)+_0x356fad+':\x20'+(_0x42a192&&_0x42a192[_0x28c857(0x21c)]));}}static['shutdown'](){const _0x148dac=a54_0x4617df,_0x636eeb={};_0x636eeb[_0x148dac(0x1fa)]=!![],_0x636eeb[_0x148dac(0x1ce)]=!![],fs[_0x148dac(0x1e1)](this[_0x148dac(0x1df)](),_0x636eeb);}static[a54_0x4617df(0x22f)](_0x113fd4){const _0x102ee3=a54_0x4617df;if(this[_0x102ee3(0x214)][_0x113fd4])return this['tests'][_0x113fd4];const _0x5d36e2=this[_0x102ee3(0x204)](_0x113fd4);if(_0x5d36e2&&fs[_0x102ee3(0x220)](_0x5d36e2)){const _0x22ec6a=JSON[_0x102ee3(0x22a)](fs['readFileSync'](_0x5d36e2)[_0x102ee3(0x1dd)]());return this[_0x102ee3(0x214)][_0x113fd4]=_0x22ec6a,_0x22ec6a;}return{};}static[a54_0x4617df(0x1fb)](_0x92ecc5,_0x147fce){const _0x5dcbc1=a54_0x4617df,_0x1ab5b8=this['getFilePath'](_0x92ecc5);if(_0x1ab5b8&&fs[_0x5dcbc1(0x220)](_0x1ab5b8)){const _0x3096e0=JSON[_0x5dcbc1(0x22a)](fs[_0x5dcbc1(0x222)](_0x1ab5b8)['toString']()),_0x1b9e31={..._0x3096e0,..._0x147fce};this[_0x5dcbc1(0x214)][_0x92ecc5]=_0x1b9e31;}else this[_0x5dcbc1(0x214)][_0x92ecc5]=_0x147fce;fs[_0x5dcbc1(0x1fd)](_0x1ab5b8,this[_0x5dcbc1(0x214)][_0x92ecc5]);}static[a54_0x4617df(0x1d6)](_0x51db88){const _0x2832d0=a54_0x4617df,_0x215718={};_0x215718[_0x2832d0(0x1f0)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x177425=_0x215718;try{const _0x31fd92=process[_0x2832d0(0x20e)],_0x3fb1bd=path[_0x2832d0(0x1f9)](TestDetails[_0x2832d0(0x1fc)](),_0x31fd92+'_traceZipPaths.json');let _0x4f5346=[];_0x3fb1bd&&fs[_0x2832d0(0x220)](_0x3fb1bd)&&(_0x4f5346=JSON[_0x2832d0(0x22a)](fs['readFileSync'](_0x3fb1bd)[_0x2832d0(0x1dd)]())),!_0x4f5346[_0x2832d0(0x203)](_0x544c9c=>_0x544c9c[_0x2832d0(0x20f)]===_0x51db88[_0x2832d0(0x20f)])&&(_0x4f5346[_0x2832d0(0x1dc)](_0x51db88),fs[_0x2832d0(0x1fd)](_0x3fb1bd,JSON[_0x2832d0(0x1e7)](_0x4f5346)));}catch(_0x54a0f8){logger[_0x2832d0(0x1ec)](_0x177425['ICVck'],_0x54a0f8);}}static['getTraceFilePaths'](){const _0x351d04=a54_0x4617df,_0x25b9af={};_0x25b9af['iiVmi']=_0x351d04(0x1f8),_0x25b9af[_0x351d04(0x229)]=_0x351d04(0x1cc);const _0xf4a210=_0x25b9af,_0x4c2771=[];try{const _0x89b1de=TestDetails[_0x351d04(0x1fc)]();if(_0x89b1de&&!fs[_0x351d04(0x220)](_0x89b1de))return _0x4c2771;const _0xae901f=fs[_0x351d04(0x1cf)](_0x89b1de);_0xae901f[_0x351d04(0x1e3)](_0x2a9bf3=>{const _0x164eaa=_0x351d04;if(_0x2a9bf3&&_0x2a9bf3[_0x164eaa(0x1f4)](_0xf4a210[_0x164eaa(0x227)])){const _0xc12827=JSON[_0x164eaa(0x22a)](fs[_0x164eaa(0x222)](path[_0x164eaa(0x1f9)](_0x89b1de,_0x2a9bf3))[_0x164eaa(0x1dd)]());_0x4c2771[_0x164eaa(0x1dc)](..._0xc12827);}});}catch(_0x3b47bb){logger[_0x351d04(0x1ec)](util[_0x351d04(0x1f5)](_0xf4a210[_0x351d04(0x229)],_0x3b47bb));}const _0x5ec429={};return _0x4c2771[_0x351d04(0x1e3)](_0x31f065=>{_0x5ec429[_0x31f065['filePath']]=_0x31f065;}),Object['values'](_0x5ec429);}static[a54_0x4617df(0x209)](_0x19bc7c,_0x6b3cfb){const _0x3996ec=a54_0x4617df,_0x23ecf0={};_0x23ecf0[_0x3996ec(0x200)]='.browserstack',_0x23ecf0[_0x3996ec(0x1e6)]=_0x3996ec(0x1d9);const _0x24cc62=_0x23ecf0;try{const _0x15e23f=path[_0x3996ec(0x1f9)](helper[_0x3996ec(0x1ea)](),_0x24cc62['fTXKO']);if(!fs[_0x3996ec(0x220)](_0x15e23f)){const _0x36e4f7={};_0x36e4f7[_0x3996ec(0x1fa)]=!![],fs['mkdirSync'](_0x15e23f,_0x36e4f7);}fs['appendFileSync'](path[_0x3996ec(0x1f9)](_0x15e23f,'trace_'+_0x6b3cfb+_0x3996ec(0x1eb)),_0x19bc7c+'\x0a',_0x24cc62[_0x3996ec(0x1e6)]);}catch(_0x5c6c9e){console[_0x3996ec(0x1ec)](_0x3996ec(0x208)+_0x5c6c9e['message']);}}}module[a54_0x4617df(0x232)]=TestDetails;function a54_0x2700(){const _0x5411bf=['existsSync','debug','readFileSync','jucVB','mkdirSync','getAccessibilityPlatformValidation','540441iJMWbg','iiVmi','../../../helpers/logger','bVSzM','parse','BBoGj','790500LrXwPw','NSTHN','aLWdc','getTestDetails','getStoreDirSuffix','winstonLogger','exports','Error\x20reading\x20trace\x20file\x20paths:\x20%s','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','force','readdirSync','105WPLcIy','Xzhsf','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','_test','setup','22588qfGvoL','addTraceFilePath','getStoreDirPath','IXShz','utf8','setAccessibilityPlatformValidation','VIMjp','push','toString','util','getDirPath','_projectId','rmSync','../../../helpers/test-observability/constants','forEach','testId','path','oVFaB','stringify','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','5RrAyIO','homedir','.txt','error','uryIL','VqyXF','873056GPONWd','ICVck','YknLm','getProjectIdFromTestInfo','__projectId','endsWith','format','shutdown','../../../helpers/helper','_traceZipPaths.json','join','recursive','setTestDetails','getTraceZipDir','writeFileSync','uuid','KKEuC','fTXKO','63112yxsTEk','traceZipPaths','some','getFilePath','478458ykGihf','SQsxV','zVcTF','Error\x20writing\x20trace\x20file:\x20','appendToTracePaths','189090uXIuVk','getTestUUID','XUctZ','ajhdI','pid','filePath','aZsSI','env','KUtBC','BS_TESTOPS_BUILD_HASHED_ID','tests','XCLSp','iMsma','3YsosgL','_integrations.json','getStoreDirName','getTestIdFromTestInfo','_platformDetails.json','message','oSeGL','KWVkl','KEJzt'];a54_0x2700=function(){return _0x5411bf;};return a54_0x2700();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a55_0x3c3deb=a55_0x3758;function a55_0x3758(_0x4f3354,_0x551a76){const _0x1ae370=a55_0x1ae3();return a55_0x3758=function(_0x375865,_0x42b6f5){_0x375865=_0x375865-0x90;let _0x5c79cc=_0x1ae370[_0x375865];return _0x5c79cc;},a55_0x3758(_0x4f3354,_0x551a76);}(function(_0xb3d5c8,_0x16909e){const _0x42ce60=a55_0x3758,_0x4049b9=_0xb3d5c8();while(!![]){try{const _0x405171=-parseInt(_0x42ce60(0xcb))/0x1*(parseInt(_0x42ce60(0xb0))/0x2)+-parseInt(_0x42ce60(0xbd))/0x3*(parseInt(_0x42ce60(0x92))/0x4)+parseInt(_0x42ce60(0xb5))/0x5*(parseInt(_0x42ce60(0xad))/0x6)+-parseInt(_0x42ce60(0xce))/0x7+parseInt(_0x42ce60(0xa7))/0x8+-parseInt(_0x42ce60(0xb3))/0x9*(-parseInt(_0x42ce60(0xc0))/0xa)+parseInt(_0x42ce60(0xa5))/0xb;if(_0x405171===_0x16909e)break;else _0x4049b9['push'](_0x4049b9['shift']());}catch(_0x23775f){_0x4049b9['push'](_0x4049b9['shift']());}}}(a55_0x1ae3,0xd424b));function a55_0x1ae3(){const _0x391d11=['flagIdx','9wYlZHY','util','CYyOJ','7104620QCAgil','platform','./reporter/reporter.js','DnDtA','includes','ICwvm','aJIZk','rLrqp','some','NsLga','../../helpers/logger','17EgfYlm','RxGSS','BROWSERSTACK_PW_REPORTER_PATH','4300604lBdJjO','AKGVk','--reporter=','2203216jOOHDc','prefix','path','slice','filter','split','LBhFY','byYhl','eYEvJ','[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20','debug','isArray','LWRqg','join','length','warn','push','--reporter','startsWith','2661362bmPvix','string','7280872qYlxXy','oulMS','win32','winstonLogger','fybBq','mergeBrowserstackReporterIntoCliReporterFlag','12aUKvTx','resolve','fRnCO','120236PRKFTe','find','SCjMw','18fpUJXT','JtYoT','3961885UHDlfV','ioPLR','trim','map','cUCDf','CIOqZ','VsWZm'];a55_0x1ae3=function(){return _0x391d11;};return a55_0x1ae3();}const path=require(a55_0x3c3deb(0x94)),{format}=require(a55_0x3c3deb(0xbe)),logger=require(a55_0x3c3deb(0xca))[a55_0x3c3deb(0xaa)],BROWSERSTACK_PW_REPORTER_PATH=path[a55_0x3c3deb(0x9f)](__dirname,a55_0x3c3deb(0xc2)),INLINE_PREFIXES=[a55_0x3c3deb(0x91)],BARE_FLAGS=[a55_0x3c3deb(0xa3)],stripQuotes=_0x6f860a=>{const _0x3f160b=a55_0x3c3deb,_0x996cec={'voJrn':function(_0x33a39d,_0x1c33af){return _0x33a39d(_0x1c33af);},'NsLga':function(_0x38f762,_0x52ede6){return _0x38f762>=_0x52ede6;},'RxGSS':function(_0x193965,_0xfcad75){return _0x193965-_0xfcad75;},'FOSDu':function(_0x12037a,_0x1858f2){return _0x12037a===_0x1858f2;},'sfcxu':function(_0x318cf1,_0x1b164e){return _0x318cf1===_0x1b164e;},'CYyOJ':function(_0x20b47d,_0x33c3b0){return _0x20b47d===_0x33c3b0;}},_0x27c4e0=_0x996cec['voJrn'](String,_0x6f860a);if(_0x996cec[_0x3f160b(0xc9)](_0x27c4e0[_0x3f160b(0xa0)],0x2)){const _0x2676ee=_0x27c4e0[0x0],_0x1277bd=_0x27c4e0[_0x996cec[_0x3f160b(0xcc)](_0x27c4e0[_0x3f160b(0xa0)],0x1)];if(_0x996cec['FOSDu'](_0x2676ee,'\x22')&&_0x996cec['sfcxu'](_0x1277bd,'\x22')||_0x996cec['CYyOJ'](_0x2676ee,'\x27')&&_0x996cec[_0x3f160b(0xbf)](_0x1277bd,'\x27'))return _0x27c4e0[_0x3f160b(0x95)](0x1,-0x1);}return _0x27c4e0;},resolveQuietly=_0x3b1331=>{const _0x48133c=a55_0x3c3deb;try{return path[_0x48133c(0xae)](_0x3b1331);}catch(_0x79929){return null;}},renderValue=(_0x5054a5,_0x566d33)=>{const _0x3e12ae=a55_0x3c3deb,_0x2bdce6={};_0x2bdce6['VsWZm']=function(_0x4d7b97,_0x5827f7){return _0x4d7b97===_0x5827f7;},_0x2bdce6[_0x3e12ae(0xc6)]=_0x3e12ae(0xa9);const _0x50e3bf=_0x2bdce6,_0x29e651=_0x5054a5[_0x3e12ae(0x9f)](',');return _0x50e3bf[_0x3e12ae(0xbb)](_0x566d33,_0x50e3bf[_0x3e12ae(0xc6)])?'\x22'+_0x29e651+'\x22':_0x29e651;},buildMergedList=(_0x32896d,_0x57e379)=>{const _0x5974cf=a55_0x3c3deb,_0x5854e1={'byYhl':function(_0x3f0b27,_0x5f3690){return _0x3f0b27(_0x5f3690);},'oulMS':function(_0xc2bf73,_0x10ab11){return _0xc2bf73===_0x10ab11;}};if(_0x5854e1[_0x5974cf(0x99)](String,_0x57e379)['includes'](','))return null;const _0x2650d9=_0x5854e1[_0x5974cf(0x99)](stripQuotes,_0x32896d)[_0x5974cf(0x97)](',')[_0x5974cf(0xb8)](_0x387fec=>_0x387fec[_0x5974cf(0xb7)]())[_0x5974cf(0x96)](_0x445f5c=>_0x445f5c['length']>0x0);if(_0x5854e1[_0x5974cf(0xa8)](_0x2650d9[_0x5974cf(0xa0)],0x0))return null;const _0x39dfeb=_0x5854e1[_0x5974cf(0x99)](resolveQuietly,_0x57e379),_0x4603ff=_0x2650d9[_0x5974cf(0xc8)](_0xe7e5fd=>_0xe7e5fd===_0x57e379||_0x39dfeb!==null&&resolveQuietly(_0xe7e5fd)===_0x39dfeb);return!_0x4603ff&&_0x2650d9[_0x5974cf(0xa2)](_0x57e379),_0x2650d9;},findLastReporterFlag=_0x5c363d=>{const _0x23b8d7=a55_0x3c3deb,_0x472ce4={};_0x472ce4[_0x23b8d7(0xc5)]=function(_0x184df1,_0x4f0883){return _0x184df1-_0x4f0883;},_0x472ce4[_0x23b8d7(0xab)]=function(_0x3c0e6a,_0x26493a){return _0x3c0e6a>=_0x26493a;},_0x472ce4['LWRqg']=function(_0x370daa,_0x1bc9f1){return _0x370daa!==_0x1bc9f1;},_0x472ce4[_0x23b8d7(0xba)]='string';const _0x517d35=_0x472ce4;for(let _0x33183c=_0x517d35['ICwvm'](_0x5c363d[_0x23b8d7(0xa0)],0x1);_0x517d35['fybBq'](_0x33183c,0x0);_0x33183c--){const _0x3f9621=_0x5c363d[_0x33183c];if(_0x517d35[_0x23b8d7(0x9e)](typeof _0x3f9621,_0x517d35[_0x23b8d7(0xba)]))continue;const _0x20eed6=INLINE_PREFIXES[_0x23b8d7(0xb1)](_0x39f98c=>_0x3f9621[_0x23b8d7(0xa4)](_0x39f98c));if(_0x20eed6){const _0x2c0082={};return _0x2c0082[_0x23b8d7(0xbc)]=_0x33183c,_0x2c0082[_0x23b8d7(0x93)]=_0x20eed6,_0x2c0082;}if(BARE_FLAGS[_0x23b8d7(0xc4)](_0x3f9621)){const _0x49c662={};return _0x49c662[_0x23b8d7(0xbc)]=_0x33183c,_0x49c662[_0x23b8d7(0x93)]=null,_0x49c662;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x67ee9b,_0x2805d0={})=>{const _0x41f431=a55_0x3c3deb,_0x32e3a8={'gxDoe':function(_0x5708ce,_0x2b344b){return _0x5708ce===_0x2b344b;},'AKGVk':function(_0x94bb0c,_0x2753d0){return _0x94bb0c(_0x2753d0);},'eYEvJ':function(_0x3835e4,_0x1d7f83){return _0x3835e4===_0x1d7f83;},'BFRcp':function(_0x25367f,_0x404a05){return _0x25367f+_0x404a05;},'rLrqp':function(_0x593b28,_0x365b5a){return _0x593b28>=_0x365b5a;},'ioPLR':function(_0x3521d2,_0x5144c5){return _0x3521d2!==_0x5144c5;},'SCjMw':_0x41f431(0xa6),'fRnCO':function(_0x56093e,_0x1f5656,_0x37e255){return _0x56093e(_0x1f5656,_0x37e255);},'cUCDf':function(_0xd3acf4,_0x24d8b1){return _0xd3acf4===_0x24d8b1;},'DnDtA':function(_0x1fefed,_0x286c7e,_0x41714d){return _0x1fefed(_0x286c7e,_0x41714d);},'LBhFY':'[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','JtYoT':function(_0x39a64d,_0x148d03){return _0x39a64d(_0x148d03);}};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0x41f431(0xc1)]}=_0x2805d0;if(_0x32e3a8['gxDoe'](enabled,![]))return;if(!Array[_0x41f431(0x9d)](_0x67ee9b))return;const _0x508c5f=_0x32e3a8[_0x41f431(0x90)](findLastReporterFlag,_0x67ee9b);if(_0x32e3a8[_0x41f431(0x9a)](_0x508c5f,null))return;let _0x1e3836,_0x37c0a4;if(_0x508c5f[_0x41f431(0x93)])_0x1e3836=_0x508c5f['flagIdx'],_0x37c0a4=_0x67ee9b[_0x508c5f[_0x41f431(0xbc)]][_0x41f431(0x95)](_0x508c5f[_0x41f431(0x93)][_0x41f431(0xa0)]);else{_0x1e3836=_0x32e3a8['BFRcp'](_0x508c5f[_0x41f431(0xbc)],0x1);if(_0x32e3a8[_0x41f431(0xc7)](_0x1e3836,_0x67ee9b[_0x41f431(0xa0)])||_0x32e3a8[_0x41f431(0xb6)](typeof _0x67ee9b[_0x1e3836],_0x32e3a8[_0x41f431(0xb2)])||_0x67ee9b[_0x1e3836]['startsWith']('-'))return;_0x37c0a4=_0x67ee9b[_0x1e3836];}const _0x2b4242=_0x32e3a8[_0x41f431(0xaf)](buildMergedList,_0x37c0a4,reporterPath);if(_0x32e3a8[_0x41f431(0xb9)](_0x2b4242,null))return;const _0x6861ee=_0x32e3a8[_0x41f431(0xc3)](renderValue,_0x2b4242,platform);_0x67ee9b[_0x1e3836]=_0x508c5f[_0x41f431(0x93)]?''+_0x508c5f[_0x41f431(0x93)]+_0x6861ee:_0x6861ee,logger[_0x41f431(0xa1)](_0x32e3a8[_0x41f431(0x98)]),logger[_0x41f431(0x9c)]('[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20'+_0x67ee9b[_0x1e3836]);}catch(_0x56f729){logger[_0x41f431(0x9c)](_0x41f431(0x9b)+_0x32e3a8[_0x41f431(0xb4)](format,_0x56f729));}},a55_0x1cb1eb={};a55_0x1cb1eb[a55_0x3c3deb(0xac)]=mergeBrowserstackReporterIntoCliReporterFlag,a55_0x1cb1eb[a55_0x3c3deb(0xcd)]=BROWSERSTACK_PW_REPORTER_PATH,module['exports']=a55_0x1cb1eb;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a56_0x2192(){const _0x1b5a49=['4976GFAOrU','shouldWrapCommand','query','_name','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','djnpV','AKqoU','platformDetails','1975445IXXqOI','glPJf','path','testInfo','prototype','deviceModel','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','LeaVe','wgIEx','Yeonf','13APAWjZ','browserName','firefox','PRZps','platformName','connectOptions','../../helpers/accessibility-automation/scripts','titlePath','../../helpers/helper','toLowerCase','chrome','automate','102dPZnmh','mFIii','VUxFd','Page\x20Scan\x20result=','whOtn','gFAlm','zSOMS','_bstackDispatchPatched','zXLht','platform_version','kOosq','qeAdY','getInstance','PLAYWRIGHT','getAutomationFramework','mNdNq','params','test','pyfOp','chromium','_browserType','1253RfZQAx','defineProperty','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','znszh','bstackPerformA11yScan','playwright-','41886BemjsG','DiNNM','MKukl','patchCRConnection','local_grid','tbQmv','reportSessionLinkingIssue','QiAgV','hAXcY','XuIbU','cloudProvider','safari','LYnAX','KuIRl','sessionError','34135764knxele','acAyt','webkit','../../helpers/accessibility-automation/accessibilityRetryHelper.js','debug','__driver','glIOm','HocLN','OElzA','CRConnection','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','./accessibility-helper','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','browserstack','../../helpers/test-observability/error-handler','assign','_onMessage','GCitV','message','Not\x20able\x20to\x20import\x20crConnection','14923nkNKrU','lNPHV','DrYHo','resolve','bStackParams','accessibilityPlatform','RuoKK','BROWSERSTACK_TEST_OBSERVABILITY','pwPage','UcAkv','crConnection.js','performScan','3|1|2|5|0|7|4|6','channel','setupBrowserDetails','lib','PQNnG','version','../../helpers/test-observability/constants','Setting\x20session\x20id\x20received\x20from\x20BS\x20','JsexG','unknown','sessionId','lnldW','SHPIA','playwright','sendMessageToServer','xCTAe','2382pEDZUI','naXpZ','WxISz','ZNUmF','HzjGn','browser','9841048LYiSsT','JsHPO','IpNtC','trackEvent','tdujv','HaAqB','Device\x20Model\x20is\x20not\x20available','CsPju','siTuW','NHQnq','GoQre','resolveConnectionClass','IzhNu','IFexq','_type','env','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','dMNRS','browser_version','compareVersions','url','product','format','kApcQ','apply','__workerDetails','project','bsSessionId','lsZoR','dispatch','ztmSA','hQTXO','POST','../v2/state/hookState.js','parse','currentSessionDetails','pycrl','jpoMl','isRunning','platform','vUVUm','pItdP','IEWKR','exports','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','lmMuT','isRemote','../../helpers/logger','../utils/constants','fromEntries','../../helpers/accessibility-automation/helper','PkVPs','../v2/browserstackCLI','Failed\x20to\x20perform\x20scan\x20','OSueS','krpuq','_connection','15126859wLxzED','bsParams','DPjOv','10uIBXvb','qIbSV','mUIxK','../utils/clientTroubleshootingService.js','9pYbClq','capabilities','1.60.0','bEMpm','function','TSxvc','uEIwL','currentTest','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','model','getFrameworkVersion','use','../../bin/playwright/accessibility-helper','Not\x20able\x20to\x20resolve\x20Connection\x20class','PLAYWRIGHT_DISPATCH','platformVersion','toString','ZYbRy','APttf','Connection','../v2/state/automationFrameworkState.js','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','_defaultConnectOptions','JgqgS','tVlbZ','CxbHP','catch','includes','pBzYU','info','swAmC','lsOMy'];a56_0x2192=function(){return _0x1b5a49;};return a56_0x2192();}const a56_0x577a44=a56_0x3a85;(function(_0x5c5f99,_0x3bae94){const _0xc2721f=a56_0x3a85,_0x13e8d0=_0x5c5f99();while(!![]){try{const _0x2f9ad2=-parseInt(_0xc2721f(0x232))/0x1*(-parseInt(_0xc2721f(0x1f4))/0x2)+parseInt(_0xc2721f(0x170))/0x3*(parseInt(_0xc2721f(0x1d6))/0x4)+parseInt(_0xc2721f(0x1de))/0x5+-parseInt(_0xc2721f(0x20f))/0x6*(-parseInt(_0xc2721f(0x209))/0x7)+-parseInt(_0xc2721f(0x176))/0x8*(parseInt(_0xc2721f(0x1b6))/0x9)+-parseInt(_0xc2721f(0x1b2))/0xa*(-parseInt(_0xc2721f(0x1af))/0xb)+parseInt(_0xc2721f(0x21e))/0xc*(-parseInt(_0xc2721f(0x1e8))/0xd);if(_0x2f9ad2===_0x3bae94)break;else _0x13e8d0['push'](_0x13e8d0['shift']());}catch(_0x3f853e){_0x13e8d0['push'](_0x13e8d0['shift']());}}}(a56_0x2192,0xa9680));const path=require(a56_0x577a44(0x1e0)),url=require(a56_0x577a44(0x18a)),util=require('util'),helper=require(a56_0x577a44(0x1f0)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a56_0x577a44(0x22c)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a56_0x577a44(0x1a8)),{FRAMEWORKS}=require(a56_0x577a44(0x244)),logger=require(a56_0x577a44(0x1a5))['winstonLogger'],scripts=require(a56_0x577a44(0x1ee)),{browserStackExecuteDriver}=require(a56_0x577a44(0x1c2)),AccessibilityHelper=require(a56_0x577a44(0x229)),constants=require(a56_0x577a44(0x1a6)),BrowserstackCLI=require(a56_0x577a44(0x1aa)),AutomationFrameworkState=require(a56_0x577a44(0x1ca)),HookState=require(a56_0x577a44(0x197)),{performScanWithRetry}=require(a56_0x577a44(0x221)),ClientTroubleShootingService=require(a56_0x577a44(0x1b5)),getBrowserNameFromChannel=_0x1470dd=>{const _0x2a9a46=a56_0x577a44,_0x5958e3={};_0x5958e3[_0x2a9a46(0x1c7)]=_0x2a9a46(0x23e),_0x5958e3[_0x2a9a46(0x1df)]=_0x2a9a46(0x1ea),_0x5958e3[_0x2a9a46(0x192)]=_0x2a9a46(0x207),_0x5958e3[_0x2a9a46(0x1d2)]=_0x2a9a46(0x1f2),_0x5958e3['WxISz']=function(_0x79c4c9,_0x191d03){return _0x79c4c9!==_0x191d03;},_0x5958e3['HaAqB']='string',_0x5958e3[_0x2a9a46(0x238)]=function(_0x36845c,_0x1e0887){return _0x36845c===_0x1e0887;},_0x5958e3[_0x2a9a46(0x233)]=_0x2a9a46(0x220),_0x5958e3[_0x2a9a46(0x187)]='edge',_0x5958e3[_0x2a9a46(0x18d)]=_0x2a9a46(0x21a);const _0x45fc0c=_0x5958e3,_0x25d083=_0x45fc0c[_0x2a9a46(0x1c7)]['split']('|');let _0x292491=0x0;while(!![]){switch(_0x25d083[_0x292491++]){case'0':if(_0x1470dd['includes'](_0x45fc0c[_0x2a9a46(0x1df)]))return _0x45fc0c[_0x2a9a46(0x1df)];continue;case'1':if(_0x1470dd[_0x2a9a46(0x1d1)](_0x45fc0c[_0x2a9a46(0x192)]))return _0x45fc0c[_0x2a9a46(0x192)];continue;case'2':if(_0x1470dd[_0x2a9a46(0x1d1)](_0x45fc0c[_0x2a9a46(0x1d2)]))return _0x45fc0c[_0x2a9a46(0x1d2)];continue;case'3':if(!_0x1470dd||_0x45fc0c[_0x2a9a46(0x172)](typeof _0x1470dd,_0x45fc0c[_0x2a9a46(0x17b)]))return _0x45fc0c[_0x2a9a46(0x192)];continue;case'4':if(_0x45fc0c['RuoKK'](_0x1470dd,_0x45fc0c[_0x2a9a46(0x233)]))return _0x45fc0c[_0x2a9a46(0x233)];continue;case'5':if(_0x1470dd['includes'](_0x45fc0c[_0x2a9a46(0x187)]))return _0x45fc0c[_0x2a9a46(0x187)];continue;case'6':return _0x1470dd;case'7':if(_0x1470dd[_0x2a9a46(0x1d1)](_0x45fc0c[_0x2a9a46(0x18d)]))return _0x45fc0c['kApcQ'];continue;}break;}},getBrowserFromWSEndpoint=_0x2304a3=>{const _0x34e210=a56_0x577a44,_0x487354={'PaXrB':_0x34e210(0x1f2),'bEMpm':function(_0x23b864,_0x25645c){return _0x23b864(_0x25645c);}};try{const _0x19526f=url[_0x34e210(0x198)](_0x2304a3),_0x4b9e1a=new URLSearchParams(_0x19526f[_0x34e210(0x1d8)]),_0x4a2529=Object[_0x34e210(0x1a7)](_0x4b9e1a['entries']()),_0x16ac46=JSON[_0x34e210(0x198)](_0x4a2529['caps']);if(_0x16ac46&&(_0x16ac46[_0x34e210(0x175)]||_0x16ac46[_0x34e210(0x1e9)]))return _0x16ac46[_0x34e210(0x175)]||_0x16ac46[_0x34e210(0x1e9)];return _0x487354['PaXrB'];}catch(_0x49c941){_0x487354[_0x34e210(0x1b9)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x49c941[_0x34e210(0x1c6)]());}},getCloudProviderFromWsEndpoint=_0x334037=>{const _0x31b02b=a56_0x577a44,_0x252eb6={};_0x252eb6[_0x31b02b(0x1f5)]='browserstack',_0x252eb6[_0x31b02b(0x17e)]='unknown_grid';const _0x45a5ef=_0x252eb6;if(_0x334037['includes'](constants['BSTACK_URL'])||_0x334037[_0x31b02b(0x1d1)](constants['BSTACK_ATS_URL']))return _0x45a5ef[_0x31b02b(0x1f5)];return _0x45a5ef[_0x31b02b(0x17e)];},a56_0x4b8ece={};a56_0x4b8ece[a56_0x577a44(0x219)]=undefined,a56_0x4b8ece[a56_0x577a44(0x191)]=undefined,a56_0x4b8ece[a56_0x577a44(0x175)]=undefined,a56_0x4b8ece[a56_0x577a44(0x188)]=undefined,a56_0x4b8ece[a56_0x577a44(0x19d)]=undefined,a56_0x4b8ece[a56_0x577a44(0x1fd)]=undefined,a56_0x4b8ece[a56_0x577a44(0x18b)]=undefined,a56_0x4b8ece['capabilities']={};function a56_0x3a85(_0x36de97,_0x21fd38){const _0x21925e=a56_0x2192();return a56_0x3a85=function(_0x3a85d0,_0x1d677f){_0x3a85d0=_0x3a85d0-0x16c;let _0x1d5ea8=_0x21925e[_0x3a85d0];return _0x1d5ea8;},a56_0x3a85(_0x36de97,_0x21fd38);}class PlaywrightSessionDetails{static [a56_0x577a44(0x199)]=a56_0x4b8ece;constructor(){const _0x3d6d68=a56_0x577a44,_0x2a1b00={};_0x2a1b00[_0x3d6d68(0x1f9)]=_0x3d6d68(0x1be);const _0x1c5db4=_0x2a1b00;throw new Error(_0x1c5db4[_0x3d6d68(0x1f9)]);}static [a56_0x577a44(0x21d)]=null;static[a56_0x577a44(0x240)](_0x33d90c,_0x1cf564,_0x331055=null){const _0x5b346a=a56_0x577a44,_0x11db65={'OElzA':_0x5b346a(0x1a2),'hQTXO':function(_0x40d4b0){return _0x40d4b0();},'IEWKR':_0x5b346a(0x22b),'znszh':_0x5b346a(0x213),'KKRvo':_0x5b346a(0x16d),'LeaVe':_0x5b346a(0x247),'tFhRv':function(_0x27ffd3,_0x21325f){return _0x27ffd3===_0x21325f;},'swAmC':_0x5b346a(0x1ba),'djnpV':_0x5b346a(0x1da),'UcAkv':function(_0x536c24,_0x1af9ba){return _0x536c24===_0x1af9ba;},'lnldW':_0x5b346a(0x17c),'IpNtC':function(_0xb078bf,_0x50fb5a,_0x543ca7){return _0xb078bf(_0x50fb5a,_0x543ca7);},'DPjOv':_0x5b346a(0x208),'jpoMl':_0x5b346a(0x1cc),'JsHPO':function(_0x58688c,_0x27dbad,_0x341a16){return _0x58688c(_0x27dbad,_0x341a16);},'CsPju':'project','tVlbZ':_0x5b346a(0x1c1),'DiNNM':_0x5b346a(0x1ed),'mUIxK':function(_0x4bbe16,_0x1dfb8d){return _0x4bbe16(_0x1dfb8d);},'erBnu':'turboscale','naXpZ':_0x5b346a(0x1f3),'AKqoU':function(_0x2a52e6,_0x2adf82){return _0x2a52e6(_0x2adf82);},'psBhD':function(_0xd6646a){return _0xd6646a();},'SHPIA':function(_0x5bc5b1,_0x3fdd6b){return _0x5bc5b1&&_0x3fdd6b;},'zSOMS':function(_0x45d271){return _0x45d271();},'KuIRl':function(_0x1314d4,_0x5b7fc3){return _0x1314d4(_0x5b7fc3);},'QiAgV':function(_0x4602c4,_0x26206f){return _0x4602c4+_0x26206f;},'SHoqG':_0x5b346a(0x20e),'qIbSV':function(_0x1a259b,_0x499bde){return _0x1a259b||_0x499bde;},'CxbHP':function(_0x510bdb){return _0x510bdb();},'JsexG':function(_0x7eee7d,_0x4dbc87,_0x430c9c){return _0x7eee7d(_0x4dbc87,_0x430c9c);},'NHQnq':'setupBrowserDetails'},_0x2eb6b4=this;return _0x11db65[_0x5b346a(0x246)](o11yErrorHandler,async function _0x4ff00f(_0x112970,_0x3317b2,_0x63680d=null){const _0x4fdbb4=_0x5b346a;if(!_0x112970){logger[_0x4fdbb4(0x222)](_0x11db65[_0x4fdbb4(0x226)]),_0x2eb6b4[_0x4fdbb4(0x199)]=Object[_0x4fdbb4(0x22d)]({},_0x2eb6b4['currentSessionDetails'],{'cloudProvider':_0x11db65[_0x4fdbb4(0x195)](isBrowserstackInfra)?_0x11db65[_0x4fdbb4(0x1a0)]:_0x11db65[_0x4fdbb4(0x20c)],'browser':_0x11db65['KKRvo'],'browser_version':_0x11db65[_0x4fdbb4(0x1e5)]});return;}let _0x5a23a6=_0x112970[_0x4fdbb4(0x1d9)],_0x1475fd=null;_0x112970&&_0x11db65['tFhRv'](typeof _0x112970[_0x4fdbb4(0x243)],_0x11db65[_0x4fdbb4(0x1d4)])?_0x1475fd=_0x112970[_0x4fdbb4(0x243)]():logger[_0x4fdbb4(0x222)](_0x11db65[_0x4fdbb4(0x1db)]);let _0x3b836d=null;_0x112970&&_0x11db65[_0x4fdbb4(0x23b)](typeof _0x112970[_0x4fdbb4(0x1bf)],_0x11db65[_0x4fdbb4(0x1d4)])?_0x3b836d=_0x112970['model']():logger[_0x4fdbb4(0x222)](_0x11db65[_0x4fdbb4(0x249)]);let _0x4d7889=null,_0x38dce9=null,_0x20ecf6=null,_0x274868=_0x11db65['znszh'];const _0x1a94fb=_0x112970[_0x4fdbb4(0x1ae)]&&_0x11db65['UcAkv'](typeof _0x112970[_0x4fdbb4(0x1ae)][_0x4fdbb4(0x1a4)],_0x11db65[_0x4fdbb4(0x1d4)])?_0x112970[_0x4fdbb4(0x1ae)][_0x4fdbb4(0x1a4)]():![];if(_0x1a94fb||global[_0x4fdbb4(0x237)]&&!process[_0x4fdbb4(0x185)][_0x4fdbb4(0x228)]){let _0x4bcf03=null;_0x11db65[_0x4fdbb4(0x178)](nestedKeyValue,_0x112970,[_0x11db65[_0x4fdbb4(0x1b1)],_0x11db65[_0x4fdbb4(0x19b)]])?_0x4bcf03=_0x112970[_0x4fdbb4(0x208)][_0x4fdbb4(0x1cc)]:_0x4bcf03=_0x11db65[_0x4fdbb4(0x177)](nestedKeyValue,_0x3317b2,[_0x11db65[_0x4fdbb4(0x17d)],_0x11db65[_0x4fdbb4(0x1ce)],_0x11db65[_0x4fdbb4(0x210)]]);const _0x1a75bb=_0x63680d||_0x4bcf03&&_0x4bcf03['wsEndpoint'];if(_0x1a75bb){_0x274868=_0x11db65[_0x4fdbb4(0x1b4)](getCloudProviderFromWsEndpoint,_0x1a75bb);if(_0x11db65[_0x4fdbb4(0x23b)](_0x274868,_0x11db65[_0x4fdbb4(0x1a0)]))_0x20ecf6=constants['ATS_WSS_URL_REGEX'][_0x4fdbb4(0x205)](_0x1a75bb)?_0x11db65['erBnu']:_0x11db65[_0x4fdbb4(0x171)],_0x5a23a6=_0x11db65[_0x4fdbb4(0x1dc)](getBrowserFromWSEndpoint,_0x1a75bb)||_0x5a23a6,_0x4d7889=_0x2eb6b4['currentSessionDetails'][_0x4fdbb4(0x19d)],_0x38dce9=_0x2eb6b4['currentSessionDetails'][_0x4fdbb4(0x1fd)];else{const _0x262c77=await _0x11db65['psBhD'](getPlatformDetails);_0x4d7889=_0x262c77[_0x4fdbb4(0x1ec)],_0x38dce9=_0x262c77[_0x4fdbb4(0x1c5)];}}if(_0x11db65[_0x4fdbb4(0x16c)](!_0x4d7889,!_0x38dce9)&&!_0x11db65[_0x4fdbb4(0x1fa)](isBrowserstackInfra)){const _0x62e9af=await _0x11db65['zSOMS'](getPlatformDetails);_0x4d7889=_0x62e9af[_0x4fdbb4(0x1ec)],_0x38dce9=_0x62e9af[_0x4fdbb4(0x1c5)];}}else{_0x3317b2&&_0x3317b2[_0x4fdbb4(0x190)]['use'][_0x4fdbb4(0x23f)]?_0x5a23a6=_0x11db65[_0x4fdbb4(0x21c)](getBrowserNameFromChannel,_0x3317b2[_0x4fdbb4(0x190)]['use'][_0x4fdbb4(0x23f)]):_0x5a23a6=_0x11db65[_0x4fdbb4(0x216)](_0x11db65['SHoqG'],_0x11db65[_0x4fdbb4(0x1b3)](_0x5a23a6,_0x11db65[_0x4fdbb4(0x1e5)])[_0x4fdbb4(0x1f1)]());const _0x3fe5be=await _0x11db65[_0x4fdbb4(0x1cf)](getPlatformDetails);_0x4d7889=_0x3fe5be['platformName'],_0x38dce9=_0x3fe5be['platformVersion'];}const _0x527e53={};_0x527e53[_0x4fdbb4(0x175)]=_0x5a23a6,_0x527e53[_0x4fdbb4(0x188)]=_0x1475fd,_0x527e53[_0x4fdbb4(0x1b7)]={},_0x527e53[_0x4fdbb4(0x19d)]=_0x4d7889,_0x527e53[_0x4fdbb4(0x1fd)]=_0x38dce9,_0x527e53['product']=_0x20ecf6;const _0x44c727=_0x527e53;_0x3b836d&&(_0x44c727['capabilities'][_0x4fdbb4(0x1e3)]=_0x3b836d);const _0x52aae3={};_0x52aae3[_0x4fdbb4(0x219)]=_0x274868,_0x2eb6b4[_0x4fdbb4(0x199)]=Object[_0x4fdbb4(0x22d)]({},_0x2eb6b4[_0x4fdbb4(0x199)],_0x52aae3,_0x44c727);},_0x11db65[_0x5b346a(0x17f)])(_0x33d90c,_0x1cf564,_0x331055);}static['patch'](){this['patchConnection'](),this['patchCRConnection']();}static['patchConnection'](){const _0x454a3b=a56_0x577a44,_0x23245a={'ztmSA':function(_0x34d28f,_0x486131,_0x2a3fd5){return _0x34d28f(_0x486131,_0x2a3fd5);},'pycrl':_0x454a3b(0x1bd),'DrYHo':'testInfo','uEIwL':'titlePath','IFexq':function(_0x1fb1ae,_0xf93239,_0x25dd6b){return _0x1fb1ae(_0xf93239,_0x25dd6b);},'VUxFd':_0x454a3b(0x18f),'lsOMy':_0x454a3b(0x23a),'hAXcY':function(_0x596280,_0x56f673){return _0x596280===_0x56f673;},'GoQre':'Page','xTuoe':function(_0x2ae039,_0x4c2eb8,_0xf1d1c8,_0x1c978e){return _0x2ae039(_0x4c2eb8,_0xf1d1c8,_0x1c978e);},'glIOm':function(_0x4667a0,_0x3f7dbd){return _0x4667a0||_0x3f7dbd;},'PQNnG':function(_0x526d9d,_0x3fb024){return _0x526d9d(_0x3fb024);},'Yeonf':function(_0x5a04ed,_0x69aef8){return _0x5a04ed(_0x69aef8);},'GCitV':function(_0x5a6965,_0x199bbb){return _0x5a6965(_0x199bbb);},'acAyt':_0x454a3b(0x1c3),'APttf':function(_0x128a5e,_0x1bb515){return _0x128a5e!=_0x1bb515;},'TSxvc':function(_0x15da53,_0x12abaa){return _0x15da53!=_0x12abaa;},'ZNUmF':function(_0x198212){return _0x198212();},'zXLht':'sendMessageToServer','vhTQG':function(_0x3b86ea,_0x4550ab){return _0x3b86ea(_0x4550ab);},'WYkIH':'dispatch','vUVUm':'Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)'},_0x54223f=this;!this[_0x454a3b(0x1c9)]&&(this['Connection']=helper[_0x454a3b(0x181)](),!this[_0x454a3b(0x1c9)]&&_0x23245a[_0x454a3b(0x22f)](debug,_0x23245a[_0x454a3b(0x21f)]));const _0x2d8d0a=this[_0x454a3b(0x1c9)];if(_0x23245a[_0x454a3b(0x1c8)](_0x2d8d0a,null)&&_0x2d8d0a[_0x454a3b(0x1e2)][_0x454a3b(0x1fb)])return;try{if(_0x23245a[_0x454a3b(0x1bb)](_0x2d8d0a,null)){const _0x1300cb=_0x2d8d0a['prototype'][_0x454a3b(0x193)],_0x245af8=_0x2d8d0a[_0x454a3b(0x1e2)][_0x454a3b(0x16e)];_0x23245a[_0x454a3b(0x173)](isAccessibilityAutomationSession)&&Object[_0x454a3b(0x20a)](_0x2d8d0a['prototype'],_0x23245a[_0x454a3b(0x1fc)],{'get':function(){const _0x4173ed=_0x454a3b,_0x10275f={'lmMuT':function(_0x3b3efb,_0x358ddc,_0x32cea1){const _0xf1ee26=a56_0x3a85;return _0x23245a[_0xf1ee26(0x194)](_0x3b3efb,_0x358ddc,_0x32cea1);},'Tphar':_0x23245a[_0x4173ed(0x19a)],'KGova':_0x23245a[_0x4173ed(0x234)],'krpuq':_0x23245a[_0x4173ed(0x1bc)],'pyfOp':function(_0x1b1b62,_0x4df132,_0x39b1bf){return _0x23245a['IFexq'](_0x1b1b62,_0x4df132,_0x39b1bf);},'HzjGn':_0x23245a[_0x4173ed(0x1f6)],'IzhNu':_0x23245a[_0x4173ed(0x1d5)],'mxGvI':function(_0x2f7b49,_0x501527,_0x27c28b){const _0x347f81=_0x4173ed;return _0x23245a[_0x347f81(0x183)](_0x2f7b49,_0x501527,_0x27c28b);},'kOosq':function(_0x576e23,_0x1ac8f0){const _0x2a2fd7=_0x4173ed;return _0x23245a[_0x2a2fd7(0x217)](_0x576e23,_0x1ac8f0);},'lYOiX':_0x23245a[_0x4173ed(0x180)],'MKukl':function(_0x12b3aa,_0x1725c3,_0x3689d1,_0x2a1467){return _0x23245a['xTuoe'](_0x12b3aa,_0x1725c3,_0x3689d1,_0x2a1467);}};return async function(){const _0x2ae733=_0x4173ed;try{if(!global[_0x2ae733(0x20d)]&&global['accessibilityPlatform']&&_0x10275f[_0x2ae733(0x1a3)](nestedKeyValue,global[_0x2ae733(0x18f)],[_0x10275f['Tphar'],_0x10275f['KGova'],_0x10275f[_0x2ae733(0x1ad)]])&&_0x10275f[_0x2ae733(0x206)](shouldScanTestForAccessibility,global[_0x2ae733(0x18f)][_0x2ae733(0x1bd)][_0x2ae733(0x1e1)][_0x2ae733(0x1ef)],!![])&&scripts[_0x2ae733(0x1d7)](arguments[0x1])){logger[_0x2ae733(0x222)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x2ae733(0x20d)]=!![];const _0x1899f5=_0x10275f['pyfOp'](nestedKeyValue,global,[_0x10275f[_0x2ae733(0x174)],_0x10275f[_0x2ae733(0x182)]]);_0x1899f5&&logger[_0x2ae733(0x1d3)](_0x2ae733(0x1f7)+util[_0x2ae733(0x18c)](await _0x10275f['mxGvI'](performScanWithRetry,_0x1899f5,arguments[0x1]))),_0x10275f[_0x2ae733(0x1fe)](arguments[0x0][_0x2ae733(0x184)],_0x10275f['lYOiX'])&&global[_0x2ae733(0x223)]&&logger[_0x2ae733(0x1d3)]('Driver\x20Scan\x20result='+util[_0x2ae733(0x18c)](await _0x10275f[_0x2ae733(0x211)](performScanWithRetry,global[_0x2ae733(0x223)],arguments[0x1],scripts[_0x2ae733(0x23d)])));}}catch(_0x4ee7e7){logger['debug'](_0x2ae733(0x1ab)+util[_0x2ae733(0x18c)](_0x4ee7e7));}return global[_0x2ae733(0x20d)]=![],_0x245af8[_0x2ae733(0x18e)](this,arguments);};}}),!_0x23245a['vhTQG'](isFalse,process[_0x454a3b(0x185)][_0x454a3b(0x239)])&&Object[_0x454a3b(0x20a)](_0x2d8d0a[_0x454a3b(0x1e2)],_0x23245a['WYkIH'],{'get':function(){const _0x2bf4ce={'BHnmv':function(_0x25c783,_0x517bc2){const _0x19b7c6=a56_0x3a85;return _0x23245a[_0x19b7c6(0x224)](_0x25c783,_0x517bc2);},'xCTAe':function(_0x5156b8,_0x53d0e4){const _0xcc1b1=a56_0x3a85;return _0x23245a[_0xcc1b1(0x242)](_0x5156b8,_0x53d0e4);},'OSueS':function(_0x1049c6,_0x260db4){const _0x44a4cf=a56_0x3a85;return _0x23245a[_0x44a4cf(0x1e7)](_0x1049c6,_0x260db4);},'HocLN':function(_0x1c57d5,_0x56990b){const _0x3d18e3=a56_0x3a85;return _0x23245a[_0x3d18e3(0x22f)](_0x1c57d5,_0x56990b);}};return function _0x7e5d42(_0xa2f95a){const _0x50b942=a56_0x3a85,_0x2e3d75=_0x1300cb[_0x50b942(0x18e)](this,arguments);try{if(BrowserstackCLI[_0x50b942(0x200)]()[_0x50b942(0x19c)]()){const _0x5b306a={};_0x5b306a[_0x50b942(0x230)]=_0xa2f95a,Promise[_0x50b942(0x235)](BrowserstackCLI[_0x50b942(0x200)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x50b942(0x1c4)],HookState[_0x50b942(0x196)],_0x5b306a))[_0x50b942(0x1d0)](()=>{});}else{const _0x438ae7=_0xa2f95a&&_0xa2f95a['params']&&_0xa2f95a[_0x50b942(0x204)][_0x50b942(0x1b0)];if(_0x438ae7){const _0x305610=_0x438ae7[_0x50b942(0x248)],_0x461b37=_0x438ae7[_0x50b942(0x1dd)];_0x2bf4ce['BHnmv'](!_0x305610,!_0x461b37)&&Promise[_0x50b942(0x235)](ClientTroubleShootingService[_0x50b942(0x215)]())[_0x50b942(0x1d0)](()=>{}),_0x461b37&&(_0x2bf4ce[_0x50b942(0x16f)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x461b37['toString']()),_0x54223f['currentSessionDetails']['platform']=_0x461b37[_0x50b942(0x1ec)],_0x54223f[_0x50b942(0x199)][_0x50b942(0x1fd)]=_0x461b37['platformVersion']),_0x305610&&(_0x2bf4ce[_0x50b942(0x1ac)](debug,_0x50b942(0x245)+_0x305610),_0x54223f[_0x50b942(0x199)][_0x50b942(0x191)]=_0x305610);}}}catch(_0x1f9075){_0x2bf4ce[_0x50b942(0x225)](debug,_0x50b942(0x186)+(_0x1f9075&&_0x1f9075[_0x50b942(0x1c6)]?_0x1f9075[_0x50b942(0x1c6)]():_0x1f9075));}return _0x2e3d75;};}}),_0x2d8d0a[_0x454a3b(0x1e2)]['_bstackDispatchPatched']=!![],logger[_0x454a3b(0x222)](_0x23245a[_0x454a3b(0x19e)]);}}catch(_0x24d691){_0x23245a[_0x454a3b(0x22f)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x24d691),_0x54223f['sessionError']=_0x24d691[_0x454a3b(0x1c6)]();}}static[a56_0x577a44(0x212)](){const _0x327973=a56_0x577a44,_0x5391c9={'qeAdY':function(_0x51bd7b,_0x241c60){return _0x51bd7b(_0x241c60);},'snSwj':function(_0x317624){return _0x317624();},'wgIEx':function(_0x315901,_0xaca450){return _0x315901>=_0xaca450;},'pItdP':_0x327973(0x1b8),'PRZps':function(_0x59606f,_0x237423){return _0x59606f(_0x237423);},'tdujv':_0x327973(0x22a),'qpHAU':_0x327973(0x241),'JgqgS':'server','mNdNq':_0x327973(0x207),'hBEUZ':_0x327973(0x23c),'whOtn':function(_0x216ab1,_0x33108c){return _0x216ab1(_0x33108c);},'LYnAX':_0x327973(0x231),'tbQmv':function(_0x4b3ff1,_0x7917aa){return _0x4b3ff1(_0x7917aa);},'PkVPs':'Error\x20in\x20importing\x20crConnection','LXXFS':function(_0x55d38a,_0x248ed5){return _0x55d38a!=_0x248ed5;},'XuIbU':_0x327973(0x22e)},_0xde577a=this;if(_0x5391c9['snSwj'](isAccessibilityAutomationSession)){let _0x4c7151=null,_0x22ce94=![];try{const _0x1be4f2=helper[_0x327973(0x1c0)](FRAMEWORKS[_0x327973(0x201)]);_0x22ce94=_0x5391c9[_0x327973(0x1e6)](helper[_0x327973(0x189)](_0x1be4f2,_0x5391c9[_0x327973(0x19f)]),0x0);}catch(_0x45e309){_0x5391c9['PRZps'](debug,_0x327973(0x1cb)+_0x45e309[_0x327973(0x1c6)]());}if(_0x22ce94)_0x5391c9[_0x327973(0x1eb)](debug,_0x5391c9[_0x327973(0x17a)]);else try{const _0x29f5ae=path['join'](_0x5391c9['qpHAU'],_0x5391c9[_0x327973(0x1cd)],_0x5391c9[_0x327973(0x203)],_0x5391c9['hBEUZ']),_0xbaf889=_0x5391c9['qeAdY'](importFileFromPWCore,_0x29f5ae);!_0xbaf889?_0x5391c9[_0x327973(0x1f8)](debug,_0x5391c9[_0x327973(0x21b)]):_0x4c7151=_0xbaf889[_0x327973(0x227)];}catch(_0x5de088){_0x5391c9[_0x327973(0x214)](debug,_0x5391c9[_0x327973(0x1a9)]);}try{if(_0x5391c9['LXXFS'](_0x4c7151,null)){const _0x4dc8d3=_0x4c7151[_0x327973(0x1e2)][_0x327973(0x22e)];Object[_0x327973(0x20a)](_0x4c7151['prototype'],_0x5391c9[_0x327973(0x218)],{'get':function(){return async function _0x517010(_0x26a522){const _0x57e59d=a56_0x3a85;try{if(BrowserstackCLI[_0x57e59d(0x200)]()[_0x57e59d(0x19c)]()){const _0x2bb932={};_0x2bb932[_0x57e59d(0x230)]=_0x26a522,await BrowserstackCLI[_0x57e59d(0x200)]()[_0x57e59d(0x202)]()[_0x57e59d(0x179)](AutomationFrameworkState[_0x57e59d(0x1c4)],HookState[_0x57e59d(0x196)],_0x2bb932),delete _0x26a522[_0x57e59d(0x236)];}else{const _0x332114=_0x26a522[_0x57e59d(0x236)];if(_0x332114){delete _0x26a522[_0x57e59d(0x236)];const _0x13f265=_0x332114['sessionId'],_0x3db2f5=_0x332114[_0x57e59d(0x1dd)];_0x3db2f5&&(_0x5391c9[_0x57e59d(0x1ff)](debug,_0x57e59d(0x1e4)+_0x3db2f5['toString']()),_0xde577a[_0x57e59d(0x199)][_0x57e59d(0x19d)]=_0x3db2f5['platformName'],_0xde577a['currentSessionDetails'][_0x57e59d(0x1fd)]=_0x3db2f5[_0x57e59d(0x1c5)]),_0x13f265&&(_0x5391c9['qeAdY'](debug,_0x57e59d(0x20b)+_0x13f265),_0xde577a['currentSessionDetails'][_0x57e59d(0x191)]=_0x13f265);}}}catch(_0x4006df){_0x5391c9['qeAdY'](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x4006df[_0x57e59d(0x1c6)]());}return _0x4dc8d3[_0x57e59d(0x18e)](this,arguments);};}});}}catch(_0x4c5227){_0x5391c9['qeAdY'](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x4c5227),_0xde577a['sessionError']=_0x4c5227[_0x327973(0x1c6)]();}}}static['getDetails'](){const _0x1fa0d9=a56_0x577a44;return this[_0x1fa0d9(0x199)];}}module[a56_0x577a44(0x1a1)]=PlaywrightSessionDetails;
|
|
1
|
+
const a56_0x5c0990=a56_0x49a1;(function(_0x1e2f7e,_0xba55b9){const _0x1e20bb=a56_0x49a1,_0x3987e1=_0x1e2f7e();while(!![]){try{const _0x4b6c2e=parseInt(_0x1e20bb(0x1f6))/0x1*(-parseInt(_0x1e20bb(0x1bb))/0x2)+parseInt(_0x1e20bb(0x192))/0x3*(parseInt(_0x1e20bb(0x170))/0x4)+-parseInt(_0x1e20bb(0x18e))/0x5*(-parseInt(_0x1e20bb(0x1b7))/0x6)+-parseInt(_0x1e20bb(0x167))/0x7+parseInt(_0x1e20bb(0x131))/0x8*(parseInt(_0x1e20bb(0x1c3))/0x9)+parseInt(_0x1e20bb(0x156))/0xa*(-parseInt(_0x1e20bb(0x18f))/0xb)+parseInt(_0x1e20bb(0x1f4))/0xc;if(_0x4b6c2e===_0xba55b9)break;else _0x3987e1['push'](_0x3987e1['shift']());}catch(_0x438c51){_0x3987e1['push'](_0x3987e1['shift']());}}}(a56_0x3c00,0x96d40));const path=require(a56_0x5c0990(0x185)),url=require(a56_0x5c0990(0x1b2)),util=require('util'),helper=require(a56_0x5c0990(0x1c4)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a56_0x5c0990(0x1c4)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a56_0x5c0990(0x1df)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a56_0x5c0990(0x153)),{FRAMEWORKS}=require(a56_0x5c0990(0x1e3)),logger=require(a56_0x5c0990(0x135))[a56_0x5c0990(0x1af)],scripts=require(a56_0x5c0990(0x1b8)),{browserStackExecuteDriver}=require(a56_0x5c0990(0x150)),AccessibilityHelper=require(a56_0x5c0990(0x1be)),constants=require(a56_0x5c0990(0x179)),BrowserstackCLI=require(a56_0x5c0990(0x193)),AutomationFrameworkState=require(a56_0x5c0990(0x18a)),HookState=require(a56_0x5c0990(0x186)),{performScanWithRetry}=require(a56_0x5c0990(0x132)),ClientTroubleShootingService=require(a56_0x5c0990(0x152)),getBrowserNameFromChannel=_0x3f3337=>{const _0x543de5=a56_0x5c0990,_0x50359a={};_0x50359a[_0x543de5(0x1f9)]=_0x543de5(0x136),_0x50359a[_0x543de5(0x19a)]=_0x543de5(0x1aa),_0x50359a[_0x543de5(0x12f)]=_0x543de5(0x14e),_0x50359a[_0x543de5(0x195)]=_0x543de5(0x1cd),_0x50359a[_0x543de5(0x17f)]=function(_0xb22880,_0x58da64){return _0xb22880===_0x58da64;},_0x50359a['OznlM']=_0x543de5(0x1ce),_0x50359a[_0x543de5(0x1cb)]=function(_0x392e45,_0xc19827){return _0x392e45!==_0xc19827;},_0x50359a[_0x543de5(0x1b5)]=_0x543de5(0x1ea),_0x50359a[_0x543de5(0x1a3)]='chromium',_0x50359a[_0x543de5(0x183)]='edge';const _0x1ce0b2=_0x50359a,_0x323e36=_0x1ce0b2['oJpZd'][_0x543de5(0x15b)]('|');let _0x39c5fe=0x0;while(!![]){switch(_0x323e36[_0x39c5fe++]){case'0':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x19a)]))return _0x1ce0b2[_0x543de5(0x19a)];continue;case'1':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x12f)]))return _0x1ce0b2[_0x543de5(0x12f)];continue;case'2':if(_0x3f3337['includes'](_0x1ce0b2[_0x543de5(0x195)]))return _0x1ce0b2['TcMiy'];continue;case'3':if(_0x1ce0b2[_0x543de5(0x17f)](_0x3f3337,_0x1ce0b2[_0x543de5(0x1b6)]))return _0x1ce0b2[_0x543de5(0x1b6)];continue;case'4':return _0x3f3337;case'5':if(!_0x3f3337||_0x1ce0b2[_0x543de5(0x1cb)](typeof _0x3f3337,_0x1ce0b2['UXwha']))return _0x1ce0b2[_0x543de5(0x1a3)];continue;case'6':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x1a3)]))return _0x1ce0b2[_0x543de5(0x1a3)];continue;case'7':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x183)]))return _0x1ce0b2[_0x543de5(0x183)];continue;}break;}},getBrowserFromWSEndpoint=_0x3dba06=>{const _0x4034d9=a56_0x5c0990,_0x2a24f7={'PpuHi':_0x4034d9(0x14e),'yWgAU':function(_0x6bee89,_0x3cda7a){return _0x6bee89(_0x3cda7a);}};try{const _0x896ee1=url[_0x4034d9(0x1d2)](_0x3dba06),_0x3520bc=new URLSearchParams(_0x896ee1['query']),_0x5da334=Object[_0x4034d9(0x172)](_0x3520bc[_0x4034d9(0x12d)]()),_0xe83dd9=JSON[_0x4034d9(0x1d2)](_0x5da334[_0x4034d9(0x1b0)]);if(_0xe83dd9&&(_0xe83dd9['browser']||_0xe83dd9[_0x4034d9(0x168)]))return _0xe83dd9['browser']||_0xe83dd9[_0x4034d9(0x168)];return _0x2a24f7['PpuHi'];}catch(_0x528d6f){_0x2a24f7[_0x4034d9(0x1ee)](debug,_0x4034d9(0x1fa)+_0x528d6f[_0x4034d9(0x1ec)]());}},getCloudProviderFromWsEndpoint=_0x54debc=>{const _0x5e4b6a=a56_0x5c0990,_0x5835d2={};_0x5835d2[_0x5e4b6a(0x1f8)]=_0x5e4b6a(0x1bf),_0x5835d2[_0x5e4b6a(0x1cf)]='unknown_grid';const _0x36c7e3=_0x5835d2;if(_0x54debc[_0x5e4b6a(0x188)](constants[_0x5e4b6a(0x1b4)])||_0x54debc['includes'](constants[_0x5e4b6a(0x138)]))return _0x36c7e3[_0x5e4b6a(0x1f8)];return _0x36c7e3[_0x5e4b6a(0x1cf)];},a56_0x2742a3={};a56_0x2742a3[a56_0x5c0990(0x1f7)]=undefined,a56_0x2742a3[a56_0x5c0990(0x154)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1ff)]=undefined,a56_0x2742a3['browser_version']=undefined,a56_0x2742a3[a56_0x5c0990(0x189)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1a9)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1d6)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1d0)]={};class PlaywrightSessionDetails{static [a56_0x5c0990(0x139)]=a56_0x2742a3;constructor(){const _0xc7d4ab=a56_0x5c0990,_0xaf75e7={};_0xaf75e7[_0xc7d4ab(0x148)]=_0xc7d4ab(0x1a8);const _0x92c0ca=_0xaf75e7;throw new Error(_0x92c0ca[_0xc7d4ab(0x148)]);}static [a56_0x5c0990(0x1ae)]=null;static[a56_0x5c0990(0x162)](_0xa7b2e6,_0x3644ec,_0x5686f7=null){const _0x2aa03c=a56_0x5c0990,_0x5137f4={'AuREj':_0x2aa03c(0x1c7),'TOXLm':function(_0x1a8129){return _0x1a8129();},'EofqA':_0x2aa03c(0x1bf),'fikZN':'local_grid','wcTer':_0x2aa03c(0x1ac),'nfoTw':_0x2aa03c(0x1ca),'ptliZ':function(_0x69697c,_0xe62f5e){return _0x69697c===_0xe62f5e;},'pWiuO':_0x2aa03c(0x1e7),'tVhZx':_0x2aa03c(0x159),'kCXDN':_0x2aa03c(0x16a),'EDXig':function(_0x4c9352,_0x3764b1){return _0x4c9352===_0x3764b1;},'WWxEv':function(_0x1e1976,_0x56d82a,_0x47c8ad){return _0x1e1976(_0x56d82a,_0x47c8ad);},'RlQyq':_0x2aa03c(0x1d3),'vGLjM':'_defaultConnectOptions','WTWsV':'project','TVXAB':_0x2aa03c(0x1dc),'OzgMU':_0x2aa03c(0x173),'mJPFj':function(_0x4e2e93,_0x58e457){return _0x4e2e93(_0x58e457);},'zPOZy':_0x2aa03c(0x1c5),'HAkdf':'automate','LqTEN':function(_0x57f19a,_0x43505e){return _0x57f19a(_0x43505e);},'LgTQm':function(_0x415b75){return _0x415b75();},'OYhuN':function(_0x5aad5a,_0x2372ae){return _0x5aad5a&&_0x2372ae;},'GgUKp':function(_0x519cab){return _0x519cab();},'lzczA':function(_0x5c7fdf,_0xc92af2){return _0x5c7fdf+_0xc92af2;},'HUntT':_0x2aa03c(0x1db),'qbppo':function(_0x127bd4,_0x94c280){return _0x127bd4||_0x94c280;},'RocdW':function(_0x51cf7a,_0x4e465c,_0x589fbe){return _0x51cf7a(_0x4e465c,_0x589fbe);},'hHfZF':_0x2aa03c(0x162)},_0x10f984=this;return _0x5137f4[_0x2aa03c(0x146)](o11yErrorHandler,async function _0x35cb5a(_0x250fd1,_0x34f539,_0x42100b=null){const _0x3b7132=_0x2aa03c;if(!_0x250fd1){logger[_0x3b7132(0x1d4)](_0x5137f4[_0x3b7132(0x196)]),_0x10f984['currentSessionDetails']=Object[_0x3b7132(0x147)]({},_0x10f984[_0x3b7132(0x139)],{'cloudProvider':_0x5137f4[_0x3b7132(0x12e)](isBrowserstackInfra)?_0x5137f4[_0x3b7132(0x143)]:_0x5137f4['fikZN'],'browser':_0x5137f4[_0x3b7132(0x1ef)],'browser_version':_0x5137f4[_0x3b7132(0x137)]});return;}let _0x388356=_0x250fd1[_0x3b7132(0x1f1)],_0xa66a4=null;_0x250fd1&&_0x5137f4[_0x3b7132(0x18b)](typeof _0x250fd1['version'],_0x5137f4['pWiuO'])?_0xa66a4=_0x250fd1['version']():logger[_0x3b7132(0x1d4)](_0x5137f4[_0x3b7132(0x160)]);let _0x3bfad1=null;_0x250fd1&&_0x5137f4[_0x3b7132(0x18b)](typeof _0x250fd1[_0x3b7132(0x1b1)],_0x5137f4['pWiuO'])?_0x3bfad1=_0x250fd1[_0x3b7132(0x1b1)]():logger[_0x3b7132(0x1d4)](_0x5137f4[_0x3b7132(0x16e)]);let _0x437ad3=null,_0xc6ba27=null,_0x5cbe6e=null,_0x112621=_0x5137f4['fikZN'];const _0x5bb06a=_0x250fd1[_0x3b7132(0x16f)]&&_0x5137f4[_0x3b7132(0x1d1)](typeof _0x250fd1['_connection'][_0x3b7132(0x181)],_0x5137f4[_0x3b7132(0x191)])?_0x250fd1[_0x3b7132(0x16f)][_0x3b7132(0x181)]():![];if(_0x5bb06a||global[_0x3b7132(0x18d)]&&!process[_0x3b7132(0x13a)][_0x3b7132(0x1e0)]){let _0x232b17=null;_0x5137f4[_0x3b7132(0x171)](nestedKeyValue,_0x250fd1,[_0x5137f4[_0x3b7132(0x16c)],_0x5137f4[_0x3b7132(0x17c)]])?_0x232b17=_0x250fd1['_browserType'][_0x3b7132(0x14f)]:_0x232b17=_0x5137f4[_0x3b7132(0x171)](nestedKeyValue,_0x34f539,[_0x5137f4[_0x3b7132(0x169)],_0x5137f4[_0x3b7132(0x175)],_0x5137f4[_0x3b7132(0x177)]]);const _0x51fb45=_0x42100b||_0x232b17&&_0x232b17[_0x3b7132(0x1c2)];if(_0x51fb45){_0x112621=_0x5137f4[_0x3b7132(0x1bc)](getCloudProviderFromWsEndpoint,_0x51fb45);if(_0x5137f4[_0x3b7132(0x1d1)](_0x112621,_0x5137f4[_0x3b7132(0x143)]))_0x5cbe6e=constants[_0x3b7132(0x19d)][_0x3b7132(0x17d)](_0x51fb45)?_0x5137f4[_0x3b7132(0x198)]:_0x5137f4[_0x3b7132(0x134)],_0x388356=_0x5137f4[_0x3b7132(0x144)](getBrowserFromWSEndpoint,_0x51fb45)||_0x388356,_0x437ad3=_0x10f984[_0x3b7132(0x139)]['platform'],_0xc6ba27=_0x10f984[_0x3b7132(0x139)]['platform_version'];else{const _0x4c361b=await _0x5137f4[_0x3b7132(0x1ad)](getPlatformDetails);_0x437ad3=_0x4c361b[_0x3b7132(0x182)],_0xc6ba27=_0x4c361b[_0x3b7132(0x140)];}}if(_0x5137f4[_0x3b7132(0x1ab)](!_0x437ad3,!_0xc6ba27)&&!_0x5137f4[_0x3b7132(0x1ad)](isBrowserstackInfra)){const _0x2c9d72=await _0x5137f4['GgUKp'](getPlatformDetails);_0x437ad3=_0x2c9d72['platformName'],_0xc6ba27=_0x2c9d72[_0x3b7132(0x140)];}}else{_0x34f539&&_0x34f539[_0x3b7132(0x1b9)]['use'][_0x3b7132(0x14b)]?_0x388356=_0x5137f4[_0x3b7132(0x144)](getBrowserNameFromChannel,_0x34f539['project'][_0x3b7132(0x1dc)][_0x3b7132(0x14b)]):_0x388356=_0x5137f4[_0x3b7132(0x180)](_0x5137f4[_0x3b7132(0x1e2)],_0x5137f4[_0x3b7132(0x1e4)](_0x388356,_0x5137f4[_0x3b7132(0x137)])[_0x3b7132(0x14a)]());const _0x2f653=await _0x5137f4[_0x3b7132(0x12e)](getPlatformDetails);_0x437ad3=_0x2f653[_0x3b7132(0x182)],_0xc6ba27=_0x2f653['platformVersion'];}const _0x4d9a4f={};_0x4d9a4f[_0x3b7132(0x1ff)]=_0x388356,_0x4d9a4f[_0x3b7132(0x1f0)]=_0xa66a4,_0x4d9a4f[_0x3b7132(0x1d0)]={},_0x4d9a4f['platform']=_0x437ad3,_0x4d9a4f['platform_version']=_0xc6ba27,_0x4d9a4f['product']=_0x5cbe6e;const _0x3e7bfb=_0x4d9a4f;_0x3bfad1&&(_0x3e7bfb[_0x3b7132(0x1d0)][_0x3b7132(0x161)]=_0x3bfad1);const _0x32d4a={};_0x32d4a[_0x3b7132(0x1f7)]=_0x112621,_0x10f984[_0x3b7132(0x139)]=Object['assign']({},_0x10f984[_0x3b7132(0x139)],_0x32d4a,_0x3e7bfb);},_0x5137f4[_0x2aa03c(0x145)])(_0xa7b2e6,_0x3644ec,_0x5686f7);}static[a56_0x5c0990(0x1a1)](){this['patchConnection'](),this['patchCRConnection']();}static['patchConnection'](){const _0x18b4f1=a56_0x5c0990,_0x489c1e={'vtfPm':function(_0x230149,_0x3af8e6,_0x162def){return _0x230149(_0x3af8e6,_0x162def);},'OmPHg':_0x18b4f1(0x19c),'sQOAA':'testInfo','dVVba':_0x18b4f1(0x1a2),'wLMfp':_0x18b4f1(0x1d5),'hxwQx':_0x18b4f1(0x1c1),'NxqAE':function(_0x2e9598,_0x446008){return _0x2e9598===_0x446008;},'nJmch':_0x18b4f1(0x157),'BuCll':function(_0x809a76,_0x47c40b,_0x4a3544,_0x1812f4){return _0x809a76(_0x47c40b,_0x4a3544,_0x1812f4);},'TQfmz':function(_0x5642a8,_0x580173){return _0x5642a8||_0x580173;},'prWDt':function(_0x4dd54f,_0x2ef826){return _0x4dd54f(_0x2ef826);},'Uflvj':function(_0x29742f,_0x10229e){return _0x29742f(_0x10229e);},'QXHuy':_0x18b4f1(0x16b),'WyZou':function(_0x4a4409,_0x5a6b68){return _0x4a4409!=_0x5a6b68;},'fddrk':function(_0x198ae0){return _0x198ae0();},'BdWaz':_0x18b4f1(0x1f3),'klNlz':_0x18b4f1(0x14d),'AXjDC':_0x18b4f1(0x17a),'LvAfT':function(_0x43a812,_0x5798ef){return _0x43a812(_0x5798ef);}},_0xf55884=this;!this[_0x18b4f1(0x17e)]&&(this['Connection']=helper[_0x18b4f1(0x1e8)](),!this['Connection']&&_0x489c1e[_0x18b4f1(0x197)](debug,_0x489c1e[_0x18b4f1(0x149)]));const _0x55c245=this[_0x18b4f1(0x17e)];if(_0x489c1e[_0x18b4f1(0x16d)](_0x55c245,null)&&_0x55c245[_0x18b4f1(0x1e5)]['_bstackDispatchPatched'])return;try{if(_0x489c1e[_0x18b4f1(0x16d)](_0x55c245,null)){const _0x4d5cd8=_0x55c245[_0x18b4f1(0x1e5)][_0x18b4f1(0x14d)],_0x4bb223=_0x55c245[_0x18b4f1(0x1e5)][_0x18b4f1(0x1f3)];_0x489c1e['fddrk'](isAccessibilityAutomationSession)&&Object[_0x18b4f1(0x133)](_0x55c245[_0x18b4f1(0x1e5)],_0x489c1e[_0x18b4f1(0x142)],{'get':function(){return async function(){const _0x32f00a=a56_0x49a1;try{if(!global[_0x32f00a(0x190)]&&global[_0x32f00a(0x18d)]&&_0x489c1e[_0x32f00a(0x1d9)](nestedKeyValue,global['__workerDetails'],[_0x489c1e['OmPHg'],_0x489c1e[_0x32f00a(0x1d7)],_0x489c1e[_0x32f00a(0x200)]])&&_0x489c1e[_0x32f00a(0x1d9)](shouldScanTestForAccessibility,global[_0x32f00a(0x1d5)][_0x32f00a(0x19c)][_0x32f00a(0x1e9)][_0x32f00a(0x1a2)],!![])&&scripts[_0x32f00a(0x13d)](arguments[0x1])){logger['debug'](_0x32f00a(0x1fb)+arguments[0x1]),global[_0x32f00a(0x190)]=!![];const _0x43b2d1=_0x489c1e[_0x32f00a(0x1d9)](nestedKeyValue,global,[_0x489c1e[_0x32f00a(0x155)],_0x489c1e['hxwQx']]);_0x43b2d1&&logger[_0x32f00a(0x15e)]('Page\x20Scan\x20result='+util[_0x32f00a(0x130)](await _0x489c1e[_0x32f00a(0x1d9)](performScanWithRetry,_0x43b2d1,arguments[0x1]))),_0x489c1e[_0x32f00a(0x1c9)](arguments[0x0][_0x32f00a(0x19f)],_0x489c1e[_0x32f00a(0x166)])&&global[_0x32f00a(0x1a4)]&&logger['info']('Driver\x20Scan\x20result='+util[_0x32f00a(0x130)](await _0x489c1e['BuCll'](performScanWithRetry,global[_0x32f00a(0x1a4)],arguments[0x1],scripts[_0x32f00a(0x141)])));}}catch(_0x5bc749){logger['debug'](_0x32f00a(0x1fe)+util['format'](_0x5bc749));}return global[_0x32f00a(0x190)]=![],_0x4bb223['apply'](this,arguments);};}}),!_0x489c1e[_0x18b4f1(0x197)](isFalse,process[_0x18b4f1(0x13a)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x18b4f1(0x133)](_0x55c245[_0x18b4f1(0x1e5)],_0x489c1e[_0x18b4f1(0x1e6)],{'get':function(){const _0x9ebb79={'PPqvr':function(_0x11bacd,_0x43f185){return _0x489c1e['TQfmz'](_0x11bacd,_0x43f185);},'LwDAR':function(_0x165239,_0x58084f){const _0x52d08f=a56_0x49a1;return _0x489c1e[_0x52d08f(0x197)](_0x165239,_0x58084f);},'IdCzZ':function(_0x2cbac3,_0x27cc15){return _0x489c1e['prWDt'](_0x2cbac3,_0x27cc15);},'PaoCN':function(_0x2e04b5,_0x41a22e){const _0x3fa469=a56_0x49a1;return _0x489c1e[_0x3fa469(0x1dd)](_0x2e04b5,_0x41a22e);}};return function _0x5795fb(_0x28f786){const _0x5c5451=a56_0x49a1,_0xbb8a1e=_0x4d5cd8[_0x5c5451(0x1a0)](this,arguments);try{if(BrowserstackCLI[_0x5c5451(0x1b3)]()[_0x5c5451(0x1d8)]()){const _0x41ff74={};_0x41ff74[_0x5c5451(0x15a)]=_0x28f786,Promise['resolve'](BrowserstackCLI['getInstance']()['getAutomationFramework']()[_0x5c5451(0x163)](AutomationFrameworkState[_0x5c5451(0x174)],HookState['POST'],_0x41ff74))[_0x5c5451(0x1a6)](()=>{});}else{const _0x58497f=_0x28f786&&_0x28f786[_0x5c5451(0x187)]&&_0x28f786['params'][_0x5c5451(0x17b)];if(_0x58497f){const _0x338246=_0x58497f['sessionId'],_0xff0fea=_0x58497f[_0x5c5451(0x15f)];_0x9ebb79[_0x5c5451(0x158)](!_0x338246,!_0xff0fea)&&Promise[_0x5c5451(0x1c6)](ClientTroubleShootingService[_0x5c5451(0x1f2)]())[_0x5c5451(0x1a6)](()=>{}),_0xff0fea&&(_0x9ebb79[_0x5c5451(0x18c)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0xff0fea[_0x5c5451(0x1ec)]()),_0xf55884[_0x5c5451(0x139)][_0x5c5451(0x189)]=_0xff0fea[_0x5c5451(0x182)],_0xf55884['currentSessionDetails'][_0x5c5451(0x1a9)]=_0xff0fea[_0x5c5451(0x140)]),_0x338246&&(_0x9ebb79[_0x5c5451(0x1c0)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x338246),_0xf55884[_0x5c5451(0x139)][_0x5c5451(0x154)]=_0x338246);}}}catch(_0x3e6496){_0x9ebb79[_0x5c5451(0x1da)](debug,'dispatch\x20instrumentation\x20error\x20(non-fatal):\x20'+(_0x3e6496&&_0x3e6496['toString']?_0x3e6496[_0x5c5451(0x1ec)]():_0x3e6496));}return _0xbb8a1e;};}}),_0x55c245[_0x18b4f1(0x1e5)][_0x18b4f1(0x164)]=!![],logger[_0x18b4f1(0x1d4)](_0x489c1e['AXjDC']);}}catch(_0x4682ed){_0x489c1e[_0x18b4f1(0x13f)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x4682ed),_0xf55884[_0x18b4f1(0x1ae)]=_0x4682ed[_0x18b4f1(0x1ec)]();}}static[a56_0x5c0990(0x1de)](){const _0x2e5e53=a56_0x5c0990,_0x37199f={'PwFlZ':function(_0x2bfd2f,_0x8e0670){return _0x2bfd2f(_0x8e0670);},'LtZcI':function(_0x5d9311,_0x5143f9){return _0x5d9311(_0x5143f9);},'RHeya':function(_0x5b2bb5){return _0x5b2bb5();},'FYnOl':function(_0x26c666,_0x23ed09){return _0x26c666>=_0x23ed09;},'gSrtE':_0x2e5e53(0x19e),'tIGJY':function(_0x401187,_0x13c118){return _0x401187(_0x13c118);},'lwiUZ':'CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','CGlLz':_0x2e5e53(0x12c),'bmwJw':_0x2e5e53(0x184),'FzvmS':_0x2e5e53(0x1c8),'nZgqd':_0x2e5e53(0x19b),'mReiM':function(_0x2b4073,_0x4ae75c){return _0x2b4073(_0x4ae75c);},'TBMpi':function(_0x590eb2,_0x14e080){return _0x590eb2(_0x14e080);},'oxQpI':_0x2e5e53(0x15c),'AiTLF':function(_0x2486bd,_0x2e7fb8){return _0x2486bd(_0x2e7fb8);},'ZkvyU':'Error\x20in\x20importing\x20crConnection','DdLUC':function(_0x482815,_0xee4359){return _0x482815!=_0xee4359;},'cVNQW':_0x2e5e53(0x165),'TCIBv':function(_0xadc42f,_0x487b94){return _0xadc42f(_0x487b94);}},_0x4bb8cb=this;if(_0x37199f[_0x2e5e53(0x1f5)](isAccessibilityAutomationSession)){let _0x4f95d3=null,_0x3a5cee=![];try{const _0x1e43ae=helper['getFrameworkVersion'](FRAMEWORKS[_0x2e5e53(0x1a7)]);_0x3a5cee=_0x37199f[_0x2e5e53(0x13b)](helper['compareVersions'](_0x1e43ae,_0x37199f['gSrtE']),0x0);}catch(_0x21d789){_0x37199f['tIGJY'](debug,'Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20'+_0x21d789[_0x2e5e53(0x1ec)]());}if(_0x3a5cee)_0x37199f['LtZcI'](debug,_0x37199f['lwiUZ']);else try{const _0x4c5f82=path['join'](_0x37199f['CGlLz'],_0x37199f['bmwJw'],_0x37199f[_0x2e5e53(0x1ed)],_0x37199f[_0x2e5e53(0x1ba)]),_0x1385e0=_0x37199f['mReiM'](importFileFromPWCore,_0x4c5f82);!_0x1385e0?_0x37199f[_0x2e5e53(0x176)](debug,_0x37199f['oxQpI']):_0x4f95d3=_0x1385e0[_0x2e5e53(0x1e1)];}catch(_0x31784e){_0x37199f[_0x2e5e53(0x13e)](debug,_0x37199f['ZkvyU']);}try{if(_0x37199f[_0x2e5e53(0x15d)](_0x4f95d3,null)){const _0x1ca854=_0x4f95d3[_0x2e5e53(0x1e5)]['_onMessage'];Object[_0x2e5e53(0x133)](_0x4f95d3['prototype'],_0x37199f[_0x2e5e53(0x1fc)],{'get':function(){const _0x4d53bf={'hOpkR':function(_0x870230,_0x38831b){const _0x291cfd=a56_0x49a1;return _0x37199f[_0x291cfd(0x1eb)](_0x870230,_0x38831b);},'NtUtI':function(_0x14dc3d,_0x22ef27){const _0x42caf8=a56_0x49a1;return _0x37199f[_0x42caf8(0x1bd)](_0x14dc3d,_0x22ef27);},'uGvmz':function(_0xd527a1,_0x372981){const _0xe4f5e1=a56_0x49a1;return _0x37199f[_0xe4f5e1(0x1eb)](_0xd527a1,_0x372981);}};return async function _0x2299c4(_0x516daf){const _0xe95f01=a56_0x49a1;try{if(BrowserstackCLI[_0xe95f01(0x1b3)]()[_0xe95f01(0x1d8)]()){const _0x5d6408={};_0x5d6408[_0xe95f01(0x15a)]=_0x516daf,await BrowserstackCLI['getInstance']()[_0xe95f01(0x151)]()[_0xe95f01(0x163)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0xe95f01(0x1fd)],_0x5d6408),delete _0x516daf[_0xe95f01(0x1a5)];}else{const _0x210e88=_0x516daf[_0xe95f01(0x1a5)];if(_0x210e88){delete _0x516daf['bStackParams'];const _0x41a5b7=_0x210e88['sessionId'],_0x9ff7da=_0x210e88[_0xe95f01(0x15f)];_0x9ff7da&&(_0x4d53bf[_0xe95f01(0x14c)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x9ff7da[_0xe95f01(0x1ec)]()),_0x4bb8cb[_0xe95f01(0x139)][_0xe95f01(0x189)]=_0x9ff7da[_0xe95f01(0x182)],_0x4bb8cb[_0xe95f01(0x139)][_0xe95f01(0x1a9)]=_0x9ff7da[_0xe95f01(0x140)]),_0x41a5b7&&(_0x4d53bf[_0xe95f01(0x178)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x41a5b7),_0x4bb8cb[_0xe95f01(0x139)]['bsSessionId']=_0x41a5b7);}}}catch(_0x3c7b5f){_0x4d53bf['uGvmz'](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x3c7b5f[_0xe95f01(0x1ec)]());}return _0x1ca854[_0xe95f01(0x1a0)](this,arguments);};}});}}catch(_0x41aa8f){_0x37199f[_0x2e5e53(0x199)](debug,_0x2e5e53(0x194)+_0x41aa8f),_0x4bb8cb['sessionError']=_0x41aa8f[_0x2e5e53(0x1ec)]();}}}static[a56_0x5c0990(0x13c)](){const _0x4dfa7c=a56_0x5c0990;return this[_0x4dfa7c(0x139)];}}module[a56_0x5c0990(0x1cc)]=PlaywrightSessionDetails;function a56_0x49a1(_0x17c30f,_0x207b9d){const _0x3c00de=a56_0x3c00();return a56_0x49a1=function(_0x49a18a,_0x2f4ecf){_0x49a18a=_0x49a18a-0x12c;let _0x214ba9=_0x3c00de[_0x49a18a];return _0x214ba9;},a56_0x49a1(_0x17c30f,_0x207b9d);}function a56_0x3c00(){const _0x137e19=['CRConnection','HUntT','../../helpers/test-observability/constants','qbppo','prototype','klNlz','function','resolveConnectionClass','testInfo','string','PwFlZ','toString','FzvmS','yWgAU','wcTer','browser_version','_name','reportSessionLinkingIssue','sendMessageToServer','8317992IvgiME','RHeya','629ltXZSn','cloudProvider','QvZwH','oJpZd','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Performing\x20scan\x20for\x20','cVNQW','POST','Failed\x20to\x20perform\x20scan\x20','browser','dVVba','lib','entries','TOXLm','wVnfN','format','1176rgTXnU','../../helpers/accessibility-automation/accessibilityRetryHelper.js','defineProperty','HAkdf','../../helpers/logger','5|6|1|7|2|0|3|4','nfoTw','BSTACK_ATS_URL','currentSessionDetails','env','FYnOl','getDetails','shouldWrapCommand','AiTLF','LvAfT','platformVersion','performScan','BdWaz','EofqA','LqTEN','hHfZF','RocdW','assign','mbRQu','QXHuy','toLowerCase','channel','hOpkR','dispatch','chrome','_defaultConnectOptions','../../bin/playwright/accessibility-helper','getAutomationFramework','../utils/clientTroubleshootingService.js','../../helpers/accessibility-automation/helper','bsSessionId','wLMfp','70WXbiiQ','Page','PPqvr','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','message','split','Not\x20able\x20to\x20import\x20crConnection','DdLUC','info','platformDetails','tVhZx','deviceModel','setupBrowserDetails','trackEvent','_bstackDispatchPatched','_onMessage','nJmch','5642826cHKppK','browserName','WTWsV','Device\x20Model\x20is\x20not\x20available','Not\x20able\x20to\x20resolve\x20Connection\x20class','RlQyq','WyZou','kCXDN','_connection','1235100OGITXn','WWxEv','fromEntries','connectOptions','PLAYWRIGHT_DISPATCH','TVXAB','TBMpi','OzgMU','NtUtI','../utils/constants','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','bsParams','vGLjM','test','Connection','KhPLk','lzczA','isRemote','platformName','AnMkY','server','path','../v2/state/hookState.js','params','includes','platform','../v2/state/automationFrameworkState.js','ptliZ','LwDAR','accessibilityPlatform','2510wQWZyL','1627703EjkDHF','bstackPerformA11yScan','pWiuO','6BGmbwt','../v2/browserstackCLI','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','TcMiy','AuREj','prWDt','zPOZy','TCIBv','BWOuv','crConnection.js','currentTest','ATS_WSS_URL_REGEX','1.60.0','_type','apply','patch','titlePath','sQwGd','__driver','bStackParams','catch','PLAYWRIGHT','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','platform_version','safari','OYhuN','playwright','LgTQm','sessionError','winstonLogger','caps','model','url','getInstance','BSTACK_URL','UXwha','OznlM','9012qehafW','../../helpers/accessibility-automation/scripts','project','nZgqd','1914dzHMqc','mJPFj','LtZcI','./accessibility-helper','browserstack','IdCzZ','pwPage','wsEndpoint','61038RQKgrh','../../helpers/helper','turboscale','resolve','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','chromium','NxqAE','unknown','JCiWM','exports','firefox','webkit','EpTIX','capabilities','EDXig','parse','_browserType','debug','__workerDetails','product','sQOAA','isRunning','vtfPm','PaoCN','playwright-','use','Uflvj','patchCRConnection','../../helpers/test-observability/utils','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE'];a56_0x3c00=function(){return _0x137e19;};return a56_0x3c00();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x221478=a57_0x35ca;(function(_0x32af29,_0x50295e){const _0x43554f=a57_0x35ca,_0xe9d198=_0x32af29();while(!![]){try{const _0x5639fc=-parseInt(_0x43554f(0x204))/0x1+-parseInt(_0x43554f(0x207))/0x2*(-parseInt(_0x43554f(0x1e3))/0x3)+parseInt(_0x43554f(0x1f1))/0x4+parseInt(_0x43554f(0x1f4))/0x5*(-parseInt(_0x43554f(0x1eb))/0x6)+-parseInt(_0x43554f(0x1dd))/0x7+parseInt(_0x43554f(0x1e2))/0x8*(parseInt(_0x43554f(0x1fb))/0x9)+-parseInt(_0x43554f(0x200))/0xa*(-parseInt(_0x43554f(0x1e7))/0xb);if(_0x5639fc===_0x50295e)break;else _0xe9d198['push'](_0xe9d198['shift']());}catch(_0x585f6a){_0xe9d198['push'](_0xe9d198['shift']());}}}(a57_0x2a4f,0x88fd2));function a57_0x35ca(_0x318e38,_0x4ba1fe){const _0x2a4f14=a57_0x2a4f();return a57_0x35ca=function(_0x35ca4e,_0x1baaed){_0x35ca4e=_0x35ca4e-0x1db;let _0x451c59=_0x2a4f14[_0x35ca4e];return _0x451c59;},a57_0x35ca(_0x318e38,_0x4ba1fe);}const util=require(a57_0x221478(0x1f6)),logger=require(a57_0x221478(0x1e8)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{o11yErrorHandler}=require(a57_0x221478(0x1df)),PerformanceTester=require(a57_0x221478(0x1de)),{O11y_EVENTS:PerformanceO11yEvents}=require(a57_0x221478(0x1dc)),BrowserstackCLI=require(a57_0x221478(0x1e1)),CustomTagManager=require(a57_0x221478(0x1f7)),uploadAttachmentsManager=require(a57_0x221478(0x1ff)),doo11ySync=PerformanceTester[a57_0x221478(0x1f0)](PerformanceO11yEvents[a57_0x221478(0x1f8)],o11yErrorHandler(async function doo11ySync(_0x5f59b9){const _0x3a94df=a57_0x221478,_0x326949={'Olwvo':function(_0x17dff3,_0x30f90e,_0x5b4b5b){return _0x17dff3(_0x30f90e,_0x5b4b5b);},'DISWu':_0x3a94df(0x1ee),'ZvosJ':_0x3a94df(0x1ef),'mtZtT':_0x3a94df(0x1fa),'ZzYDU':_0x3a94df(0x205)};if(_0x326949[_0x3a94df(0x202)](nestedKeyValue,global,[_0x326949[_0x3a94df(0x203)],_0x326949[_0x3a94df(0x1e4)]]))return;await _0x5f59b9['evaluate'](_0xed0371=>{},_0x3a94df(0x1e9)+JSON['stringify']({'action':_0x326949[_0x3a94df(0x1f3)],'arguments':{'data':'ObservabilitySync:'+Date[_0x3a94df(0x1fc)](),'level':_0x326949['ZzYDU']}})),global['__workerDetails']['o11ySyncDone']=!![];},'doo11ySync'));exports[a57_0x221478(0x206)]=_0x381612=>{const _0x56f55a=a57_0x221478,_0x56c003={'CKFAK':function(_0x45bf07,_0x39668e){return _0x45bf07(_0x39668e);},'PEDzA':function(_0x3a80b6,_0x1bfb78,_0x590632){return _0x3a80b6(_0x1bfb78,_0x590632);},'ZzjnI':'__workerDetails'};if(!_0x381612||_0x381612[_0x56f55a(0x1ed)])return;const _0x1d09c7=_0x381612[_0x56f55a(0x201)][_0x56f55a(0x1fd)](_0x381612);_0x381612[_0x56f55a(0x201)]=async function _0xfc4a48(){const _0x5dcb6d=_0x56f55a,_0x455e83=await _0x1d09c7[_0x5dcb6d(0x1f2)](_0x381612,arguments);try{!BrowserstackCLI[_0x5dcb6d(0x1ec)]()[_0x5dcb6d(0x1e6)]()&&!_0x56c003[_0x5dcb6d(0x1ea)](isFalse,process[_0x5dcb6d(0x1e0)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&await _0x56c003[_0x5dcb6d(0x1ea)](doo11ySync,_0x455e83),BrowserstackCLI['getInstance']()[_0x5dcb6d(0x1e6)]()&&(_0x455e83[_0x5dcb6d(0x1e5)]=async(_0x144180,_0x15e1a6,_0x252924=![])=>{const _0x2f5bb3=_0x5dcb6d;await CustomTagManager[_0x2f5bb3(0x1e5)](_0x144180,_0x15e1a6,_0x252924);},_0x455e83[_0x5dcb6d(0x1fe)]=async(_0x133820,_0x237708=![])=>{const _0x480f7e=_0x5dcb6d;await uploadAttachmentsManager[_0x480f7e(0x1f5)](_0x133820,_0x237708);});}catch(_0x3ba37f){logger[_0x5dcb6d(0x205)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util['format'](_0x3ba37f));}return _0x56c003['PEDzA'](nestedKeyValue,global,[_0x56c003[_0x5dcb6d(0x1db)]])&&(global[_0x5dcb6d(0x1ee)][_0x5dcb6d(0x1f9)]=_0x455e83),_0x455e83;},_0x381612[_0x56f55a(0x1ed)]=!![];};function a57_0x2a4f(){const _0x2f38b8=['bind','uploadAttachment','../v2/uploadAttachmentsManager','730uljNzv','newPage','Olwvo','DISWu','729800gxneQs','debug','patchBrowserNewPage','2UDeDJy','ZzjnI','../../helpers/performance/constants','3767519AVZxdV','../../helpers/performance/performance-tester','../../helpers/test-observability/error-handler','env','../v2/browserstackCLI','325264OCXJvQ','2969952rfvJeD','ZvosJ','setCustomTags','isRunning','55781zxFgtj','../../helpers/logger','browserstack_executor:\x20','CKFAK','6XZNLaW','getInstance','_bstackNewPagePatched','__workerDetails','o11ySyncDone','measureWrapper','3701748tUbrDY','apply','mtZtT','2485695Cbqpkk','uploadAttachments','util','../v2/customTagManager','SYNC','pwPage','annotate','9PKZfRo','now'];a57_0x2a4f=function(){return _0x2f38b8;};return a57_0x2a4f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x309900=a58_0x534e;(function(_0x2ec8b4,_0x159ce3){const _0x470238=a58_0x534e,_0x5f15de=_0x2ec8b4();while(!![]){try{const _0x52a22d=parseInt(_0x470238(0x1f1))/0x1+parseInt(_0x470238(0x1dc))/0x2*(parseInt(_0x470238(0x1d8))/0x3)+-parseInt(_0x470238(0x218))/0x4*(-parseInt(_0x470238(0x1f3))/0x5)+-parseInt(_0x470238(0x1cc))/0x6+parseInt(_0x470238(0x1ee))/0x7+parseInt(_0x470238(0x1f9))/0x8*(parseInt(_0x470238(0x1ec))/0x9)+-parseInt(_0x470238(0x1e2))/0xa*(parseInt(_0x470238(0x1cd))/0xb);if(_0x52a22d===_0x159ce3)break;else _0x5f15de['push'](_0x5f15de['shift']());}catch(_0x202785){_0x5f15de['push'](_0x5f15de['shift']());}}}(a58_0x3987,0xb1726));const path=require(a58_0x309900(0x1d7)),url=require(a58_0x309900(0x20a)),util=require(a58_0x309900(0x1cb)),{nestedKeyValue,isFalse}=require(a58_0x309900(0x204)),{debug,getPlatformDetails}=require(a58_0x309900(0x1de)),logger=require(a58_0x309900(0x1d9))[a58_0x309900(0x201)],constants=require(a58_0x309900(0x217)),BrowserstackCLI=require(a58_0x309900(0x1fc)),AutomationFrameworkState=require(a58_0x309900(0x1f4)),HookState=require(a58_0x309900(0x1f8)),getBrowserFromWSEndpoint=_0x5a8fc2=>{const _0x40053c=a58_0x309900,_0x11fa61={'VZhUr':_0x40053c(0x206),'aXXaH':function(_0x5cad23,_0x56419b){return _0x5cad23(_0x56419b);}};try{const _0x27a803=url['parse'](_0x5a8fc2),_0x343347=new URLSearchParams(_0x27a803['query']),_0x427101=Object[_0x40053c(0x222)](_0x343347[_0x40053c(0x205)]()),_0x559704=JSON[_0x40053c(0x1e5)](_0x427101['caps']);if(_0x559704&&(_0x559704[_0x40053c(0x1cf)]||_0x559704[_0x40053c(0x1e8)]))return _0x559704['browser']||_0x559704[_0x40053c(0x1e8)];return _0x11fa61[_0x40053c(0x1e3)];}catch(_0x1f6e78){_0x11fa61['aXXaH'](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x1f6e78[_0x40053c(0x1ff)]());}},getCloudProviderFromWsEndpoint=_0xe4f70b=>{const _0x5585d1=a58_0x309900,_0xe34019={};_0xe34019[_0x5585d1(0x1e9)]=_0x5585d1(0x1db),_0xe34019[_0x5585d1(0x202)]='unknown_grid';const _0x2099cb=_0xe34019;if(_0xe4f70b[_0x5585d1(0x21c)](constants[_0x5585d1(0x1c8)])||_0xe4f70b[_0x5585d1(0x21c)](constants[_0x5585d1(0x1c5)]))return _0x2099cb[_0x5585d1(0x1e9)];return _0x2099cb[_0x5585d1(0x202)];},a58_0x4108e0={};function a58_0x3987(){const _0x56f019=['entries','chrome','assign','PLAYWRIGHT_DISPATCH','currentSessionDetails','url','WxQIt','ZBsne','POST','turboscale','capabilities','local_grid','version','format','XlWqc','isRunning','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','sessionError','../utils/constants','52HzDDEK','SVKrs','ATS_WSS_URL_REGEX','params','includes','Error\x20in\x20patchConnection:\x20','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','automate','ihufL','result','fromEntries','dCcfz','apply','bsSessionId','BSTACK_ATS_URL','product','message','BSTACK_URL','string','function','util','5968308HJCukz','121DbSNcZ','stringify','browser','cAsTh','platform_version','mFNUE','bsParams','onmessage','platformVersion','Error\x20in\x20setupBrowserDetails:\x20','path','55728yAPYgp','../../helpers/logger','connection','browserstack','18IKzAik','vUwzB','../../helpers/test-observability/utils','xzkms','platformDetails','_connection','1653090OvhtPX','VZhUr','Setting\x20session\x20id\x20received\x20from\x20BS\x20','parse','exports','ZoUgs','browserName','ynlbv','getInstance','bStackParams','9GzkSij','VMvIn','1989281pILhqA','ZBfun','platformName','1316375kAvLFy','platform','253815MRmoMz','../v2/state/automationFrameworkState.js','getAutomationFramework','FRcks','getDetails','../v2/state/hookState.js','8898224XgmZax','browser_version','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','../v2/browserstackCLI','trackEvent','setupBrowserDetails','toString','_bstackPatched','winstonLogger','FxjAT','cloudProvider','../../helpers/helper'];a58_0x3987=function(){return _0x56f019;};return a58_0x3987();}function a58_0x534e(_0x384ba7,_0x5de39a){const _0x3987ca=a58_0x3987();return a58_0x534e=function(_0x534e6f,_0x27cb14){_0x534e6f=_0x534e6f-0x1c3;let _0x1e686d=_0x3987ca[_0x534e6f];return _0x1e686d;},a58_0x534e(_0x384ba7,_0x5de39a);}a58_0x4108e0[a58_0x309900(0x203)]=undefined,a58_0x4108e0[a58_0x309900(0x1c4)]=undefined,a58_0x4108e0['browser']=undefined,a58_0x4108e0[a58_0x309900(0x1fa)]=undefined,a58_0x4108e0['platform']=undefined,a58_0x4108e0['platform_version']=undefined,a58_0x4108e0[a58_0x309900(0x1c6)]=undefined,a58_0x4108e0[a58_0x309900(0x20f)]={};class PuppeteerSessionDetails{static [a58_0x309900(0x209)]=a58_0x4108e0;constructor(){const _0x2fcac6=a58_0x309900,_0xd88711={};_0xd88711['vUwzB']=_0x2fcac6(0x21e);const _0x1c7c92=_0xd88711;throw new Error(_0x1c7c92[_0x2fcac6(0x1dd)]);}static [a58_0x309900(0x216)]=null;static async[a58_0x309900(0x1fe)](_0x195055,_0x2871d4){const _0x117652=a58_0x309900,_0x1dfb44={'xzkms':_0x117652(0x206),'ZBfun':function(_0x2c6fa9,_0x4697b5){return _0x2c6fa9===_0x4697b5;},'Vmnyd':_0x117652(0x1ca),'dCcfz':_0x117652(0x210),'mFNUE':function(_0x418c9f,_0x8a697c){return _0x418c9f(_0x8a697c);},'FRcks':function(_0x2ac902,_0x92a1ee){return _0x2ac902===_0x92a1ee;},'ZoUgs':_0x117652(0x1db),'YuuTj':_0x117652(0x20e),'cAsTh':_0x117652(0x21f),'BQAlv':function(_0x20cba9){return _0x20cba9();},'lhYZX':function(_0x2a3949,_0x5f4552){return _0x2a3949(_0x5f4552);}};try{let _0x49f635=_0x1dfb44[_0x117652(0x1df)],_0x391245=null;_0x195055&&_0x1dfb44[_0x117652(0x1ef)](typeof _0x195055['version'],_0x1dfb44['Vmnyd'])&&(_0x391245=await _0x195055[_0x117652(0x211)]());let _0x27ff7a=null,_0x4a8f87=null,_0x59563b=null,_0x37ddd2=_0x1dfb44[_0x117652(0x223)];if(_0x2871d4){_0x37ddd2=_0x1dfb44[_0x117652(0x1d2)](getCloudProviderFromWsEndpoint,_0x2871d4);if(_0x1dfb44[_0x117652(0x1f6)](_0x37ddd2,_0x1dfb44[_0x117652(0x1e7)]))_0x59563b=constants['ATS_WSS_URL_REGEX']?constants[_0x117652(0x21a)]['test'](_0x2871d4)?_0x1dfb44['YuuTj']:_0x1dfb44[_0x117652(0x1d0)]:_0x1dfb44[_0x117652(0x1d0)],_0x49f635=_0x1dfb44[_0x117652(0x1d2)](getBrowserFromWSEndpoint,_0x2871d4)||_0x49f635,_0x27ff7a=this[_0x117652(0x209)][_0x117652(0x1f2)],_0x4a8f87=this[_0x117652(0x209)]['platform_version'];else{const _0x495a52=await _0x1dfb44['BQAlv'](getPlatformDetails);_0x27ff7a=_0x495a52[_0x117652(0x1f0)],_0x4a8f87=_0x495a52['platformVersion'];}}else{const _0x4e4a3c=await _0x1dfb44['BQAlv'](getPlatformDetails);_0x27ff7a=_0x4e4a3c[_0x117652(0x1f0)],_0x4a8f87=_0x4e4a3c[_0x117652(0x1d5)];}const _0x29c43b={};_0x29c43b[_0x117652(0x1cf)]=_0x49f635,_0x29c43b[_0x117652(0x1fa)]=_0x391245,_0x29c43b[_0x117652(0x20f)]={},_0x29c43b['platform']=_0x27ff7a,_0x29c43b[_0x117652(0x1d1)]=_0x4a8f87,_0x29c43b[_0x117652(0x1c6)]=_0x59563b;const _0x18b9ac=_0x29c43b,_0x5a6489={};_0x5a6489['cloudProvider']=_0x37ddd2,this[_0x117652(0x209)]=Object[_0x117652(0x207)]({},this[_0x117652(0x209)],_0x5a6489,_0x18b9ac);}catch(_0x2ff7c8){_0x1dfb44['lhYZX'](debug,_0x117652(0x1d6)+util[_0x117652(0x212)](_0x2ff7c8)),this['sessionError']=_0x2ff7c8[_0x117652(0x1ff)]();}}static['patchConnection'](_0x3102cd){const _0x4a2b4e=a58_0x309900,_0x4af5f0={'XzgXZ':function(_0x46e024,_0x4c05db){return _0x46e024===_0x4c05db;},'WxQIt':_0x4a2b4e(0x1c9),'SVKrs':function(_0x6b48c0,_0x4d80a7){return _0x6b48c0(_0x4d80a7);},'VMvIn':function(_0x27fe48,_0x1adbc4){return _0x27fe48(_0x1adbc4);},'ZBsne':function(_0xc15cfe,_0x77822b){return _0xc15cfe===_0x77822b;},'ihufL':function(_0x571854,_0x453961){return _0x571854(_0x453961);},'XlWqc':_0x4a2b4e(0x215)},_0x4ec0f1=this;try{const _0xed7480=_0x3102cd[_0x4a2b4e(0x1e1)]||_0x3102cd[_0x4a2b4e(0x1da)];if(!_0xed7480||_0xed7480[_0x4a2b4e(0x200)])return;const _0xa4f523=_0xed7480[_0x4a2b4e(0x1d4)];_0xed7480[_0x4a2b4e(0x1d4)]=function(_0x52c376){const _0x293d67=_0x4a2b4e;try{const _0xae3716=_0x4af5f0['XzgXZ'](typeof _0x52c376,_0x4af5f0[_0x293d67(0x20b)])?JSON['parse'](_0x52c376):_0x52c376,_0x26ecf5=_0xae3716?.[_0x293d67(0x1eb)]||_0xae3716?.[_0x293d67(0x1d3)]||_0xae3716?.['params']?.[_0x293d67(0x1d3)]||_0xae3716?.['params']?.[_0x293d67(0x1eb)]||_0xae3716?.[_0x293d67(0x221)]?.[_0x293d67(0x1d3)]||_0xae3716?.[_0x293d67(0x221)]?.['bStackParams'];if(_0x26ecf5){if(BrowserstackCLI[_0x293d67(0x1ea)]()[_0x293d67(0x214)]()){const _0x5631d7={};_0x5631d7[_0x293d67(0x1c7)]=_0xae3716,BrowserstackCLI[_0x293d67(0x1ea)]()[_0x293d67(0x1f5)]()[_0x293d67(0x1fd)](AutomationFrameworkState[_0x293d67(0x208)],HookState[_0x293d67(0x20d)],_0x5631d7);}else{const _0x489c3e=_0x26ecf5['sessionId'],_0x5e1c98=_0x26ecf5[_0x293d67(0x1e0)];_0x5e1c98&&(_0x4af5f0[_0x293d67(0x219)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+JSON[_0x293d67(0x1ce)](_0x5e1c98)),_0x4ec0f1[_0x293d67(0x209)][_0x293d67(0x1f2)]=_0x5e1c98[_0x293d67(0x1f0)],_0x4ec0f1[_0x293d67(0x209)][_0x293d67(0x1d1)]=_0x5e1c98[_0x293d67(0x1d5)]),_0x489c3e&&(_0x4af5f0[_0x293d67(0x1ed)](debug,_0x293d67(0x1e4)+_0x489c3e),_0x4ec0f1[_0x293d67(0x209)][_0x293d67(0x1c4)]=_0x489c3e);}_0x4af5f0[_0x293d67(0x20c)](typeof _0x52c376,_0x4af5f0[_0x293d67(0x20b)])&&(delete _0xae3716[_0x293d67(0x1eb)],delete _0xae3716[_0x293d67(0x1d3)],_0xae3716[_0x293d67(0x21b)]&&(delete _0xae3716[_0x293d67(0x21b)]['bsParams'],delete _0xae3716[_0x293d67(0x21b)][_0x293d67(0x1eb)]),_0xae3716['result']&&(delete _0xae3716['result'][_0x293d67(0x1d3)],delete _0xae3716[_0x293d67(0x221)][_0x293d67(0x1eb)]));}}catch(_0x4e27bb){_0x4af5f0[_0x293d67(0x220)](debug,_0x293d67(0x1fb)+_0x4e27bb[_0x293d67(0x1c7)]);}return _0xa4f523?.[_0x293d67(0x1c3)](this,arguments);},_0xed7480['_bstackPatched']=!![],logger['debug'](_0x4af5f0[_0x4a2b4e(0x213)]);}catch(_0x57d835){_0x4af5f0[_0x4a2b4e(0x1ed)](debug,_0x4a2b4e(0x21d)+util[_0x4a2b4e(0x212)](_0x57d835)),_0x4ec0f1[_0x4a2b4e(0x216)]=_0x57d835['toString']();}}static[a58_0x309900(0x1f7)](){const _0x54bd31=a58_0x309900;return this[_0x54bd31(0x209)];}}module[a58_0x309900(0x1e6)]=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a59_0x4d15(){const _0x26e091=['../utils/constants','BROWSERSTACK_PUPPETEER','JEST','5987191KeGFcD','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','../../helpers/setKeepAlive','12cEgyaq','getPackageVersion','2536340shwhKd','4236315RaTCLK','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','puppeteer','98854DqCVQT','4545832gjdPRp','__skipSessionStatus','currentTest','format','workerInfo','3320DdgBBm','testInfo','PUPPETEER','o11ySyncDone','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','env','initializePuppeteerPatching','getInstance','skipSessionStatus','pwPage','2257398FkQCYr','isCliEnabled','isPageFixture','../../helpers/helper','__skipSessionName','winstonLogger','util','puppeteer-core','../v2/browserstackCLI','22536ExsDEB','setFrameworkDetail','6zWboxP','true','../v2/cliUtils','bootstrap','jestConfig','debug'];a59_0x4d15=function(){return _0x26e091;};return a59_0x4d15();}const a59_0x3d6b07=a59_0x565c;function a59_0x565c(_0xc138c5,_0x3efd80){const _0x4d1594=a59_0x4d15();return a59_0x565c=function(_0x565c0f,_0x3f5d0c){_0x565c0f=_0x565c0f-0x11d;let _0x49b0eb=_0x4d1594[_0x565c0f];return _0x49b0eb;},a59_0x565c(_0xc138c5,_0x3efd80);}(function(_0x3093a2,_0x14cc95){const _0x55933b=a59_0x565c,_0x136d6f=_0x3093a2();while(!![]){try{const _0x510bed=parseInt(_0x55933b(0x13e))/0x1*(parseInt(_0x55933b(0x144))/0x2)+parseInt(_0x55933b(0x126))/0x3+-parseInt(_0x55933b(0x140))/0x4+parseInt(_0x55933b(0x141))/0x5+-parseInt(_0x55933b(0x131))/0x6*(parseInt(_0x55933b(0x13a))/0x7)+parseInt(_0x55933b(0x145))/0x8+parseInt(_0x55933b(0x12f))/0x9*(-parseInt(_0x55933b(0x14a))/0xa);if(_0x510bed===_0x14cc95)break;else _0x136d6f['push'](_0x136d6f['shift']());}catch(_0x513eef){_0x136d6f['push'](_0x136d6f['shift']());}}}(a59_0x4d15,0x6b824));const {isTrue,isBrowserstackInfra}=require(a59_0x3d6b07(0x129)),setKeepAlive=require(a59_0x3d6b07(0x13d)),util=require(a59_0x3d6b07(0x12c)),logger=require('../../helpers/logger')[a59_0x3d6b07(0x12b)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{addRequestSpy}=require('../../helpers/test-observability/utils'),a59_0x54d0e6={};a59_0x54d0e6[a59_0x3d6b07(0x149)]=undefined,a59_0x54d0e6[a59_0x3d6b07(0x147)]={},a59_0x54d0e6[a59_0x3d6b07(0x11e)]=![],a59_0x54d0e6[a59_0x3d6b07(0x125)]=null,a59_0x54d0e6[a59_0x3d6b07(0x128)]=![],a59_0x54d0e6[a59_0x3d6b07(0x147)]['id']=undefined,a59_0x54d0e6[a59_0x3d6b07(0x147)][a59_0x3d6b07(0x14b)]=undefined;const workerDetails=a59_0x54d0e6;global['__workerDetails']=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a59_0x3d6b07(0x135)])try{isBrowserstackInfra()?(global[a59_0x3d6b07(0x12a)]=isTrue(global[a59_0x3d6b07(0x135)]?.['skipSessionName']),global[a59_0x3d6b07(0x146)]=isTrue(global[a59_0x3d6b07(0x135)]?.[a59_0x3d6b07(0x124)])):(global[a59_0x3d6b07(0x12a)]=!![],global['__skipSessionStatus']=!![]);const helper=require(a59_0x3d6b07(0x129)),puppeteerVersion=helper[a59_0x3d6b07(0x13f)](a59_0x3d6b07(0x143))||helper[a59_0x3d6b07(0x13f)](a59_0x3d6b07(0x12d));if(puppeteerVersion)try{logger[a59_0x3d6b07(0x136)]('[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a59_0x3d6b07(0x122)](global[a59_0x3d6b07(0x135)]),logger[a59_0x3d6b07(0x136)]('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a59_0x5d08f2){logger[a59_0x3d6b07(0x136)](a59_0x3d6b07(0x13b)+util[a59_0x3d6b07(0x148)](a59_0x5d08f2));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a59_0x3d6b07(0x12e)),CLIUtils=require(a59_0x3d6b07(0x133)),{FRAMEWORKS}=require(a59_0x3d6b07(0x137));BrowserstackCLI[a59_0x3d6b07(0x123)]()[a59_0x3d6b07(0x127)]()&&(logger['debug'](a59_0x3d6b07(0x142)),process[a59_0x3d6b07(0x121)][a59_0x3d6b07(0x138)]=a59_0x3d6b07(0x132),CLIUtils[a59_0x3d6b07(0x130)](FRAMEWORKS[a59_0x3d6b07(0x139)],FRAMEWORKS[a59_0x3d6b07(0x11d)]),BrowserstackCLI[a59_0x3d6b07(0x123)]()[a59_0x3d6b07(0x134)]()['catch'](_0x4f3db3=>{const _0x32cf36=a59_0x3d6b07;logger['debug']('[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x32cf36(0x148)](_0x4f3db3));}));}catch(a59_0x37f3a0){logger[a59_0x3d6b07(0x136)](a59_0x3d6b07(0x11f)+util[a59_0x3d6b07(0x148)](a59_0x37f3a0));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a59_0x359019){logger[a59_0x3d6b07(0x136)](a59_0x3d6b07(0x120)+util['format'](a59_0x359019));}logger['debug'](a59_0x3d6b07(0x13c));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a60_0x21932d=a60_0x5b9d;function a60_0x1218(){const _0xbdee3=['dot-notation','command','pw:*','INFO','INCZS','zqXJV','zJBiw','.browserstack','./vanilla-js/command','--no-config','start','some','MOCHA','hkysU','load\x20[subcommand]','jest','AOttM','map','JHiSK','describe','./testcafe/command','jasmine','btpZK','testcafe','UeWPe','mocha/lib/cli/run.js','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','hNrFF','KixRM','codeceptjs','EVENTS','integrations','env','kepWN','--package','child_process','wrap','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','pw:channel','./codeceptjs/command','xZtBC','akLrK','pJyFT','ats','CUCUMBER','INTEGRATIONS','isUndefined','showHelpOnFail','mHFCT','540nAmkMi','stop','config','nightwatch','PLAYWRIGHT','SDK_SETUP','qTizf','FUMsG','VANILLA','oFXMq','IrCIx','KOnmM','OjuNn','exitProcess','push','getConfigPath','BjRTf','cucumber-js','jbJcu','hMAel','atFgH','framework','mocha/lib/cli/cli.js','pw:channel\x20auto-capture\x20seed\x20failed:\x20','setBrowserStackAutomationDisable','syldK','BROWSERSTACK_CONFIG_FILE_PATH','JtXij','vanilla','trim','mocha','exitCode','TESTCAFE','QsUjO','DEBUG','./newman/command','parserConfiguration','mFexZ','vaWYX','--no-package','yargs','winstonLogger','fXqUL','strict','path','13028814twCEhi','../helpers/utilities','playwright','DEBUG_FILE','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','./cucumber-js/command','xHMBC','split','demandCommand','message','601818ojUBhn','IPSRa','argv','1866907skXnPc','homedir','mocha/lib/cli/commands.js','KGctS','217876vMVTVH','getPwChannelLogPath','altbf','IwuwN','xPSpg','disableAutoCaptureLogs','./utils/constants','JEST','6723264OdpnRD','newman','--config','uJbWQ','help','../helpers/helper','rJQEI','boolean','node','sendLogs','existsSync','alias','Running\x20SDK\x20with\x20args\x20','EuCMg','getInstance','error','--opts','hFYYg','format','qzmeJ','SDKTestSuccessful','--require','SDK_CLEANUP','unlinkSync','./integrations/command','../helpers/performance/constants','debug','FxSVd','handler','1095732neqmGu','NEWMAN','slice','stack','mTkbJ','../helpers/performance/performance-tester','VERSION','setTestObservabilityDisable','uIaBk','./v2/browserstackCLI','filter','27420oTwXEh','Show\x20help','../helpers/logger','option','usage:\x20$0\x20<command>\x20[args]','assign','CODECEPTJS','./nightwatch/command','zKntn','--no-opts','3ZMuXEK'];a60_0x1218=function(){return _0xbdee3;};return a60_0x1218();}(function(_0x52709f,_0x511987){const _0x4e6f67=a60_0x5b9d,_0x59bfde=_0x52709f();while(!![]){try{const _0x427fe3=-parseInt(_0x4e6f67(0xa8))/0x1+-parseInt(_0x4e6f67(0xd4))/0x2+-parseInt(_0x4e6f67(0xe9))/0x3*(-parseInt(_0x4e6f67(0xaf))/0x4)+-parseInt(_0x4e6f67(0xdf))/0x5*(parseInt(_0x4e6f67(0x71))/0x6)+-parseInt(_0x4e6f67(0xab))/0x7+parseInt(_0x4e6f67(0xb7))/0x8+parseInt(_0x4e6f67(0x9e))/0x9;if(_0x427fe3===_0x511987)break;else _0x59bfde['push'](_0x59bfde['shift']());}catch(_0xb89591){_0x59bfde['push'](_0x59bfde['shift']());}}}(a60_0x1218,0x699c2));const fs=require('fs'),path=require(a60_0x21932d(0x9d)),util=require('util'),spawn=require(a60_0x21932d(0x10d))['spawn'],{requireModule}=require(a60_0x21932d(0xbc)),PerformanceTester=require(a60_0x21932d(0xd9)),PerformanceEvents=require(a60_0x21932d(0xd0))[a60_0x21932d(0x108)],helper=require(a60_0x21932d(0xbc)),utilities=require(a60_0x21932d(0x9f)),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a60_0x21932d(0xcf)),yargs=require(a60_0x21932d(0x99)),Constants=require(a60_0x21932d(0xb5)),BrowserstackCLI=require(a60_0x21932d(0xdd)),{isNewman}=require('./newman/helper'),logger=require(a60_0x21932d(0xe1))[a60_0x21932d(0x9a)],origArgs=Object[a60_0x21932d(0xe4)]([],process[a60_0x21932d(0xaa)]),captureError=async(_0x194921,_0xc730ec,_0x156a66,_0x4a78ef=null,_0x4c4a74=![])=>{const _0x15a560=a60_0x21932d,_0x3cdfc5={'jNnWQ':function(_0x29cda7,_0x39faeb,_0x393d65,_0x4e7a79){return _0x29cda7(_0x39faeb,_0x393d65,_0x4e7a79);},'mFexZ':_0x15a560(0xcb)};try{logger['info'](_0x15a560(0xc3)+origArgs['join']('\x20')),await _0x3cdfc5['jNnWQ'](_0x194921,_0xc730ec,_0x4a78ef,_0x156a66);}catch(_0xfc89ea){process[_0x15a560(0x90)]=0x1,logger['error'](util['format'](_0xfc89ea));const _0x4cb68a={'globalException':util['format']('%j',_0xfc89ea)};PerformanceTester['end'](PerformanceEvents[_0x15a560(0x76)],![],util[_0x15a560(0xc9)](_0xfc89ea));if(helper[_0x15a560(0x6e)](global[_0x15a560(0x73)])&&helper['isUndefined'](global[_0x15a560(0x86)]))return;try{utilities['fireFunnelTestEvent'](_0x3cdfc5[_0x15a560(0x96)],_0x4cb68a,global[_0x15a560(0x73)],global[_0x15a560(0x86)]);}catch(_0x57d29e){logger[_0x15a560(0xd1)](_0x15a560(0xa2)+_0x57d29e[_0x15a560(0xd7)]);}try{await helper[_0x15a560(0xc0)](global[_0x15a560(0x73)]);}catch(_0x3babdd){logger[_0x15a560(0xd1)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x3babdd[_0x15a560(0xd7)]);}PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x15a560(0xc9)](_0xfc89ea));}finally{!_0x4c4a74&&await BrowserstackCLI[_0x15a560(0xc5)]()[_0x15a560(0x72)](),PerformanceTester[_0x15a560(0xf4)](PerformanceEvents[_0x15a560(0xcd)]);}};try{const browserstackFolderPath=path['join'](helper[a60_0x21932d(0xac)](),a60_0x21932d(0xf1));if(fs['existsSync'](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,'.local-not-set.json');fs[a60_0x21932d(0xc1)](filePath)&&fs[a60_0x21932d(0xce)](filePath);}}catch(a60_0x27b200){logger[a60_0x21932d(0xd1)](a60_0x21932d(0x10f)+a60_0x27b200[a60_0x21932d(0xa7)]);}process[a60_0x21932d(0xaa)]['includes'](a60_0x21932d(0x8f))&&(!process['argv']['includes'](a60_0x21932d(0xc7))&&process['argv'][a60_0x21932d(0x7f)](a60_0x21932d(0xe8)),!process[a60_0x21932d(0xaa)]['find'](_0x2c4738=>_0x2c4738['includes'](a60_0x21932d(0xb9)))&&process['argv'][a60_0x21932d(0x7f)](a60_0x21932d(0xf3)),!process['argv']['includes'](a60_0x21932d(0x10c))&&process[a60_0x21932d(0xaa)][a60_0x21932d(0x7f)](a60_0x21932d(0x98)),helper['findAndReplace'](process['argv'],a60_0x21932d(0xcc),'--mochaRequire'));PerformanceTester[a60_0x21932d(0xf4)](PerformanceEvents[a60_0x21932d(0x76)]);const a60_0x4a49fc={};a60_0x4a49fc[a60_0x21932d(0xea)]=![];const argv=yargs[a60_0x21932d(0x95)](a60_0x4a49fc)['usage'](a60_0x21932d(0xe3))['alias']('v','version')[a60_0x21932d(0xfd)]('v')[a60_0x21932d(0xc2)]('h',a60_0x21932d(0xbb))[a60_0x21932d(0xbb)](a60_0x21932d(0xbb))[a60_0x21932d(0x6f)](!![],Constants[a60_0x21932d(0xda)]['HELP'])[a60_0x21932d(0xeb)](a60_0x21932d(0xf9),Constants[a60_0x21932d(0xb6)]['INFO'],function(_0x657680){const _0x593063=a60_0x21932d,_0x31c24c={'hoWPc':_0x593063(0xf9),'qzmeJ':function(_0x4a103e,_0x5e36e0,_0x561c94,_0x4cdf53,_0x2cee91,_0xc09382){return _0x4a103e(_0x5e36e0,_0x561c94,_0x4cdf53,_0x2cee91,_0xc09382);},'EuCMg':function(_0x442689,_0x1fc458){return _0x442689(_0x1fc458);},'IrCIx':'./jest/command'},_0x1a29ce=process['argv'][_0x593063(0xd6)](0x2);helper[_0x593063(0xdb)](),helper[_0x593063(0x89)](),_0x657680[_0x593063(0x9c)](![]);const _0x13183f=new BrowserStackSetup(_0x657680[_0x593063(0xaa)],_0x31c24c['hoWPc']);return _0x31c24c[_0x593063(0xca)](captureError,_0x31c24c[_0x593063(0xc4)](require,_0x31c24c[_0x593063(0x7b)]),_0x657680[_0x593063(0xaa)],_0x13183f,_0x1a29ce,!![]);})[a60_0x21932d(0xeb)]('jasmine',Constants['JASMINE'][a60_0x21932d(0xed)],function(_0x29d764){const _0x45fb99=a60_0x21932d,_0x2ca052={'mHBgR':_0x45fb99(0xff),'zKntn':function(_0x4e483e,_0x5533da,_0x5cba36,_0x111f2d,_0x5de9a2,_0x245f4a){return _0x4e483e(_0x5533da,_0x5cba36,_0x111f2d,_0x5de9a2,_0x245f4a);},'fXqUL':function(_0x463c44,_0x276ce4){return _0x463c44(_0x276ce4);},'thqnn':'./jasmine/command'},_0x40358a=process[_0x45fb99(0xaa)][_0x45fb99(0xd6)](0x2);helper[_0x45fb99(0xdb)](),helper[_0x45fb99(0x89)](),_0x29d764[_0x45fb99(0x9c)](![]);const _0x34712b=new BrowserStackSetup(_0x29d764[_0x45fb99(0xaa)],_0x2ca052['mHBgR']);return _0x2ca052[_0x45fb99(0xe7)](captureError,_0x2ca052[_0x45fb99(0x9b)](require,_0x2ca052['thqnn']),_0x29d764[_0x45fb99(0xaa)],_0x34712b,_0x40358a,!![]);})[a60_0x21932d(0xeb)](a60_0x21932d(0x8f),Constants[a60_0x21932d(0xf6)]['INFO'],_0x398eb7=>{const _0x16ea6f=a60_0x21932d,_0x4abd70={'uJbWQ':function(_0x482fba,_0x4a2b62,_0x323fd4,_0x337f9e){return _0x482fba(_0x4a2b62,_0x323fd4,_0x337f9e);},'xPSpg':function(_0x2fc8bb,_0x3dbac7){return _0x2fc8bb(_0x3dbac7);},'ERKQC':'./mocha/command','atFgH':'mocha','AOttM':'Parsing\x20command\x20line\x20arguments','altbf':function(_0x358e17,_0x117cef,_0xded0ba){return _0x358e17(_0x117cef,_0xded0ba);},'FxSVd':_0x16ea6f(0x103),'skjIA':function(_0x399c22,_0x1fc3b6,_0x350e88){return _0x399c22(_0x1fc3b6,_0x350e88);},'qTizf':_0x16ea6f(0xad),'pJyFT':_0x16ea6f(0x87),'QsUjO':function(_0x4303d1){return _0x4303d1();}};process[_0x16ea6f(0xaa)]=process[_0x16ea6f(0xaa)][_0x16ea6f(0xd6)](0x1),helper[_0x16ea6f(0xdb)](),helper['setBrowserStackAutomationDisable']();const _0x3148bc=new BrowserStackSetup(_0x398eb7[_0x16ea6f(0xaa)],_0x4abd70[_0x16ea6f(0x85)]);logger[_0x16ea6f(0xd1)](_0x4abd70[_0x16ea6f(0xfa)]);const _0x39a25f=_0x4abd70[_0x16ea6f(0xb1)](requireModule,_0x4abd70[_0x16ea6f(0xd2)],_0x4abd70[_0x16ea6f(0x85)]),_0xc86054=_0x4abd70['skjIA'](requireModule,_0x4abd70[_0x16ea6f(0x77)],_0x4abd70[_0x16ea6f(0x85)]);delete _0x39a25f['handler'],_0x39a25f[_0x16ea6f(0xd3)]=function(_0x5a19f3){const _0x3c247b=_0x16ea6f;return _0x4abd70[_0x3c247b(0xba)](captureError,_0x4abd70[_0x3c247b(0xb3)](require,_0x4abd70['ERKQC']),_0x5a19f3,_0x3148bc);},_0xc86054['run']=_0x39a25f;const {main:_0x4e0cca}=_0x4abd70[_0x16ea6f(0xb1)](requireModule,_0x4abd70[_0x16ea6f(0x114)],_0x4abd70[_0x16ea6f(0x85)]);_0x4abd70[_0x16ea6f(0x92)](_0x4e0cca);})['command'](a60_0x21932d(0x82),Constants[a60_0x21932d(0x6c)]['INFO'],function(_0x18ced9){const _0x570688=a60_0x21932d,_0x143e97={'JHiSK':_0x570688(0x82),'hicPe':function(_0x59c42d,_0x56d066,_0x2a80aa,_0x5de869,_0x48133c,_0x215c8f){return _0x59c42d(_0x56d066,_0x2a80aa,_0x5de869,_0x48133c,_0x215c8f);},'JtXij':function(_0x49b918,_0x560a33){return _0x49b918(_0x560a33);},'mTkbJ':_0x570688(0xa3)},_0x3cd1d4=process[_0x570688(0xaa)]['slice'](0x2),_0x399514=new BrowserStackSetup(_0x18ced9[_0x570688(0xaa)],_0x143e97[_0x570688(0xfc)]);return _0x143e97['hicPe'](captureError,_0x143e97[_0x570688(0x8c)](require,_0x143e97[_0x570688(0xd8)]),_0x18ced9[_0x570688(0xaa)],_0x399514,_0x3cd1d4,!![]);})[a60_0x21932d(0xeb)](a60_0x21932d(0xbf),Constants[a60_0x21932d(0x79)][a60_0x21932d(0xed)],function(_0x595ad6){const _0xa9f103=a60_0x21932d,_0x2b1771={'OjuNn':_0xa9f103(0x8d),'VUehA':function(_0x5f92df,_0x1a9356){return _0x5f92df(_0x1a9356);},'KGctS':'newman','xHMBC':function(_0xe526ca,_0x285066,_0x55902e,_0x2a2043,_0x348d9f){return _0xe526ca(_0x285066,_0x55902e,_0x2a2043,_0x348d9f);},'KOnmM':function(_0x2c1836,_0x32ee87){return _0x2c1836(_0x32ee87);},'vaWYX':'./newman/command','akLrK':function(_0x26eb61,_0x59a5ed,_0x5d46c9,_0x45e9ac,_0x4e0ec7){return _0x26eb61(_0x59a5ed,_0x5d46c9,_0x45e9ac,_0x4e0ec7);},'iPsyt':function(_0x527712,_0x25fa0c){return _0x527712(_0x25fa0c);},'uIaBk':_0xa9f103(0xf2)},_0x4db237=process[_0xa9f103(0xaa)][_0xa9f103(0xd6)](0x2),_0xc4ac65=new BrowserStackSetup(_0x595ad6[_0xa9f103(0xaa)],_0x2b1771[_0xa9f103(0x7d)]),_0x408bad=_0xc4ac65?_0xc4ac65[_0xa9f103(0x73)]:null;if(_0x2b1771['VUehA'](isNewman,_0x408bad))return _0xc4ac65[_0xa9f103(0x86)]=_0x2b1771[_0xa9f103(0xae)],global['framework']=_0x2b1771[_0xa9f103(0xae)],_0x2b1771[_0xa9f103(0xa4)](captureError,_0x2b1771[_0xa9f103(0x7c)](require,_0x2b1771[_0xa9f103(0x97)]),_0x595ad6[_0xa9f103(0xaa)],_0xc4ac65,_0x4db237);return _0x2b1771[_0xa9f103(0x113)](captureError,_0x2b1771['iPsyt'](require,_0x2b1771[_0xa9f103(0xdc)]),_0x595ad6['argv'],_0xc4ac65,_0x4db237);})['command'](a60_0x21932d(0x74),Constants['NIGHTWATCH']['INFO'],function(_0xd261bb){const _0x672e9c=a60_0x21932d,_0x2dea16={'mHFCT':_0x672e9c(0x74),'kepWN':function(_0x1f3209,_0x1368dd,_0x80920c,_0x21fd30,_0x2ce5ab){return _0x1f3209(_0x1368dd,_0x80920c,_0x21fd30,_0x2ce5ab);},'jbJcu':function(_0x66be17,_0x133a9d){return _0x66be17(_0x133a9d);},'ZApll':_0x672e9c(0xe6)},_0x320ada=process[_0x672e9c(0xaa)][_0x672e9c(0xd6)](0x2),_0x212132=new BrowserStackSetup(_0xd261bb[_0x672e9c(0xaa)],_0x2dea16[_0x672e9c(0x70)]);return _0x2dea16[_0x672e9c(0x10b)](captureError,_0x2dea16[_0x672e9c(0x83)](require,_0x2dea16['ZApll']),_0xd261bb['argv'],_0x212132,_0x320ada);})['command'](a60_0x21932d(0x107),Constants[a60_0x21932d(0xe5)][a60_0x21932d(0xed)],function(_0x400b6a){const _0x41185c=a60_0x21932d,_0x144171={'UeWPe':_0x41185c(0x107),'TwpQX':function(_0x34e1cc,_0x24df09,_0x1178e8,_0x35969f,_0x4210bd){return _0x34e1cc(_0x24df09,_0x1178e8,_0x35969f,_0x4210bd);},'ySKAq':function(_0x17579c,_0x98af50){return _0x17579c(_0x98af50);},'FUMsG':_0x41185c(0x111)},_0x30ef97=process[_0x41185c(0xaa)]['slice'](0x2),_0x19cc92=new BrowserStackSetup(_0x400b6a[_0x41185c(0xaa)],_0x144171[_0x41185c(0x102)]);return _0x144171['TwpQX'](captureError,_0x144171['ySKAq'](require,_0x144171[_0x41185c(0x78)]),_0x400b6a[_0x41185c(0xaa)],_0x19cc92,_0x30ef97);})['command'](a60_0x21932d(0x6b),Constants['HST']['INFO'],function(_0xf06c20){const _0x464828=a60_0x21932d,_0x4f665d={'INCZS':function(_0x31c108,_0x3e6d5e,_0x27cdfa){return _0x31c108(_0x3e6d5e,_0x27cdfa);},'btpZK':function(_0x3753dc,_0x2988d1){return _0x3753dc(_0x2988d1);},'BjRTf':'../../ats/src/index'},_0x399de8=process[_0x464828(0xaa)]['slice'](0x2);return _0x4f665d[_0x464828(0xee)](captureError,_0x4f665d[_0x464828(0x100)](require,_0x4f665d[_0x464828(0x81)]),_0xf06c20);})['command'](a60_0x21932d(0x109),Constants[a60_0x21932d(0x6d)][a60_0x21932d(0xed)],function(_0x8a2970){const _0x28a13d={'bEaTx':function(_0x16c6b4,_0x2e2710){return _0x16c6b4(_0x2e2710);}};return _0x28a13d['bEaTx'](runIntegrations,_0x8a2970);})[a60_0x21932d(0xeb)](a60_0x21932d(0xa0),Constants[a60_0x21932d(0x75)]['INFO'],function(_0x113d60){const _0x4a5662=a60_0x21932d,_0x3b9830={'zJBiw':_0x4a5662(0x110),'oFXMq':function(_0x932fdc,_0x16e8da){return _0x932fdc&&_0x16e8da;},'KixRM':function(_0x3cc879,_0x34db43,_0x367b4a,_0x1a9f4d,_0x27a27f,_0x128fa7){return _0x3cc879(_0x34db43,_0x367b4a,_0x1a9f4d,_0x27a27f,_0x128fa7);},'xZtBC':function(_0x501c4a,_0x44d2c3){return _0x501c4a(_0x44d2c3);},'gAMov':'./playwright/command'},_0x510790=process['argv'][_0x4a5662(0xd6)](0x2);helper[_0x4a5662(0x80)](process['argv'])&&(process[_0x4a5662(0x10a)][_0x4a5662(0x8b)]=helper['getConfigPath'](process['argv']));helper[_0x4a5662(0xdb)](),helper[_0x4a5662(0x89)]();const _0x5c3b6b=new BrowserStackSetup(_0x113d60[_0x4a5662(0xaa)],FRAMEWORKS[_0x4a5662(0x75)]);try{if(!_0x5c3b6b[_0x4a5662(0x73)]||!_0x5c3b6b[_0x4a5662(0x73)][_0x4a5662(0xb4)]){const _0x3519db=_0x3b9830[_0x4a5662(0xf0)],_0x168f90=process[_0x4a5662(0x10a)][_0x4a5662(0x93)]||'',_0x5afd4a=_0x168f90[_0x4a5662(0xa5)](',')[_0x4a5662(0xfb)](_0x535238=>_0x535238[_0x4a5662(0x8e)]())[_0x4a5662(0xde)](Boolean),_0x56a47c=_0x5afd4a[_0x4a5662(0xf5)](_0x1dfd29=>_0x1dfd29==='-pw:channel'||_0x1dfd29==='-pw:*'||_0x1dfd29==='-*'),_0x1d958e=_0x5afd4a['some'](_0x225276=>_0x225276===_0x3519db||_0x225276===_0x4a5662(0xec)||_0x225276==='*');if(_0x3b9830[_0x4a5662(0x7a)](!_0x56a47c,!_0x1d958e)){const _0x361f55=helper[_0x4a5662(0xb0)]();_0x361f55&&(process[_0x4a5662(0x10a)]['DEBUG']=_0x168f90?_0x168f90+','+_0x3519db:_0x3519db,!process[_0x4a5662(0x10a)][_0x4a5662(0xa1)]&&(process[_0x4a5662(0x10a)][_0x4a5662(0xa1)]=_0x361f55));}}}catch(_0x2808a9){logger[_0x4a5662(0xd1)](_0x4a5662(0x88)+util[_0x4a5662(0xc9)](_0x2808a9));}return _0x3b9830[_0x4a5662(0x106)](captureError,_0x3b9830[_0x4a5662(0x112)](require,_0x3b9830['gAMov']),_0x113d60[_0x4a5662(0xaa)],_0x5c3b6b,_0x510790,!![]);})['command']('testcafe',Constants[a60_0x21932d(0x91)][a60_0x21932d(0xed)],function(_0xac42a0){const _0x2c6adc=a60_0x21932d,_0x26bf83={'rJQEI':_0x2c6adc(0x101),'IwuwN':function(_0x22e2c3,_0xf2ac03,_0x29f5dd,_0x397bf0,_0x327413,_0x4e32b9){return _0x22e2c3(_0xf2ac03,_0x29f5dd,_0x397bf0,_0x327413,_0x4e32b9);},'sfevT':function(_0xe0ecf8,_0x56b4b6){return _0xe0ecf8(_0x56b4b6);},'iwRAQ':_0x2c6adc(0xfe)},_0x3ab12d=process['argv'][_0x2c6adc(0xd6)](0x2),_0x36a8d9=new BrowserStackSetup(_0xac42a0['argv'],_0x26bf83[_0x2c6adc(0xbd)]);return _0x26bf83[_0x2c6adc(0xb2)](captureError,_0x26bf83['sfevT'](require,_0x26bf83['iwRAQ']),_0xac42a0[_0x2c6adc(0xaa)],_0x36a8d9,_0x3ab12d,!![]);})[a60_0x21932d(0xeb)](a60_0x21932d(0xf8),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x44b945){const _0x450e98=a60_0x21932d,_0x3d56b7={};_0x3d56b7[_0x450e98(0x105)]='help',_0x3d56b7[_0x450e98(0xef)]=_0x450e98(0xbe),_0x3d56b7[_0x450e98(0xf7)]=_0x450e98(0xe0);const _0x2546c3=_0x3d56b7;return _0x44b945[_0x450e98(0xbb)](![])[_0x450e98(0xe2)](_0x2546c3[_0x450e98(0x105)],{'alias':'h','type':_0x2546c3[_0x450e98(0xef)],'describe':_0x2546c3[_0x450e98(0xf7)]})[_0x450e98(0x9c)](![])[_0x450e98(0x7e)](![]);},function(_0x511650){const _0x1aec6a=a60_0x21932d,_0x158189={'syldK':function(_0xcee2e1,_0x12898c,_0x490f07){return _0xcee2e1(_0x12898c,_0x490f07);},'IPSRa':function(_0x3b9660,_0x27485b){return _0x3b9660(_0x27485b);},'hFYYg':'./load/index'},_0x3dc955={};return _0x3dc955[_0x1aec6a(0xaa)]=_0x511650,_0x158189[_0x1aec6a(0x8a)](captureError,_0x158189[_0x1aec6a(0xa9)](require,_0x158189[_0x1aec6a(0xc8)]),_0x3dc955);})[a60_0x21932d(0xeb)](a60_0x21932d(0xb8),Constants[a60_0x21932d(0xd5)][a60_0x21932d(0xed)],function(_0x5c2552){const _0x3d00b2=a60_0x21932d,_0x2d50a8={'hMAel':_0x3d00b2(0xb8),'aFMYa':function(_0x2bd8c8,_0x599658,_0x3372ba,_0x115e0d,_0x22f957){return _0x2bd8c8(_0x599658,_0x3372ba,_0x115e0d,_0x22f957);},'siGAN':function(_0x455742,_0x3af341){return _0x455742(_0x3af341);},'jfgYt':_0x3d00b2(0x94)},_0x5f2145=process['argv'][_0x3d00b2(0xd6)](0x2);helper[_0x3d00b2(0xdb)](),helper[_0x3d00b2(0x89)](),_0x5c2552[_0x3d00b2(0x9c)](![]);const _0x3e8afd=new BrowserStackSetup(_0x5c2552[_0x3d00b2(0xaa)],_0x2d50a8[_0x3d00b2(0x84)]);return _0x2d50a8['aFMYa'](captureError,_0x2d50a8['siGAN'](require,_0x2d50a8['jfgYt']),_0x5c2552[_0x3d00b2(0xaa)],_0x3e8afd,_0x5f2145);})[a60_0x21932d(0xa6)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a60_0x21932d(0x10e)](null)['argv'];function a60_0x5b9d(_0x1fee22,_0x34a906){const _0x1218b5=a60_0x1218();return a60_0x5b9d=function(_0x5b9da6,_0x49c880){_0x5b9da6=_0x5b9da6-0x6b;let _0x170133=_0x1218b5[_0x5b9da6];return _0x170133;},a60_0x5b9d(_0x1fee22,_0x34a906);}!helper[a60_0x21932d(0x6e)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a60_0x21932d(0xc6)](a60_0x21932d(0x104));
|
|
2
|
+
'use strict';const a60_0x38e6ad=a60_0x45ff;(function(_0x3fad2d,_0x309534){const _0x4c835c=a60_0x45ff,_0x13f6c9=_0x3fad2d();while(!![]){try{const _0x3e0629=-parseInt(_0x4c835c(0x1e9))/0x1*(parseInt(_0x4c835c(0x1d1))/0x2)+parseInt(_0x4c835c(0x167))/0x3*(-parseInt(_0x4c835c(0x1a2))/0x4)+-parseInt(_0x4c835c(0x1df))/0x5+-parseInt(_0x4c835c(0x1c1))/0x6*(-parseInt(_0x4c835c(0x19a))/0x7)+-parseInt(_0x4c835c(0x1ed))/0x8*(parseInt(_0x4c835c(0x1b8))/0x9)+-parseInt(_0x4c835c(0x1f9))/0xa*(parseInt(_0x4c835c(0x1b4))/0xb)+parseInt(_0x4c835c(0x195))/0xc;if(_0x3e0629===_0x309534)break;else _0x13f6c9['push'](_0x13f6c9['shift']());}catch(_0x29a327){_0x13f6c9['push'](_0x13f6c9['shift']());}}}(a60_0x56b3,0xed252));const fs=require('fs'),path=require(a60_0x38e6ad(0x1cd)),util=require('util'),spawn=require(a60_0x38e6ad(0x16d))[a60_0x38e6ad(0x175)],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a60_0x38e6ad(0x1e7)),PerformanceEvents=require(a60_0x38e6ad(0x19f))[a60_0x38e6ad(0x162)],helper=require('../helpers/helper'),utilities=require(a60_0x38e6ad(0x1d8)),{default:BrowserStackSetup}=require(a60_0x38e6ad(0x1c9)),{FRAMEWORKS}=require(a60_0x38e6ad(0x154)),runIntegrations=require(a60_0x38e6ad(0x185)),yargs=require('yargs'),Constants=require(a60_0x38e6ad(0x1e0)),BrowserstackCLI=require(a60_0x38e6ad(0x18f)),{isNewman}=require(a60_0x38e6ad(0x164)),logger=require(a60_0x38e6ad(0x171))[a60_0x38e6ad(0x1b5)],origArgs=Object[a60_0x38e6ad(0x1af)]([],process[a60_0x38e6ad(0x192)]),captureError=async(_0x3db494,_0x554dbe,_0x43e968,_0x432004=null,_0x42bf88=![])=>{const _0x41fdc3=a60_0x38e6ad,_0x900c1e={'XozXk':function(_0x3eb82d,_0x23187d,_0x2eb088,_0x5d30ff){return _0x3eb82d(_0x23187d,_0x2eb088,_0x5d30ff);},'mEvrL':_0x41fdc3(0x1cf),'OlOnj':function(_0x263d03,_0x31d869){return _0x263d03&&_0x31d869;}};let _0x476678=![];try{logger[_0x41fdc3(0x166)](_0x41fdc3(0x156)+origArgs[_0x41fdc3(0x174)]('\x20')),await _0x900c1e[_0x41fdc3(0x1a1)](_0x3db494,_0x554dbe,_0x432004,_0x43e968);}catch(_0x10ee7f){process[_0x41fdc3(0x18b)]=0x1,logger[_0x41fdc3(0x1a9)](util[_0x41fdc3(0x182)](_0x10ee7f));const _0x3b5261={'globalException':util[_0x41fdc3(0x182)]('%j',_0x10ee7f)};PerformanceTester[_0x41fdc3(0x1be)](PerformanceEvents[_0x41fdc3(0x1e3)],![],util[_0x41fdc3(0x182)](_0x10ee7f));if(helper[_0x41fdc3(0x1aa)](global[_0x41fdc3(0x1c4)])&&helper[_0x41fdc3(0x1aa)](global[_0x41fdc3(0x18a)]))return;try{utilities[_0x41fdc3(0x160)](_0x900c1e[_0x41fdc3(0x1e6)],_0x3b5261,global[_0x41fdc3(0x1c4)],global[_0x41fdc3(0x18a)]);}catch(_0x160fbd){logger[_0x41fdc3(0x203)](_0x41fdc3(0x1bb)+_0x160fbd[_0x41fdc3(0x1dd)]);}if(!_0x42bf88)try{await BrowserstackCLI['getInstance']()['stop'](),_0x476678=!![];}catch(_0x5249f4){logger['debug'](_0x41fdc3(0x1cc)+_0x5249f4[_0x41fdc3(0x1dd)]);}try{await helper[_0x41fdc3(0x202)](global[_0x41fdc3(0x1c4)]);}catch(_0x1770fe){logger[_0x41fdc3(0x203)](_0x41fdc3(0x204)+_0x1770fe[_0x41fdc3(0x1dd)]);}PerformanceTester[_0x41fdc3(0x1be)](PerformanceEvents[_0x41fdc3(0x1e3)],![],util['format'](_0x10ee7f));}finally{_0x900c1e[_0x41fdc3(0x184)](!_0x42bf88,!_0x476678)&&await BrowserstackCLI[_0x41fdc3(0x19e)]()[_0x41fdc3(0x1c3)](),PerformanceTester[_0x41fdc3(0x178)](PerformanceEvents[_0x41fdc3(0x1cb)]);}};try{const browserstackFolderPath=path['join'](helper[a60_0x38e6ad(0x177)](),'.browserstack');if(fs[a60_0x38e6ad(0x1a0)](browserstackFolderPath)){const filePath=path[a60_0x38e6ad(0x174)](browserstackFolderPath,a60_0x38e6ad(0x17a));fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a60_0x5c17f1){logger[a60_0x38e6ad(0x203)](a60_0x38e6ad(0x17f)+a60_0x5c17f1[a60_0x38e6ad(0x199)]);}process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1bc)](a60_0x38e6ad(0x1d0))&&(!process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1bc)]('--opts')&&process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1c2)](a60_0x38e6ad(0x1c0)),!process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x189)](_0x18da6e=>_0x18da6e[a60_0x38e6ad(0x1bc)](a60_0x38e6ad(0x169)))&&process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1c2)](a60_0x38e6ad(0x1b1)),!process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1bc)](a60_0x38e6ad(0x1fa))&&process['argv'][a60_0x38e6ad(0x1c2)](a60_0x38e6ad(0x1e2)),helper['findAndReplace'](process[a60_0x38e6ad(0x192)],a60_0x38e6ad(0x158),a60_0x38e6ad(0x1ad)));PerformanceTester[a60_0x38e6ad(0x178)](PerformanceEvents['SDK_SETUP']);function a60_0x45ff(_0x1288e0,_0x5673b8){const _0x56b3e7=a60_0x56b3();return a60_0x45ff=function(_0x45ffe9,_0x3a09e8){_0x45ffe9=_0x45ffe9-0x152;let _0x102cb8=_0x56b3e7[_0x45ffe9];return _0x102cb8;},a60_0x45ff(_0x1288e0,_0x5673b8);}const a60_0x471ddb={};function a60_0x56b3(){const _0x2a9133=['config','nightwatch','./load/index','split','filter','../helpers/BrowserStackSetup','CBXjN','SDK_CLEANUP','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','path','command','SDKTestSuccessful','mocha','1088980WoNkpU','some','LtOlc','alias','Runs\x20the\x20binary\x20with\x20load\x20command','TESTCAFE','NIWlv','../helpers/utilities','ZJeol','UDoVn','zSaHF','setTestObservabilityDisable','stack','node','1468835TDDRLi','./utils/constants','MOCHA','--no-package','SDK_SETUP','./playwright/command','PLAYWRIGHT','mEvrL','../helpers/performance/performance-tester','owSCa','1gPsUle','strict','pw:channel','jasmine','1489872FdktOk','run','INTEGRATIONS','PrBgg','vphWT','WEUgc','./codeceptjs/command','uZznn','INFO','usage','./cucumber-js/command','VANILLA','399010xNJLcJ','--package','jest','version','mocha/lib/cli/run.js','rugvs','NIGHTWATCH','MqSqQ','bWBsK','sendLogs','debug','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','./mocha/command','kXEfo','testcafe','help','GHsSk','../helpers/test-observability/constants','VERSION','Running\x20SDK\x20with\x20args\x20','HsqUG','--require','QlRjs','BROWSERSTACK_CONFIG_FILE_PATH','kktlt','DEBUG','trim','showHelpOnFail','option','fireFunnelTestEvent','map','EVENTS','cucumber-js','./newman/helper','RIgLw','info','9czICoB','pw:*','--config','codeceptjs','./jest/command','dot-notation','child_process','gvCoO','ZawEq','UeZAP','../helpers/logger','wrap','iTymE','join','spawn','mocha/lib/cli/commands.js','homedir','start','CODECEPTJS','.local-not-set.json','slice','MEkeG','sPOwO','NyAqU','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha/lib/cli/cli.js','ybpbH','format','JASMINE','OlOnj','./integrations/command','UXdXM','playwright','GveOo','find','framework','exitCode','load\x20[subcommand]','NEWMAN','nYFCI','./v2/browserstackCLI','parserConfiguration','BDYKb','argv','handler','env','37496796glmfUT','-pw:*','TVnzS','./nightwatch/command','message','7AtBRzV','pyHuv','-pw:channel','QkNLn','getInstance','../helpers/performance/constants','existsSync','XozXk','46572mwecnJ','idFHz','vPuax','./newman/command','getConfigPath','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Show\x20help','error','isUndefined','FLnFc','./vanilla-js/command','--mochaRequire','ats','assign','boolean','--no-config','tssBd','vlqlt','374lnmHqy','winstonLogger','integrations','newman','81AqoXns','sOPRe','pw:channel\x20auto-capture\x20seed\x20failed:\x20','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','includes','./testcafe/command','end','setBrowserStackAutomationDisable','--no-opts','10515234UqyeHp','push','stop'];a60_0x56b3=function(){return _0x2a9133;};return a60_0x56b3();}a60_0x471ddb[a60_0x38e6ad(0x16c)]=![];const argv=yargs[a60_0x38e6ad(0x190)](a60_0x471ddb)[a60_0x38e6ad(0x1f6)]('usage:\x20$0\x20<command>\x20[args]')['alias']('v',a60_0x38e6ad(0x1fc))['describe']('v')[a60_0x38e6ad(0x1d4)]('h',a60_0x38e6ad(0x152))['help'](a60_0x38e6ad(0x152))[a60_0x38e6ad(0x15e)](!![],Constants[a60_0x38e6ad(0x155)]['HELP'])[a60_0x38e6ad(0x1ce)]('jest',Constants['JEST']['INFO'],function(_0x1a1d7e){const _0x4b2124=a60_0x38e6ad,_0x23a63a={'BrIYe':_0x4b2124(0x1fb),'FLnFc':function(_0x5b5f26,_0x1bb554,_0x569bd1,_0x1a640c,_0xfbe2b0,_0x26492e){return _0x5b5f26(_0x1bb554,_0x569bd1,_0x1a640c,_0xfbe2b0,_0x26492e);},'DdwJY':function(_0xc1716c,_0x233c6a){return _0xc1716c(_0x233c6a);},'pyHuv':_0x4b2124(0x16b)},_0x370ecb=process[_0x4b2124(0x192)][_0x4b2124(0x17b)](0x2);helper[_0x4b2124(0x1dc)](),helper['setBrowserStackAutomationDisable'](),_0x1a1d7e[_0x4b2124(0x1ea)](![]);const _0x254aeb=new BrowserStackSetup(_0x1a1d7e[_0x4b2124(0x192)],_0x23a63a['BrIYe']);return _0x23a63a[_0x4b2124(0x1ab)](captureError,_0x23a63a['DdwJY'](require,_0x23a63a[_0x4b2124(0x19b)]),_0x1a1d7e[_0x4b2124(0x192)],_0x254aeb,_0x370ecb,!![]);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1ec),Constants[a60_0x38e6ad(0x183)][a60_0x38e6ad(0x1f5)],function(_0x281a20){const _0x386359=a60_0x38e6ad,_0x34bf71={'RajUV':'jasmine','NyAqU':function(_0x429741,_0x5c5491,_0x20bb52,_0x36241f,_0x4c5778,_0x32f276){return _0x429741(_0x5c5491,_0x20bb52,_0x36241f,_0x4c5778,_0x32f276);},'iRQkS':function(_0x147fa5,_0xf2ba89){return _0x147fa5(_0xf2ba89);},'ZJeol':'./jasmine/command'},_0xff9fa4=process['argv'][_0x386359(0x17b)](0x2);helper[_0x386359(0x1dc)](),helper[_0x386359(0x1bf)](),_0x281a20[_0x386359(0x1ea)](![]);const _0x5cea53=new BrowserStackSetup(_0x281a20[_0x386359(0x192)],_0x34bf71['RajUV']);return _0x34bf71[_0x386359(0x17e)](captureError,_0x34bf71['iRQkS'](require,_0x34bf71[_0x386359(0x1d9)]),_0x281a20[_0x386359(0x192)],_0x5cea53,_0xff9fa4,!![]);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1d0),Constants[a60_0x38e6ad(0x1e1)][a60_0x38e6ad(0x1f5)],_0x39e8a8=>{const _0x52da8c=a60_0x38e6ad,_0x5beec9={'AaMsf':function(_0x259fca,_0x282d4f,_0x58727b,_0x3913f5){return _0x259fca(_0x282d4f,_0x58727b,_0x3913f5);},'AMuPS':function(_0x2fec8c,_0x4e9ad4){return _0x2fec8c(_0x4e9ad4);},'rugvs':_0x52da8c(0x205),'kktlt':_0x52da8c(0x1d0),'idFHz':'Parsing\x20command\x20line\x20arguments','CBXjN':function(_0x21d078,_0x3de4c6,_0xc18304){return _0x21d078(_0x3de4c6,_0xc18304);},'PrBgg':_0x52da8c(0x1fd),'tssBd':function(_0x20073b,_0x39445c,_0x384f28){return _0x20073b(_0x39445c,_0x384f28);},'HsqUG':_0x52da8c(0x176),'UeZAP':_0x52da8c(0x180),'KZpsx':function(_0x31989e){return _0x31989e();}};process[_0x52da8c(0x192)]=process[_0x52da8c(0x192)][_0x52da8c(0x17b)](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x7655d7=new BrowserStackSetup(_0x39e8a8[_0x52da8c(0x192)],_0x5beec9[_0x52da8c(0x15b)]);logger[_0x52da8c(0x203)](_0x5beec9[_0x52da8c(0x1a3)]);const _0x4b6db4=_0x5beec9[_0x52da8c(0x1ca)](requireModule,_0x5beec9[_0x52da8c(0x1f0)],_0x5beec9['kktlt']),_0x59d38c=_0x5beec9[_0x52da8c(0x1b2)](requireModule,_0x5beec9[_0x52da8c(0x157)],_0x5beec9[_0x52da8c(0x15b)]);delete _0x4b6db4[_0x52da8c(0x193)],_0x4b6db4[_0x52da8c(0x193)]=function(_0x895c8e){const _0x103927=_0x52da8c;return _0x5beec9['AaMsf'](captureError,_0x5beec9['AMuPS'](require,_0x5beec9[_0x103927(0x1fe)]),_0x895c8e,_0x7655d7);},_0x59d38c[_0x52da8c(0x1ee)]=_0x4b6db4;const {main:_0x3d2c75}=_0x5beec9[_0x52da8c(0x1b2)](requireModule,_0x5beec9[_0x52da8c(0x170)],_0x5beec9[_0x52da8c(0x15b)]);_0x5beec9['KZpsx'](_0x3d2c75);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x163),Constants['CUCUMBER'][a60_0x38e6ad(0x1f5)],function(_0x23738a){const _0x4a1c57=a60_0x38e6ad,_0x46885f={'UDoVn':_0x4a1c57(0x163),'vlqlt':function(_0x1f561d,_0x385486,_0x20b0d1,_0x43627a,_0x303234,_0xc8c6c3){return _0x1f561d(_0x385486,_0x20b0d1,_0x43627a,_0x303234,_0xc8c6c3);},'vphWT':function(_0x1f653e,_0x2028ea){return _0x1f653e(_0x2028ea);},'sOPRe':_0x4a1c57(0x1f7)},_0x56bbc9=process[_0x4a1c57(0x192)][_0x4a1c57(0x17b)](0x2),_0x40c390=new BrowserStackSetup(_0x23738a[_0x4a1c57(0x192)],_0x46885f[_0x4a1c57(0x1da)]);return _0x46885f[_0x4a1c57(0x1b3)](captureError,_0x46885f[_0x4a1c57(0x1f1)](require,_0x46885f[_0x4a1c57(0x1b9)]),_0x23738a[_0x4a1c57(0x192)],_0x40c390,_0x56bbc9,!![]);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1de),Constants[a60_0x38e6ad(0x1f8)]['INFO'],function(_0x1846cc){const _0x400e3c=a60_0x38e6ad,_0x45041d={'NCZCO':'vanilla','BDYKb':function(_0x9747f8,_0x16c852){return _0x9747f8(_0x16c852);},'vPuax':'newman','MqSqQ':function(_0x1b9207,_0x5e398b,_0x4685b5,_0x39565f,_0x3e30c7){return _0x1b9207(_0x5e398b,_0x4685b5,_0x39565f,_0x3e30c7);},'QeKmF':function(_0x5e769c,_0x56478f){return _0x5e769c(_0x56478f);},'vRkIS':'./newman/command','bWBsK':function(_0x4c2f6f,_0x1ee586,_0x7d23b9,_0x1106c3,_0x23d97c){return _0x4c2f6f(_0x1ee586,_0x7d23b9,_0x1106c3,_0x23d97c);},'OliHd':_0x400e3c(0x1ac)},_0x2c7d87=process[_0x400e3c(0x192)]['slice'](0x2),_0x5a8993=new BrowserStackSetup(_0x1846cc[_0x400e3c(0x192)],_0x45041d['NCZCO']),_0x43702b=_0x5a8993?_0x5a8993[_0x400e3c(0x1c4)]:null;if(_0x45041d['BDYKb'](isNewman,_0x43702b))return _0x5a8993[_0x400e3c(0x18a)]=_0x45041d['vPuax'],global[_0x400e3c(0x18a)]=_0x45041d[_0x400e3c(0x1a4)],_0x45041d[_0x400e3c(0x200)](captureError,_0x45041d['QeKmF'](require,_0x45041d['vRkIS']),_0x1846cc['argv'],_0x5a8993,_0x2c7d87);return _0x45041d[_0x400e3c(0x201)](captureError,_0x45041d[_0x400e3c(0x191)](require,_0x45041d['OliHd']),_0x1846cc[_0x400e3c(0x192)],_0x5a8993,_0x2c7d87);})['command'](a60_0x38e6ad(0x1c5),Constants[a60_0x38e6ad(0x1ff)][a60_0x38e6ad(0x1f5)],function(_0x43d807){const _0x59357a=a60_0x38e6ad,_0x406f89={'QlRjs':'nightwatch','RIgLw':function(_0x55bc88,_0x17615a,_0x23a41c,_0x48174e,_0x326e2f){return _0x55bc88(_0x17615a,_0x23a41c,_0x48174e,_0x326e2f);},'nYFCI':function(_0xb01910,_0x4c8002){return _0xb01910(_0x4c8002);},'NIWlv':_0x59357a(0x198)},_0x3136d2=process[_0x59357a(0x192)][_0x59357a(0x17b)](0x2),_0x2ab148=new BrowserStackSetup(_0x43d807[_0x59357a(0x192)],_0x406f89[_0x59357a(0x159)]);return _0x406f89[_0x59357a(0x165)](captureError,_0x406f89[_0x59357a(0x18e)](require,_0x406f89[_0x59357a(0x1d7)]),_0x43d807[_0x59357a(0x192)],_0x2ab148,_0x3136d2);})['command'](a60_0x38e6ad(0x16a),Constants[a60_0x38e6ad(0x179)][a60_0x38e6ad(0x1f5)],function(_0x9b25bc){const _0x3bcc18=a60_0x38e6ad,_0x407745={'DKFSa':'codeceptjs','UXdXM':function(_0x2fb6fc,_0x63aaa7,_0x3b13e0,_0x2586e0,_0x505496){return _0x2fb6fc(_0x63aaa7,_0x3b13e0,_0x2586e0,_0x505496);},'GHsSk':function(_0x59c44c,_0x14a71d){return _0x59c44c(_0x14a71d);},'kXEfo':_0x3bcc18(0x1f3)},_0x44a15c=process[_0x3bcc18(0x192)]['slice'](0x2),_0x517472=new BrowserStackSetup(_0x9b25bc[_0x3bcc18(0x192)],_0x407745['DKFSa']);return _0x407745[_0x3bcc18(0x186)](captureError,_0x407745[_0x3bcc18(0x153)](require,_0x407745[_0x3bcc18(0x206)]),_0x9b25bc[_0x3bcc18(0x192)],_0x517472,_0x44a15c);})['command']('ats',Constants['HST'][a60_0x38e6ad(0x1f5)],function(_0x3d03ee){const _0x48a6bc=a60_0x38e6ad,_0x5c5659={'Xmfcm':function(_0x43943f,_0x1213d5,_0x2377bc){return _0x43943f(_0x1213d5,_0x2377bc);},'GveOo':function(_0x4972dc,_0x22066f){return _0x4972dc(_0x22066f);},'PFIVz':'../../ats/src/index'},_0x483efe=process[_0x48a6bc(0x192)][_0x48a6bc(0x17b)](0x2);return _0x5c5659['Xmfcm'](captureError,_0x5c5659[_0x48a6bc(0x188)](require,_0x5c5659['PFIVz']),_0x3d03ee);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1b6),Constants[a60_0x38e6ad(0x1ef)][a60_0x38e6ad(0x1f5)],function(_0x33af9f){const _0x464092={'axMxS':function(_0x3f58e2,_0xb140e1){return _0x3f58e2(_0xb140e1);}};return _0x464092['axMxS'](runIntegrations,_0x33af9f);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x187),Constants[a60_0x38e6ad(0x1e5)]['INFO'],function(_0x4a37ac){const _0x32fbea=a60_0x38e6ad,_0x3d54ee={'gvCoO':_0x32fbea(0x1eb),'TVnzS':function(_0xf7d5bc,_0x569921){return _0xf7d5bc&&_0x569921;},'ASGYD':function(_0x1ae1ed,_0x552704,_0x4faa5e,_0x44c472,_0x420647,_0x334aef){return _0x1ae1ed(_0x552704,_0x4faa5e,_0x44c472,_0x420647,_0x334aef);},'ybpbH':function(_0x4ab462,_0x38cdfb){return _0x4ab462(_0x38cdfb);},'ZawEq':_0x32fbea(0x1e4)},_0x418054=process[_0x32fbea(0x192)][_0x32fbea(0x17b)](0x2);helper['getConfigPath'](process[_0x32fbea(0x192)])&&(process[_0x32fbea(0x194)][_0x32fbea(0x15a)]=helper[_0x32fbea(0x1a6)](process[_0x32fbea(0x192)]));helper[_0x32fbea(0x1dc)](),helper[_0x32fbea(0x1bf)]();const _0x25f468=new BrowserStackSetup(_0x4a37ac['argv'],FRAMEWORKS[_0x32fbea(0x1e5)]);try{if(!_0x25f468[_0x32fbea(0x1c4)]||!_0x25f468[_0x32fbea(0x1c4)]['disableAutoCaptureLogs']){const _0x45eaf0=_0x3d54ee[_0x32fbea(0x16e)],_0x2ebc4e=process[_0x32fbea(0x194)][_0x32fbea(0x15c)]||'',_0x3499f7=_0x2ebc4e[_0x32fbea(0x1c7)](',')[_0x32fbea(0x161)](_0x2e6a9a=>_0x2e6a9a[_0x32fbea(0x15d)]())[_0x32fbea(0x1c8)](Boolean),_0x17be41=_0x3499f7[_0x32fbea(0x1d2)](_0x2594ec=>_0x2594ec===_0x32fbea(0x19c)||_0x2594ec===_0x32fbea(0x196)||_0x2594ec==='-*'),_0x36e4a7=_0x3499f7[_0x32fbea(0x1d2)](_0x5067f3=>_0x5067f3===_0x45eaf0||_0x5067f3===_0x32fbea(0x168)||_0x5067f3==='*');if(_0x3d54ee[_0x32fbea(0x197)](!_0x17be41,!_0x36e4a7)){const _0x2da6a1=helper['getPwChannelLogPath']();_0x2da6a1&&(process[_0x32fbea(0x194)]['DEBUG']=_0x2ebc4e?_0x2ebc4e+','+_0x45eaf0:_0x45eaf0,!process[_0x32fbea(0x194)]['DEBUG_FILE']&&(process[_0x32fbea(0x194)]['DEBUG_FILE']=_0x2da6a1));}}}catch(_0x55c48d){logger[_0x32fbea(0x203)](_0x32fbea(0x1ba)+util[_0x32fbea(0x182)](_0x55c48d));}return _0x3d54ee['ASGYD'](captureError,_0x3d54ee[_0x32fbea(0x181)](require,_0x3d54ee[_0x32fbea(0x16f)]),_0x4a37ac[_0x32fbea(0x192)],_0x25f468,_0x418054,!![]);})['command'](a60_0x38e6ad(0x207),Constants[a60_0x38e6ad(0x1d6)][a60_0x38e6ad(0x1f5)],function(_0xb354be){const _0x13a003=a60_0x38e6ad,_0x11dc86={'owSCa':_0x13a003(0x207),'LtOlc':function(_0x39dabc,_0x2a7a2d,_0x24622e,_0x585703,_0x31a78e,_0x3534c7){return _0x39dabc(_0x2a7a2d,_0x24622e,_0x585703,_0x31a78e,_0x3534c7);},'WEUgc':function(_0x54da79,_0xeaa1ce){return _0x54da79(_0xeaa1ce);},'WwKRR':_0x13a003(0x1bd)},_0x587af2=process[_0x13a003(0x192)][_0x13a003(0x17b)](0x2),_0x147d40=new BrowserStackSetup(_0xb354be['argv'],_0x11dc86[_0x13a003(0x1e8)]);return _0x11dc86[_0x13a003(0x1d3)](captureError,_0x11dc86[_0x13a003(0x1f2)](require,_0x11dc86['WwKRR']),_0xb354be[_0x13a003(0x192)],_0x147d40,_0x587af2,!![]);})['command'](a60_0x38e6ad(0x18c),a60_0x38e6ad(0x1d5),function(_0x4ce8ef){const _0x55d883=a60_0x38e6ad,_0x4fb3e2={};_0x4fb3e2['PKFUl']='help',_0x4fb3e2[_0x55d883(0x17c)]=_0x55d883(0x1b0),_0x4fb3e2['iTymE']=_0x55d883(0x1a8);const _0x18a966=_0x4fb3e2;return _0x4ce8ef[_0x55d883(0x152)](![])[_0x55d883(0x15f)](_0x18a966['PKFUl'],{'alias':'h','type':_0x18a966[_0x55d883(0x17c)],'describe':_0x18a966[_0x55d883(0x173)]})[_0x55d883(0x1ea)](![])['exitProcess'](![]);},function(_0x296d9f){const _0x5449a5=a60_0x38e6ad,_0xb3987c={'hMyWk':function(_0x236700,_0x1320ff,_0x2a5f89){return _0x236700(_0x1320ff,_0x2a5f89);},'RPauu':function(_0x20bba0,_0x2a7474){return _0x20bba0(_0x2a7474);},'QkNLn':_0x5449a5(0x1c6)},_0x14691e={};return _0x14691e[_0x5449a5(0x192)]=_0x296d9f,_0xb3987c['hMyWk'](captureError,_0xb3987c['RPauu'](require,_0xb3987c[_0x5449a5(0x19d)]),_0x14691e);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1b7),Constants[a60_0x38e6ad(0x18d)][a60_0x38e6ad(0x1f5)],function(_0x35b19b){const _0x5a1f26=a60_0x38e6ad,_0x15bb63={'rSrJV':_0x5a1f26(0x1b7),'zSaHF':function(_0x985ec,_0x4a314f,_0x4d8635,_0x5a1908,_0x311e3d){return _0x985ec(_0x4a314f,_0x4d8635,_0x5a1908,_0x311e3d);},'uZznn':function(_0x20cdc9,_0x37c412){return _0x20cdc9(_0x37c412);},'sPOwO':_0x5a1f26(0x1a5)},_0x4ea402=process[_0x5a1f26(0x192)][_0x5a1f26(0x17b)](0x2);helper[_0x5a1f26(0x1dc)](),helper['setBrowserStackAutomationDisable'](),_0x35b19b[_0x5a1f26(0x1ea)](![]);const _0x4955eb=new BrowserStackSetup(_0x35b19b['argv'],_0x15bb63['rSrJV']);return _0x15bb63[_0x5a1f26(0x1db)](captureError,_0x15bb63[_0x5a1f26(0x1f4)](require,_0x15bb63[_0x5a1f26(0x17d)]),_0x35b19b[_0x5a1f26(0x192)],_0x4955eb,_0x4ea402);})['demandCommand'](0x1,a60_0x38e6ad(0x1a7))[a60_0x38e6ad(0x172)](null)[a60_0x38e6ad(0x192)];!helper[a60_0x38e6ad(0x1aa)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x38e6ad(0x1ae)&&console[a60_0x38e6ad(0x1a9)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|