browserstack-node-sdk 1.66.2 → 1.66.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.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 a58_0x19c394=a58_0x1d8a;function a58_0x1d8a(_0x34297c,_0x37c522){const _0x3fec07=a58_0x3fec();return a58_0x1d8a=function(_0x1d8aaf,_0xd5d258){_0x1d8aaf=_0x1d8aaf-0x187;let _0x383bbf=_0x3fec07[_0x1d8aaf];return _0x383bbf;},a58_0x1d8a(_0x34297c,_0x37c522);}function a58_0x3fec(){const _0x1c9625=['getTestUUID','env','shutdown','BS_TESTOPS_BUILD_HASHED_ID','_test','path','Gwsjd','ianXY','homedir','../../../helpers/test-observability/constants','jCORb','cIVpE','SLzuO','10025896rPeJWj','3948ZxQXlT','DNtQR','_integrations.json','BROWSERSTACK_TESTHUB_UUID_SEED','writeFileSync','tSToa','undefined','tests','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','setTestDetails','22RQKACG','7106830RnKOCy','9ksKloB','_projectId','LbWcU','tAUps','null','string','Error\x20reading\x20trace\x20file\x20paths:\x20%s','PsdpX','xFohO','format','setAccessibilityPlatformValidation','OWdSY','push','yoZoV','join','values','error','.browserstack','default','WjBxh','IdWfU','BiVIG','forEach','getProjectIdFromTestInfo','uuid','getFilePath','exports','getTestIdFromTestInfo','getDirPath','NAIgx','utf8','_platformDetails.json','Error\x20handling\x20trace\x20file\x20paths:\x20','10152660upoNbx','NdFIh','getTraceFilePaths','trace_','filePath','getIntegrations','existsSync','stringify','WSUCV','getAccessibilityPlatformValidation','qKZxW','toString','mCvss','134018HvlcKn','getStoreDirPath','hqNlR','getStoreDirSuffix','debug','setIntegrations','684RpUCTh','mkdirSync','getTestRunIdFromTestInfo','PjmWN','6eHDEaK','project','winstonLogger','dMNQT','force','parse','../../../helpers/logger','isValidEnvValue','getTraceZipDir','recursive','endsWith','ROoHn','getTestDetails','zgZQL','readFileSync','setup','_traceZipPaths.json','appendToTracePaths','message','Error\x20writing\x20trace\x20file:\x20','nByok','1308640EofyvF','.json','45562957MZUeff'];a58_0x3fec=function(){return _0x1c9625;};return a58_0x3fec();}(function(_0x4d768b,_0x5d990b){const _0x4931bb=a58_0x1d8a,_0x153278=_0x4d768b();while(!![]){try{const _0x5e3816=-parseInt(_0x4931bb(0x1ae))/0x1*(parseInt(_0x4931bb(0x1de))/0x2)+parseInt(_0x4931bb(0x1a4))/0x3*(-parseInt(_0x4931bb(0x1e4))/0x4)+parseInt(_0x4931bb(0x1af))/0x5*(-parseInt(_0x4931bb(0x1e8))/0x6)+-parseInt(_0x4931bb(0x1d1))/0x7+-parseInt(_0x4931bb(0x1a3))/0x8*(-parseInt(_0x4931bb(0x1b0))/0x9)+parseInt(_0x4931bb(0x193))/0xa+parseInt(_0x4931bb(0x195))/0xb;if(_0x5e3816===_0x5d990b)break;else _0x153278['push'](_0x153278['shift']());}catch(_0x12fac5){_0x153278['push'](_0x153278['shift']());}}}(a58_0x3fec,0xe9348));const fs=require('fs'),path=require(a58_0x19c394(0x19b)),{v4:uuidv4}=require(a58_0x19c394(0x1c8)),{TEMP_STORE_DIR_NAME}=require(a58_0x19c394(0x19f)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a58_0x19c394(0x1ee))[a58_0x19c394(0x1ea)],{getLogDir}=require('../../../helpers/logger'),util=require('util'),helper=require('../../../helpers/helper'),{deterministicTestUUID}=require('../../../helpers/test-observability/utils');class TestDetails{static ['tests']={};static[a58_0x19c394(0x18d)](){const _0x2c7c7c=a58_0x19c394;this[_0x2c7c7c(0x198)]();const _0x4a0b39={};_0x4a0b39[_0x2c7c7c(0x187)]=!![],fs[_0x2c7c7c(0x1e5)](this['getDirPath'](),_0x4a0b39);const _0xbccb92={};_0xbccb92[_0x2c7c7c(0x187)]=!![],fs[_0x2c7c7c(0x1e5)](this['getTraceZipDir'](),_0xbccb92);}static[a58_0x19c394(0x1e1)](){const _0x18662b=a58_0x19c394,_0x157438={};_0x157438[_0x18662b(0x19d)]=function(_0x1539d8,_0x4ac639){return _0x1539d8!==_0x4ac639;},_0x157438[_0x18662b(0x1b3)]=_0x18662b(0x1b4),_0x157438['WjBxh']=function(_0xd38286,_0x3e2272){return _0xd38286!==_0x3e2272;},_0x157438[_0x18662b(0x1b2)]=_0x18662b(0x1aa),_0x157438[_0x18662b(0x1a9)]=function(_0x34a46c,_0x53101e){return _0x34a46c===_0x53101e;},_0x157438[_0x18662b(0x1c4)]=function(_0x38b28c,_0x10308f){return _0x38b28c===_0x10308f;},_0x157438[_0x18662b(0x1bb)]=_0x18662b(0x1c2);const _0x3e8b82=_0x157438,_0x22646d=process[_0x18662b(0x197)]['BROWSERSTACK_TESTHUB_UUID_SEED'],_0x3c694a=_0x22646d&&_0x3e8b82[_0x18662b(0x19d)](_0x22646d,_0x3e8b82[_0x18662b(0x1b3)])&&_0x3e8b82[_0x18662b(0x1c3)](_0x22646d,_0x3e8b82['LbWcU'])?_0x22646d:process[_0x18662b(0x197)][_0x18662b(0x199)];if(!_0x3c694a||_0x3e8b82[_0x18662b(0x1a9)](_0x3c694a,_0x3e8b82['LbWcU'])||_0x3e8b82[_0x18662b(0x1c4)](_0x3c694a,_0x3e8b82[_0x18662b(0x1b3)]))return _0x3e8b82[_0x18662b(0x1bb)];return _0x3c694a;}static['getStoreDirName'](){const _0x5ee754=a58_0x19c394,_0x2d1584={};_0x2d1584[_0x5ee754(0x1eb)]=function(_0x1d9bda,_0x4411a5){return _0x1d9bda+_0x4411a5;};const _0x24f4cc=_0x2d1584;return _0x24f4cc[_0x5ee754(0x1eb)](_0x24f4cc['dMNQT'](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x5ee754(0x1e1)]());}static[a58_0x19c394(0x1df)](){const _0x77cb8d=a58_0x19c394,_0xdafd9d={};_0xdafd9d[_0x77cb8d(0x1e0)]=function(_0x41ea94,_0x2cff84){return _0x41ea94+_0x2cff84;};const _0x5152fc=_0xdafd9d;return path['join'](_0x5152fc[_0x77cb8d(0x1e0)](_0x5152fc[_0x77cb8d(0x1e0)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x77cb8d(0x1e1)]()));}static[a58_0x19c394(0x1f0)](){const _0xf47b2e=a58_0x19c394,_0x51e826={};_0x51e826[_0xf47b2e(0x1dd)]='traceZipPaths';const _0x466b02=_0x51e826;return path[_0xf47b2e(0x1be)](this[_0xf47b2e(0x1df)](),_0x466b02[_0xf47b2e(0x1dd)]);}static['getDirPath'](){return TestDetails['getStoreDirName']();}static[a58_0x19c394(0x1c9)](_0x46a556){const _0x48535c=a58_0x19c394,_0x4adddf={};_0x4adddf[_0x48535c(0x1d9)]=function(_0x4da87e,_0x3dc7c2){return _0x4da87e+_0x3dc7c2;},_0x4adddf[_0x48535c(0x1b8)]=_0x48535c(0x194);const _0x537bcb=_0x4adddf;return path[_0x48535c(0x1be)](this[_0x48535c(0x1cc)](),_0x537bcb[_0x48535c(0x1d9)](_0x46a556,_0x537bcb['xFohO']));}static[a58_0x19c394(0x1e6)](_0x2dbeec){const _0x200ef4=a58_0x19c394,_0x53c4d9={};_0x53c4d9[_0x200ef4(0x1cd)]=function(_0x45345f,_0x51b0c6){return _0x45345f+_0x51b0c6;};const _0x2f181d=_0x53c4d9;return _0x2f181d[_0x200ef4(0x1cd)](_0x2f181d[_0x200ef4(0x1cd)](this[_0x200ef4(0x1cb)](_0x2dbeec),'-'),_0x2dbeec['retry']);}static[a58_0x19c394(0x1c7)](_0x135ea7){const _0x4eddf9=a58_0x19c394,_0x50a97b={'DNtQR':function(_0x17680c,_0x2c3b98,_0x5e2398){return _0x17680c(_0x2c3b98,_0x5e2398);},'djWmV':_0x4eddf9(0x19a),'BiVIG':_0x4eddf9(0x1b1),'yoZoV':_0x4eddf9(0x1e9),'PjmWN':'__projectId'};return _0x50a97b[_0x4eddf9(0x1a5)](nestedKeyValue,_0x135ea7,[_0x50a97b['djWmV'],_0x50a97b[_0x4eddf9(0x1c5)]])||_0x50a97b[_0x4eddf9(0x1a5)](nestedKeyValue,_0x135ea7,[_0x50a97b[_0x4eddf9(0x1bd)],_0x50a97b[_0x4eddf9(0x1e7)]]);}static['getTestIdFromTestInfo'](_0x47ffa8){const _0x27ad67=a58_0x19c394,_0x5e148c={'ROoHn':function(_0x5c0eeb,_0x16aff1,_0x429891){return _0x5c0eeb(_0x16aff1,_0x429891);},'SLzuO':'_test'};return _0x5e148c[_0x27ad67(0x189)](nestedKeyValue,_0x47ffa8,[_0x5e148c[_0x27ad67(0x1a2)],'id'])||_0x47ffa8['testId'];}static[a58_0x19c394(0x196)](_0xd5acbb){const _0x536673=a58_0x19c394,_0x415d09={'zrFGX':function(_0x414868,_0x17bcab){return _0x414868===_0x17bcab;},'nByok':_0x536673(0x1b5),'zLLof':function(_0x175094,_0x3dba07){return _0x175094(_0x3dba07);},'NdFIh':function(_0x2d93a8){return _0x2d93a8();}};if(this[_0x536673(0x1ab)][_0xd5acbb]&&_0x415d09['zrFGX'](typeof this[_0x536673(0x1ab)][_0xd5acbb]['uuid'],_0x415d09[_0x536673(0x192)]))return this[_0x536673(0x1ab)][_0xd5acbb]['uuid'];const _0x310b4c=process['env'][_0x536673(0x1a7)];if(helper[_0x536673(0x1ef)](_0x310b4c)){const _0x3dfbac=_0x415d09['zLLof'](deterministicTestUUID,_0xd5acbb),_0x391a37={};_0x391a37[_0x536673(0x1c8)]=_0x3dfbac,this[_0x536673(0x1ab)][_0xd5acbb]=_0x391a37;try{const _0xd105f7={};_0xd105f7[_0x536673(0x187)]=!![],fs[_0x536673(0x1e5)](this[_0x536673(0x1cc)](),_0xd105f7),fs['writeFileSync'](this[_0x536673(0x1c9)](_0xd5acbb),JSON['stringify'](this['tests'][_0xd5acbb]));}catch(_0x286f72){logger[_0x536673(0x1e2)]('getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20'+_0xd5acbb+':\x20'+(_0x286f72&&_0x286f72['message']));}return _0x3dfbac;}const _0x18daab=this[_0x536673(0x1c9)](_0xd5acbb);if(_0x18daab&&fs[_0x536673(0x1d7)](_0x18daab)){const _0x421903=JSON['parse'](fs['readFileSync'](_0x18daab)[_0x536673(0x1dc)]());return this[_0x536673(0x1ab)][_0xd5acbb]=_0x421903,this[_0x536673(0x1ab)][_0xd5acbb][_0x536673(0x1c8)];}return this[_0x536673(0x1ab)][_0xd5acbb]={'uuid':_0x415d09[_0x536673(0x1d2)](uuidv4)},fs[_0x536673(0x1a8)](_0x18daab,JSON[_0x536673(0x1d8)](this['tests'][_0xd5acbb])),this[_0x536673(0x1ab)][_0xd5acbb]['uuid'];}static[a58_0x19c394(0x1da)](_0x30d535){const _0x2f2204=a58_0x19c394,_0x3e8d20=path[_0x2f2204(0x1be)](this['getDirPath'](),_0x30d535+_0x2f2204(0x1cf));if(_0x3e8d20&&fs['existsSync'](_0x3e8d20))return fs['readFileSync'](_0x3e8d20)[_0x2f2204(0x1dc)]();}static[a58_0x19c394(0x1ba)](_0x441f6d,_0x4d9cc6){const _0x109d84=a58_0x19c394;try{const _0x241a4f=this[_0x109d84(0x1cc)](),_0x327dee={};_0x327dee['recursive']=!![],fs[_0x109d84(0x1e5)](_0x241a4f,_0x327dee);const _0xc14999=path[_0x109d84(0x1be)](_0x241a4f,_0x4d9cc6+'_platformDetails.json');fs[_0x109d84(0x1a8)](_0xc14999,_0x441f6d[_0x109d84(0x1dc)]());}catch(_0x360d97){logger[_0x109d84(0x1e2)]('Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20'+_0x4d9cc6+':\x20'+(_0x360d97&&_0x360d97['message']));}}static[a58_0x19c394(0x1d6)](_0x53bf77){const _0x240353=a58_0x19c394,_0x4b0ab3=path[_0x240353(0x1be)](this['getDirPath'](),_0x53bf77+'_integrations.json');if(_0x4b0ab3&&fs[_0x240353(0x1d7)](_0x4b0ab3))try{return JSON[_0x240353(0x1ed)](fs[_0x240353(0x18c)](_0x4b0ab3)[_0x240353(0x1dc)]());}catch(_0x1aac8b){return logger[_0x240353(0x1e2)](_0x240353(0x1ac)+_0x53bf77+':\x20'+(_0x1aac8b&&_0x1aac8b[_0x240353(0x190)])),null;}return null;}static[a58_0x19c394(0x1e3)](_0x2f93fc,_0x26279f){const _0x4aefa2=a58_0x19c394,_0xb39a75={};_0xb39a75[_0x4aefa2(0x1a0)]=function(_0x112869,_0x52cc25){return _0x112869||_0x52cc25;};const _0x233bc4=_0xb39a75;if(_0x233bc4['jCORb'](!_0x2f93fc,!_0x26279f))return;try{const _0x582ee7=this['getDirPath'](),_0x3d6ba0={};_0x3d6ba0['recursive']=!![],fs[_0x4aefa2(0x1e5)](_0x582ee7,_0x3d6ba0);const _0x4763b4=path[_0x4aefa2(0x1be)](_0x582ee7,_0x2f93fc+_0x4aefa2(0x1a6));fs[_0x4aefa2(0x1a8)](_0x4763b4,JSON[_0x4aefa2(0x1d8)](_0x26279f));}catch(_0xd607b){logger['debug']('Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20'+_0x2f93fc+':\x20'+(_0xd607b&&_0xd607b['message']));}}static[a58_0x19c394(0x198)](){const _0x33fd27=a58_0x19c394,_0x128a24={};_0x128a24[_0x33fd27(0x187)]=!![],_0x128a24[_0x33fd27(0x1ec)]=!![],fs['rmSync'](this[_0x33fd27(0x1cc)](),_0x128a24);}static[a58_0x19c394(0x18a)](_0x1726ea){const _0x47a47d=a58_0x19c394;if(this[_0x47a47d(0x1ab)][_0x1726ea])return this[_0x47a47d(0x1ab)][_0x1726ea];const _0x42c9e4=this['getFilePath'](_0x1726ea);if(_0x42c9e4&&fs[_0x47a47d(0x1d7)](_0x42c9e4)){const _0x5cd277=JSON[_0x47a47d(0x1ed)](fs[_0x47a47d(0x18c)](_0x42c9e4)[_0x47a47d(0x1dc)]());return this[_0x47a47d(0x1ab)][_0x1726ea]=_0x5cd277,_0x5cd277;}return{};}static[a58_0x19c394(0x1ad)](_0x14ad20,_0x58f638){const _0x5752a3=a58_0x19c394,_0x26078b=this[_0x5752a3(0x1c9)](_0x14ad20);if(_0x26078b&&fs[_0x5752a3(0x1d7)](_0x26078b)){const _0x5e2719=JSON[_0x5752a3(0x1ed)](fs[_0x5752a3(0x18c)](_0x26078b)[_0x5752a3(0x1dc)]()),_0x5b0f67={..._0x5e2719,..._0x58f638};this[_0x5752a3(0x1ab)][_0x14ad20]=_0x5b0f67;}else this['tests'][_0x14ad20]=_0x58f638;fs[_0x5752a3(0x1a8)](_0x26078b,this[_0x5752a3(0x1ab)][_0x14ad20]);}static['addTraceFilePath'](_0x1545a6){const _0x1041af=a58_0x19c394,_0x4eef56={};_0x4eef56['cIVpE']=_0x1041af(0x1d0);const _0x40f06f=_0x4eef56;try{const _0x21f648=process['pid'],_0x1912e4=path[_0x1041af(0x1be)](TestDetails['getTraceZipDir'](),_0x21f648+'_traceZipPaths.json');let _0x129411=[];_0x1912e4&&fs[_0x1041af(0x1d7)](_0x1912e4)&&(_0x129411=JSON[_0x1041af(0x1ed)](fs[_0x1041af(0x18c)](_0x1912e4)[_0x1041af(0x1dc)]())),!_0x129411['some'](_0x591a46=>_0x591a46[_0x1041af(0x1d5)]===_0x1545a6[_0x1041af(0x1d5)])&&(_0x129411[_0x1041af(0x1bc)](_0x1545a6),fs[_0x1041af(0x1a8)](_0x1912e4,JSON[_0x1041af(0x1d8)](_0x129411)));}catch(_0x2609d8){logger[_0x1041af(0x1c0)](_0x40f06f[_0x1041af(0x1a1)],_0x2609d8);}}static[a58_0x19c394(0x1d3)](){const _0x46874f=a58_0x19c394,_0x34aafa={};_0x34aafa['zgZQL']=_0x46874f(0x18e),_0x34aafa['PsdpX']=_0x46874f(0x1b6);const _0x1bf50e=_0x34aafa,_0x49286f=[];try{const _0x6cbd84=TestDetails[_0x46874f(0x1f0)]();if(_0x6cbd84&&!fs[_0x46874f(0x1d7)](_0x6cbd84))return _0x49286f;const _0x5de771=fs['readdirSync'](_0x6cbd84);_0x5de771['forEach'](_0x3475ab=>{const _0x3313fc=_0x46874f;if(_0x3475ab&&_0x3475ab[_0x3313fc(0x188)](_0x1bf50e[_0x3313fc(0x18b)])){const _0x21199e=JSON[_0x3313fc(0x1ed)](fs['readFileSync'](path[_0x3313fc(0x1be)](_0x6cbd84,_0x3475ab))[_0x3313fc(0x1dc)]());_0x49286f[_0x3313fc(0x1bc)](..._0x21199e);}});}catch(_0x72c240){logger[_0x46874f(0x1c0)](util[_0x46874f(0x1b9)](_0x1bf50e[_0x46874f(0x1b7)],_0x72c240));}const _0xe5f8a8={};return _0x49286f[_0x46874f(0x1c6)](_0xa3009=>{const _0x289f02=_0x46874f;_0xe5f8a8[_0xa3009[_0x289f02(0x1d5)]]=_0xa3009;}),Object[_0x46874f(0x1bf)](_0xe5f8a8);}static[a58_0x19c394(0x18f)](_0x39993e,_0x2853a0){const _0x2a733f=a58_0x19c394,_0xf41c9d={};_0xf41c9d[_0x2a733f(0x1db)]=_0x2a733f(0x1c1),_0xf41c9d[_0x2a733f(0x19c)]=_0x2a733f(0x1ce);const _0x26c6ea=_0xf41c9d;try{const _0x24ab50=path[_0x2a733f(0x1be)](helper[_0x2a733f(0x19e)](),_0x26c6ea[_0x2a733f(0x1db)]);if(!fs[_0x2a733f(0x1d7)](_0x24ab50)){const _0x305ad6={};_0x305ad6['recursive']=!![],fs[_0x2a733f(0x1e5)](_0x24ab50,_0x305ad6);}fs['appendFileSync'](path['join'](_0x24ab50,_0x2a733f(0x1d4)+_0x2853a0+'.txt'),_0x39993e+'\x0a',_0x26c6ea[_0x2a733f(0x19c)]);}catch(_0x160099){console[_0x2a733f(0x1c0)](_0x2a733f(0x191)+_0x160099[_0x2a733f(0x190)]);}}}module[a58_0x19c394(0x1ca)]=TestDetails;
|
|
1
|
+
function a58_0x3b00(_0x415c65,_0x5f1bac){const _0x196b41=a58_0x196b();return a58_0x3b00=function(_0x3b0043,_0x5980da){_0x3b0043=_0x3b0043-0x184;let _0x5d02c1=_0x196b41[_0x3b0043];return _0x5d02c1;},a58_0x3b00(_0x415c65,_0x5f1bac);}const a58_0x2e620c=a58_0x3b00;function a58_0x196b(){const _0x5a6545=['Gfwhm','ttpsc','../../../helpers/logger','_integrations.json','debug','traceZipPaths','readdirSync','getStoreDirName','message','52473bgXqHt','getAccessibilityPlatformValidation','rmSync','IdfSQ','318356pZbAEA','existsSync','VVkPb','jEkeD','getFilePath','hzMwc','.txt','project','stringify','JrwXX','Error\x20writing\x20trace\x20file:\x20','cbGfm','recursive','dQAwh','getDirPath','_test','parse','endsWith','48Dwamsz','Pflni','774112lcTLzk','mkdirSync','tests','JBemI','getTestDetails','isValidEnvValue','writeFileSync','441294MkhhTC','.json','string','env','addTraceFilePath','error','winstonLogger','getStoreDirSuffix','forEach','trace_','30312rXktQk','getIntegrations','UEDHE','values','some','getTraceFilePaths','62588rNpzam','getTestUUID','wobZE','BS_TESTOPS_BUILD_HASHED_ID','Dnhlj','4689LwZqaG','getTestRunIdFromTestInfo','retry','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','filePath','pCxjB','push','undefined','_traceZipPaths.json','default','../../../helpers/test-observability/constants','toString','uuid','utf8','readFileSync','shutdown','setTestDetails','gpaZv','fagSB','force','BROWSERSTACK_TESTHUB_UUID_SEED','getTestIdFromTestInfo','homedir','_platformDetails.json','Qzfhc','ieTAi','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','mtWqy','_projectId','EILnX','160yNlcAB','liIvx','8590wkjMNk','../../../helpers/test-observability/utils','join','format','pJukO','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','getStoreDirPath','getTraceZipDir','lBaeM','.browserstack','EoTRa','setup','setIntegrations'];a58_0x196b=function(){return _0x5a6545;};return a58_0x196b();}(function(_0x543d34,_0x4263d5){const _0x44d578=a58_0x3b00,_0x2a662a=_0x543d34();while(!![]){try{const _0x12fd75=parseInt(_0x44d578(0x1d8))/0x1+parseInt(_0x44d578(0x1dc))/0x2+parseInt(_0x44d578(0x184))/0x3*(-parseInt(_0x44d578(0x19d))/0x4)+-parseInt(_0x44d578(0x1c0))/0x5*(parseInt(_0x44d578(0x197))/0x6)+-parseInt(_0x44d578(0x18d))/0x7+parseInt(_0x44d578(0x186))/0x8+parseInt(_0x44d578(0x1a2))/0x9*(parseInt(_0x44d578(0x1c2))/0xa);if(_0x12fd75===_0x4263d5)break;else _0x2a662a['push'](_0x2a662a['shift']());}catch(_0x23ab4b){_0x2a662a['push'](_0x2a662a['shift']());}}}(a58_0x196b,0x44940));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a58_0x2e620c(0x1ae)),{TEMP_STORE_DIR_NAME}=require(a58_0x2e620c(0x1ac)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a58_0x2e620c(0x1d1))[a58_0x2e620c(0x193)],{getLogDir}=require('../../../helpers/logger'),util=require('util'),helper=require('../../../helpers/helper'),{deterministicTestUUID}=require(a58_0x2e620c(0x1c3));class TestDetails{static [a58_0x2e620c(0x188)]={};static[a58_0x2e620c(0x1cd)](){const _0x35e3bd=a58_0x2e620c;this[_0x35e3bd(0x1b1)]();const _0x2b2e60={};_0x2b2e60[_0x35e3bd(0x1e8)]=!![],fs[_0x35e3bd(0x187)](this[_0x35e3bd(0x1ea)](),_0x2b2e60);const _0x46ad33={};_0x46ad33[_0x35e3bd(0x1e8)]=!![],fs[_0x35e3bd(0x187)](this['getTraceZipDir'](),_0x46ad33);}static[a58_0x2e620c(0x194)](){const _0x538aef=a58_0x2e620c,_0x57d13f={};_0x57d13f[_0x538aef(0x1d0)]=function(_0x3be498,_0xadd825){return _0x3be498!==_0xadd825;},_0x57d13f[_0x538aef(0x1b4)]='null',_0x57d13f[_0x538aef(0x1df)]=_0x538aef(0x1a9),_0x57d13f['mtWqy']=function(_0x3811a9,_0x43c883){return _0x3811a9===_0x43c883;},_0x57d13f['gpaZv']=_0x538aef(0x1ab);const _0xa6cb44=_0x57d13f,_0x453d8f=process[_0x538aef(0x190)][_0x538aef(0x1b6)],_0x142c7e=_0x453d8f&&_0xa6cb44[_0x538aef(0x1d0)](_0x453d8f,_0xa6cb44[_0x538aef(0x1b4)])&&_0xa6cb44[_0x538aef(0x1d0)](_0x453d8f,_0xa6cb44[_0x538aef(0x1df)])?_0x453d8f:process['env'][_0x538aef(0x1a0)];if(!_0x142c7e||_0xa6cb44[_0x538aef(0x1bd)](_0x142c7e,_0xa6cb44[_0x538aef(0x1df)])||_0xa6cb44[_0x538aef(0x1bd)](_0x142c7e,_0xa6cb44[_0x538aef(0x1b4)]))return _0xa6cb44[_0x538aef(0x1b3)];return _0x142c7e;}static[a58_0x2e620c(0x1d6)](){const _0x67a7bb=a58_0x2e620c,_0x28db07={};_0x28db07[_0x67a7bb(0x1bb)]=function(_0x3b301f,_0x208ede){return _0x3b301f+_0x208ede;},_0x28db07['jJgNo']=function(_0x56548f,_0x43ba13){return _0x56548f+_0x43ba13;};const _0x120cc9=_0x28db07;return _0x120cc9[_0x67a7bb(0x1bb)](_0x120cc9['jJgNo'](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x67a7bb(0x194)]());}static[a58_0x2e620c(0x1c8)](){const _0x1ae188=a58_0x2e620c,_0x45304d={};_0x45304d[_0x1ae188(0x1de)]=function(_0x2db5ce,_0x4456f6){return _0x2db5ce+_0x4456f6;},_0x45304d['wobZE']=function(_0x1b38f5,_0x3986b8){return _0x1b38f5+_0x3986b8;};const _0xbfcbe7=_0x45304d;return path[_0x1ae188(0x1c4)](_0xbfcbe7['VVkPb'](_0xbfcbe7[_0x1ae188(0x19f)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']()));}static[a58_0x2e620c(0x1c9)](){const _0x461318=a58_0x2e620c,_0x206cc1={};_0x206cc1[_0x461318(0x1cf)]=_0x461318(0x1d4);const _0x485ad2=_0x206cc1;return path[_0x461318(0x1c4)](this['getStoreDirPath'](),_0x485ad2[_0x461318(0x1cf)]);}static[a58_0x2e620c(0x1ea)](){const _0x18601e=a58_0x2e620c;return TestDetails[_0x18601e(0x1d6)]();}static[a58_0x2e620c(0x1e0)](_0x3d7552){const _0x31e754=a58_0x2e620c,_0x3aff85={};_0x3aff85[_0x31e754(0x1a7)]=function(_0x4dab3b,_0x15ac80){return _0x4dab3b+_0x15ac80;},_0x3aff85[_0x31e754(0x1ba)]=_0x31e754(0x18e);const _0xdbcb0b=_0x3aff85;return path[_0x31e754(0x1c4)](this[_0x31e754(0x1ea)](),_0xdbcb0b[_0x31e754(0x1a7)](_0x3d7552,_0xdbcb0b[_0x31e754(0x1ba)]));}static[a58_0x2e620c(0x1a3)](_0x4f0570){const _0x3066e1=a58_0x2e620c,_0xa57e55={};_0xa57e55[_0x3066e1(0x185)]=function(_0x30fc56,_0xc97fc1){return _0x30fc56+_0xc97fc1;};const _0x3968e8=_0xa57e55;return _0x3968e8['Pflni'](_0x3968e8[_0x3066e1(0x185)](this[_0x3066e1(0x1b7)](_0x4f0570),'-'),_0x4f0570[_0x3066e1(0x1a4)]);}static['getProjectIdFromTestInfo'](_0x58e844){const _0x32d0ef=a58_0x2e620c,_0x5ba5e2={'dQAwh':function(_0x398cb6,_0x217ce7,_0x1697f2){return _0x398cb6(_0x217ce7,_0x1697f2);},'Dnhlj':'_test','EoTRa':_0x32d0ef(0x1be),'kDeoO':_0x32d0ef(0x1e3),'JrwXX':'__projectId'};return _0x5ba5e2[_0x32d0ef(0x1e9)](nestedKeyValue,_0x58e844,[_0x5ba5e2[_0x32d0ef(0x1a1)],_0x5ba5e2[_0x32d0ef(0x1cc)]])||_0x5ba5e2[_0x32d0ef(0x1e9)](nestedKeyValue,_0x58e844,[_0x5ba5e2['kDeoO'],_0x5ba5e2[_0x32d0ef(0x1e5)]]);}static[a58_0x2e620c(0x1b7)](_0x70d93a){const _0x1cb38a=a58_0x2e620c,_0x56f2f4={'pJukO':function(_0xceee94,_0x2f496e,_0x17e8fa){return _0xceee94(_0x2f496e,_0x17e8fa);},'lBaeM':_0x1cb38a(0x1eb)};return _0x56f2f4[_0x1cb38a(0x1c6)](nestedKeyValue,_0x70d93a,[_0x56f2f4[_0x1cb38a(0x1ca)],'id'])||_0x70d93a['testId'];}static[a58_0x2e620c(0x19e)](_0x5f0363){const _0xdf4ed9=a58_0x2e620c,_0x407511={'IdfSQ':function(_0x28c319,_0x23660c){return _0x28c319===_0x23660c;},'hzMwc':_0xdf4ed9(0x18f),'UEDHE':function(_0x14ee1d,_0x4cdc5c){return _0x14ee1d(_0x4cdc5c);},'aegYT':function(_0xed4af2){return _0xed4af2();}};if(this[_0xdf4ed9(0x188)][_0x5f0363]&&_0x407511[_0xdf4ed9(0x1db)](typeof this[_0xdf4ed9(0x188)][_0x5f0363][_0xdf4ed9(0x1ae)],_0x407511[_0xdf4ed9(0x1e1)]))return this['tests'][_0x5f0363][_0xdf4ed9(0x1ae)];const _0x48b2c1=process['env'][_0xdf4ed9(0x1b6)];if(helper[_0xdf4ed9(0x18b)](_0x48b2c1)){const _0x9e5f94=_0x407511[_0xdf4ed9(0x199)](deterministicTestUUID,_0x5f0363),_0x1192e8={};_0x1192e8[_0xdf4ed9(0x1ae)]=_0x9e5f94,this[_0xdf4ed9(0x188)][_0x5f0363]=_0x1192e8;try{const _0x30c13f={};_0x30c13f['recursive']=!![],fs[_0xdf4ed9(0x187)](this[_0xdf4ed9(0x1ea)](),_0x30c13f),fs[_0xdf4ed9(0x18c)](this[_0xdf4ed9(0x1e0)](_0x5f0363),JSON['stringify'](this[_0xdf4ed9(0x188)][_0x5f0363]));}catch(_0x51e2f0){logger[_0xdf4ed9(0x1d3)]('getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20'+_0x5f0363+':\x20'+(_0x51e2f0&&_0x51e2f0[_0xdf4ed9(0x1d7)]));}return _0x9e5f94;}const _0x4293bc=this[_0xdf4ed9(0x1e0)](_0x5f0363);if(_0x4293bc&&fs[_0xdf4ed9(0x1dd)](_0x4293bc)){const _0x5d3b27=JSON[_0xdf4ed9(0x1ec)](fs[_0xdf4ed9(0x1b0)](_0x4293bc)[_0xdf4ed9(0x1ad)]());return this['tests'][_0x5f0363]=_0x5d3b27,this[_0xdf4ed9(0x188)][_0x5f0363][_0xdf4ed9(0x1ae)];}return this[_0xdf4ed9(0x188)][_0x5f0363]={'uuid':_0x407511['aegYT'](uuidv4)},fs['writeFileSync'](_0x4293bc,JSON['stringify'](this['tests'][_0x5f0363])),this[_0xdf4ed9(0x188)][_0x5f0363][_0xdf4ed9(0x1ae)];}static[a58_0x2e620c(0x1d9)](_0x3fdadc){const _0x3d4cbe=a58_0x2e620c,_0x31d3fd=path[_0x3d4cbe(0x1c4)](this[_0x3d4cbe(0x1ea)](),_0x3fdadc+'_platformDetails.json');if(_0x31d3fd&&fs[_0x3d4cbe(0x1dd)](_0x31d3fd))return fs[_0x3d4cbe(0x1b0)](_0x31d3fd)[_0x3d4cbe(0x1ad)]();}static['setAccessibilityPlatformValidation'](_0x1a1add,_0x43c5ac){const _0x3425ea=a58_0x2e620c;try{const _0x1a98ec=this['getDirPath'](),_0x1861bc={};_0x1861bc['recursive']=!![],fs['mkdirSync'](_0x1a98ec,_0x1861bc);const _0x145fdb=path[_0x3425ea(0x1c4)](_0x1a98ec,_0x43c5ac+_0x3425ea(0x1b9));fs[_0x3425ea(0x18c)](_0x145fdb,_0x1a1add[_0x3425ea(0x1ad)]());}catch(_0xf7b456){logger[_0x3425ea(0x1d3)](_0x3425ea(0x1a5)+_0x43c5ac+':\x20'+(_0xf7b456&&_0xf7b456[_0x3425ea(0x1d7)]));}}static[a58_0x2e620c(0x198)](_0x54a6e5){const _0x4e62dc=a58_0x2e620c,_0x5ad276=path['join'](this[_0x4e62dc(0x1ea)](),_0x54a6e5+_0x4e62dc(0x1d2));if(_0x5ad276&&fs[_0x4e62dc(0x1dd)](_0x5ad276))try{return JSON[_0x4e62dc(0x1ec)](fs[_0x4e62dc(0x1b0)](_0x5ad276)[_0x4e62dc(0x1ad)]());}catch(_0x3d26b9){return logger['debug'](_0x4e62dc(0x1bc)+_0x54a6e5+':\x20'+(_0x3d26b9&&_0x3d26b9[_0x4e62dc(0x1d7)])),null;}return null;}static[a58_0x2e620c(0x1ce)](_0x4a85e7,_0x3b3089){const _0x8fec8e=a58_0x2e620c,_0x48364f={};_0x48364f['EILnX']=function(_0x301527,_0xac34fa){return _0x301527||_0xac34fa;};const _0x3a44c6=_0x48364f;if(_0x3a44c6[_0x8fec8e(0x1bf)](!_0x4a85e7,!_0x3b3089))return;try{const _0x27a376=this['getDirPath'](),_0x4edaab={};_0x4edaab[_0x8fec8e(0x1e8)]=!![],fs[_0x8fec8e(0x187)](_0x27a376,_0x4edaab);const _0xaa0b1c=path[_0x8fec8e(0x1c4)](_0x27a376,_0x4a85e7+_0x8fec8e(0x1d2));fs['writeFileSync'](_0xaa0b1c,JSON[_0x8fec8e(0x1e4)](_0x3b3089));}catch(_0xce95fa){logger[_0x8fec8e(0x1d3)](_0x8fec8e(0x1c7)+_0x4a85e7+':\x20'+(_0xce95fa&&_0xce95fa[_0x8fec8e(0x1d7)]));}}static[a58_0x2e620c(0x1b1)](){const _0x53a0fe=a58_0x2e620c,_0x40bc29={};_0x40bc29[_0x53a0fe(0x1e8)]=!![],_0x40bc29[_0x53a0fe(0x1b5)]=!![],fs[_0x53a0fe(0x1da)](this[_0x53a0fe(0x1ea)](),_0x40bc29);}static[a58_0x2e620c(0x18a)](_0xa7e288){const _0x255011=a58_0x2e620c;if(this['tests'][_0xa7e288])return this[_0x255011(0x188)][_0xa7e288];const _0x22321d=this[_0x255011(0x1e0)](_0xa7e288);if(_0x22321d&&fs[_0x255011(0x1dd)](_0x22321d)){const _0x58fb41=JSON[_0x255011(0x1ec)](fs[_0x255011(0x1b0)](_0x22321d)[_0x255011(0x1ad)]());return this[_0x255011(0x188)][_0xa7e288]=_0x58fb41,_0x58fb41;}return{};}static[a58_0x2e620c(0x1b2)](_0x2edefe,_0x452aec){const _0x2d0c75=a58_0x2e620c,_0x5f0846=this[_0x2d0c75(0x1e0)](_0x2edefe);if(_0x5f0846&&fs[_0x2d0c75(0x1dd)](_0x5f0846)){const _0x518478=JSON[_0x2d0c75(0x1ec)](fs[_0x2d0c75(0x1b0)](_0x5f0846)['toString']()),_0x906db5={..._0x518478,..._0x452aec};this[_0x2d0c75(0x188)][_0x2edefe]=_0x906db5;}else this[_0x2d0c75(0x188)][_0x2edefe]=_0x452aec;fs[_0x2d0c75(0x18c)](_0x5f0846,this['tests'][_0x2edefe]);}static[a58_0x2e620c(0x191)](_0x1ed039){const _0x228425=a58_0x2e620c,_0x1f6d5a={};_0x1f6d5a['QMGlT']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x21adbe=_0x1f6d5a;try{const _0x44f899=process['pid'],_0x1fc110=path[_0x228425(0x1c4)](TestDetails[_0x228425(0x1c9)](),_0x44f899+_0x228425(0x1aa));let _0x54a71c=[];_0x1fc110&&fs[_0x228425(0x1dd)](_0x1fc110)&&(_0x54a71c=JSON[_0x228425(0x1ec)](fs[_0x228425(0x1b0)](_0x1fc110)['toString']())),!_0x54a71c[_0x228425(0x19b)](_0x32b213=>_0x32b213[_0x228425(0x1a6)]===_0x1ed039[_0x228425(0x1a6)])&&(_0x54a71c[_0x228425(0x1a8)](_0x1ed039),fs[_0x228425(0x18c)](_0x1fc110,JSON[_0x228425(0x1e4)](_0x54a71c)));}catch(_0x2f8ab2){logger[_0x228425(0x192)](_0x21adbe['QMGlT'],_0x2f8ab2);}}static[a58_0x2e620c(0x19c)](){const _0x347e05=a58_0x2e620c,_0x881f5b={};_0x881f5b['rSfFM']=_0x347e05(0x1aa),_0x881f5b[_0x347e05(0x1c1)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x2056b5=_0x881f5b,_0x5c9a2b=[];try{const _0x48ffd3=TestDetails['getTraceZipDir']();if(_0x48ffd3&&!fs[_0x347e05(0x1dd)](_0x48ffd3))return _0x5c9a2b;const _0x92c44f=fs[_0x347e05(0x1d5)](_0x48ffd3);_0x92c44f['forEach'](_0x22df21=>{const _0x42bf73=_0x347e05;if(_0x22df21&&_0x22df21[_0x42bf73(0x1ed)](_0x2056b5['rSfFM'])){const _0x336cf4=JSON['parse'](fs['readFileSync'](path['join'](_0x48ffd3,_0x22df21))[_0x42bf73(0x1ad)]());_0x5c9a2b[_0x42bf73(0x1a8)](..._0x336cf4);}});}catch(_0x51323b){logger['error'](util[_0x347e05(0x1c5)](_0x2056b5[_0x347e05(0x1c1)],_0x51323b));}const _0x18a950={};return _0x5c9a2b[_0x347e05(0x195)](_0x44d88d=>{const _0x412854=_0x347e05;_0x18a950[_0x44d88d[_0x412854(0x1a6)]]=_0x44d88d;}),Object[_0x347e05(0x19a)](_0x18a950);}static['appendToTracePaths'](_0x169751,_0x4bbca5){const _0x26cfbd=a58_0x2e620c,_0x3b4aa9={};_0x3b4aa9[_0x26cfbd(0x189)]=_0x26cfbd(0x1cb),_0x3b4aa9[_0x26cfbd(0x1e7)]=_0x26cfbd(0x1af);const _0x2efa89=_0x3b4aa9;try{const _0x15fa82=path['join'](helper[_0x26cfbd(0x1b8)](),_0x2efa89[_0x26cfbd(0x189)]);if(!fs[_0x26cfbd(0x1dd)](_0x15fa82)){const _0x3cd7c2={};_0x3cd7c2[_0x26cfbd(0x1e8)]=!![],fs[_0x26cfbd(0x187)](_0x15fa82,_0x3cd7c2);}fs['appendFileSync'](path[_0x26cfbd(0x1c4)](_0x15fa82,_0x26cfbd(0x196)+_0x4bbca5+_0x26cfbd(0x1e2)),_0x169751+'\x0a',_0x2efa89[_0x26cfbd(0x1e7)]);}catch(_0x56d23e){console[_0x26cfbd(0x192)](_0x26cfbd(0x1e6)+_0x56d23e[_0x26cfbd(0x1d7)]);}}}module['exports']=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a59_0x258d(_0x316597,_0x389da4){const _0x1991a3=a59_0x1991();return a59_0x258d=function(_0x258d4a,_0x5133e3){_0x258d4a=_0x258d4a-0x149;let _0xe41c68=_0x1991a3[_0x258d4a];return _0xe41c68;},a59_0x258d(_0x316597,_0x389da4);}const a59_0x599120=a59_0x258d;(function(_0x5ea5fb,_0x2fe14a){const _0x424615=a59_0x258d,_0x1ca154=_0x5ea5fb();while(!![]){try{const _0x20692d=-parseInt(_0x424615(0x15d))/0x1+parseInt(_0x424615(0x163))/0x2*(-parseInt(_0x424615(0x176))/0x3)+-parseInt(_0x424615(0x159))/0x4+parseInt(_0x424615(0x15a))/0x5+-parseInt(_0x424615(0x165))/0x6*(parseInt(_0x424615(0x157))/0x7)+parseInt(_0x424615(0x14f))/0x8+parseInt(_0x424615(0x177))/0x9;if(_0x20692d===_0x2fe14a)break;else _0x1ca154['push'](_0x1ca154['shift']());}catch(_0x55cd9f){_0x1ca154['push'](_0x1ca154['shift']());}}}(a59_0x1991,0x90d45));function a59_0x1991(){const _0x4afffc=['some','yzzff','XVfGt','debug','flagIdx','wjyxp','string','CqoNi','prefix','10887vCGzwf','33129864sGsoAm','UnjXL','VIwVY','push','startsWith','mergeBrowserstackReporterIntoCliReporterFlag','uSZYD','slice','trim','../../helpers/logger','GXygL','IBjDs','map','4746120AbJyRl','join','length','exports','IfOyu','QzAAn','winstonLogger','[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.','1789851MvgqGl','path','3167660dQvxYh','685640nomJQl','find','oDmpA','1085444tPjXTG','--reporter=','util','--reporter','iYRCh','ivIUq','506ZGKdFJ','./reporter/reporter.js','24BSYQsg','tDpUt','split','EaEhw','includes','warn','[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20','VEgFf'];a59_0x1991=function(){return _0x4afffc;};return a59_0x1991();}const path=require(a59_0x599120(0x158)),{format}=require(a59_0x599120(0x15f)),logger=require(a59_0x599120(0x14b))[a59_0x599120(0x155)],BROWSERSTACK_PW_REPORTER_PATH=path['join'](__dirname,a59_0x599120(0x164)),INLINE_PREFIXES=[a59_0x599120(0x15e)],BARE_FLAGS=[a59_0x599120(0x160)],stripQuotes=_0x22b5eb=>{const _0x34c2dc=a59_0x599120,_0x25ddf0={'FJcrt':function(_0x4a13eb,_0x3d5940){return _0x4a13eb(_0x3d5940);},'EaEhw':function(_0x11f9cc,_0x15f427){return _0x11f9cc>=_0x15f427;},'IfOyu':function(_0x3faa9d,_0x10b4c5){return _0x3faa9d-_0x10b4c5;},'XVfGt':function(_0x3e434b,_0x51de15){return _0x3e434b===_0x51de15;}},_0x536580=_0x25ddf0['FJcrt'](String,_0x22b5eb);if(_0x25ddf0[_0x34c2dc(0x168)](_0x536580[_0x34c2dc(0x151)],0x2)){const _0x675036=_0x536580[0x0],_0x2561f3=_0x536580[_0x25ddf0[_0x34c2dc(0x153)](_0x536580[_0x34c2dc(0x151)],0x1)];if(_0x25ddf0[_0x34c2dc(0x16f)](_0x675036,'\x22')&&_0x25ddf0[_0x34c2dc(0x16f)](_0x2561f3,'\x22')||_0x25ddf0[_0x34c2dc(0x16f)](_0x675036,'\x27')&&_0x25ddf0[_0x34c2dc(0x16f)](_0x2561f3,'\x27'))return _0x536580[_0x34c2dc(0x149)](0x1,-0x1);}return _0x536580;},resolveQuietly=_0x530e98=>{try{return path['resolve'](_0x530e98);}catch(_0x4bb210){return null;}},renderValue=(_0x4ba5fe,_0xf47b4e)=>{const _0xc660c3=a59_0x599120,_0xa61fc9={};_0xa61fc9[_0xc660c3(0x179)]=function(_0x396ec7,_0x190fa4){return _0x396ec7===_0x190fa4;},_0xa61fc9['ivIUq']='win32';const _0x17a960=_0xa61fc9,_0x554534=_0x4ba5fe[_0xc660c3(0x150)](',');return _0x17a960[_0xc660c3(0x179)](_0xf47b4e,_0x17a960[_0xc660c3(0x162)])?'\x22'+_0x554534+'\x22':_0x554534;},buildMergedList=(_0x4b3d7d,_0x5bf8cb)=>{const _0x3f4278=a59_0x599120,_0x354b35={'UnjXL':function(_0x337f94,_0x2ae9ef){return _0x337f94(_0x2ae9ef);},'tDpUt':function(_0x430302,_0x52ce7d){return _0x430302===_0x52ce7d;},'QzAAn':function(_0x53f4b1,_0x38862a){return _0x53f4b1(_0x38862a);}};if(_0x354b35['UnjXL'](String,_0x5bf8cb)[_0x3f4278(0x169)](','))return null;const _0x582c4a=_0x354b35[_0x3f4278(0x178)](stripQuotes,_0x4b3d7d)[_0x3f4278(0x167)](',')[_0x3f4278(0x14e)](_0x18e8b8=>_0x18e8b8[_0x3f4278(0x14a)]())['filter'](_0x56b29f=>_0x56b29f[_0x3f4278(0x151)]>0x0);if(_0x354b35[_0x3f4278(0x166)](_0x582c4a[_0x3f4278(0x151)],0x0))return null;const _0x2059ca=_0x354b35[_0x3f4278(0x154)](resolveQuietly,_0x5bf8cb),_0xae6015=_0x582c4a[_0x3f4278(0x16d)](_0x4ee990=>_0x4ee990===_0x5bf8cb||_0x2059ca!==null&&resolveQuietly(_0x4ee990)===_0x2059ca);return!_0xae6015&&_0x582c4a[_0x3f4278(0x17a)](_0x5bf8cb),_0x582c4a;},findLastReporterFlag=_0x261e46=>{const _0x4e7854=a59_0x599120,_0x13fe98={};_0x13fe98[_0x4e7854(0x16c)]=function(_0x566dd3,_0x1a2f36){return _0x566dd3-_0x1a2f36;},_0x13fe98[_0x4e7854(0x17d)]=function(_0x3b4e5a,_0x3b8777){return _0x3b4e5a>=_0x3b8777;},_0x13fe98[_0x4e7854(0x16e)]=function(_0x426699,_0x6d9bac){return _0x426699!==_0x6d9bac;},_0x13fe98[_0x4e7854(0x174)]='string';const _0x1938e1=_0x13fe98;for(let _0xd16ac5=_0x1938e1[_0x4e7854(0x16c)](_0x261e46[_0x4e7854(0x151)],0x1);_0x1938e1[_0x4e7854(0x17d)](_0xd16ac5,0x0);_0xd16ac5--){const _0x5b4949=_0x261e46[_0xd16ac5];if(_0x1938e1['yzzff'](typeof _0x5b4949,_0x1938e1['CqoNi']))continue;const _0x48e358=INLINE_PREFIXES[_0x4e7854(0x15b)](_0x35b384=>_0x5b4949[_0x4e7854(0x17b)](_0x35b384));if(_0x48e358){const _0x40165d={};return _0x40165d[_0x4e7854(0x171)]=_0xd16ac5,_0x40165d[_0x4e7854(0x175)]=_0x48e358,_0x40165d;}if(BARE_FLAGS[_0x4e7854(0x169)](_0x5b4949)){const _0x18d12e={};return _0x18d12e[_0x4e7854(0x171)]=_0xd16ac5,_0x18d12e[_0x4e7854(0x175)]=null,_0x18d12e;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x3dca8c,_0x57c4b7={})=>{const _0x280e5a=a59_0x599120,_0x1e9836={'gQJyL':function(_0x22189a,_0x4b9a28){return _0x22189a===_0x4b9a28;},'IBjDs':function(_0x53b104,_0x312a37){return _0x53b104(_0x312a37);},'Simdf':function(_0x12103a,_0x3cf229){return _0x12103a+_0x3cf229;},'emory':function(_0x4f6ebc,_0x38a06c){return _0x4f6ebc>=_0x38a06c;},'oDmpA':function(_0x4f2dbc,_0x3a138b){return _0x4f2dbc!==_0x3a138b;},'GXygL':_0x280e5a(0x173),'wjyxp':function(_0x4b2bb0,_0x1f35ff,_0x1b6612){return _0x4b2bb0(_0x1f35ff,_0x1b6612);},'iYRCh':function(_0x3e72ec,_0xf85846){return _0x3e72ec===_0xf85846;},'rSIhx':function(_0x1be9c8,_0x3fec4d,_0xc4ce41){return _0x1be9c8(_0x3fec4d,_0xc4ce41);},'KAnEC':_0x280e5a(0x156)};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process['platform']}=_0x57c4b7;if(_0x1e9836['gQJyL'](enabled,![]))return;if(!Array['isArray'](_0x3dca8c))return;const _0x46af79=_0x1e9836[_0x280e5a(0x14d)](findLastReporterFlag,_0x3dca8c);if(_0x1e9836['gQJyL'](_0x46af79,null))return;let _0x5bcf18,_0x14501b;if(_0x46af79[_0x280e5a(0x175)])_0x5bcf18=_0x46af79[_0x280e5a(0x171)],_0x14501b=_0x3dca8c[_0x46af79['flagIdx']]['slice'](_0x46af79['prefix'][_0x280e5a(0x151)]);else{_0x5bcf18=_0x1e9836['Simdf'](_0x46af79[_0x280e5a(0x171)],0x1);if(_0x1e9836['emory'](_0x5bcf18,_0x3dca8c[_0x280e5a(0x151)])||_0x1e9836[_0x280e5a(0x15c)](typeof _0x3dca8c[_0x5bcf18],_0x1e9836[_0x280e5a(0x14c)])||_0x3dca8c[_0x5bcf18][_0x280e5a(0x17b)]('-'))return;_0x14501b=_0x3dca8c[_0x5bcf18];}const _0x3febb2=_0x1e9836[_0x280e5a(0x172)](buildMergedList,_0x14501b,reporterPath);if(_0x1e9836[_0x280e5a(0x161)](_0x3febb2,null))return;const _0x25c59d=_0x1e9836['rSIhx'](renderValue,_0x3febb2,platform);_0x3dca8c[_0x5bcf18]=_0x46af79['prefix']?''+_0x46af79[_0x280e5a(0x175)]+_0x25c59d:_0x25c59d,logger[_0x280e5a(0x16a)](_0x1e9836['KAnEC']),logger[_0x280e5a(0x170)](_0x280e5a(0x16b)+_0x3dca8c[_0x5bcf18]);}catch(_0x3f3a3c){logger[_0x280e5a(0x170)]('[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20'+_0x1e9836['IBjDs'](format,_0x3f3a3c));}},a59_0x141eb7={};a59_0x141eb7[a59_0x599120(0x17c)]=mergeBrowserstackReporterIntoCliReporterFlag,a59_0x141eb7['BROWSERSTACK_PW_REPORTER_PATH']=BROWSERSTACK_PW_REPORTER_PATH,module[a59_0x599120(0x152)]=a59_0x141eb7;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a60_0xf30d79=a60_0x382d;(function(_0x4d0e18,_0x4c2bc3){const _0xfa88a3=a60_0x382d,_0x32dccf=_0x4d0e18();while(!![]){try{const _0x33dfa0=parseInt(_0xfa88a3(0x152))/0x1+parseInt(_0xfa88a3(0xa7))/0x2*(-parseInt(_0xfa88a3(0xc2))/0x3)+-parseInt(_0xfa88a3(0x123))/0x4+-parseInt(_0xfa88a3(0xcb))/0x5*(-parseInt(_0xfa88a3(0xd1))/0x6)+-parseInt(_0xfa88a3(0xd0))/0x7*(-parseInt(_0xfa88a3(0xbc))/0x8)+parseInt(_0xfa88a3(0x11c))/0x9+parseInt(_0xfa88a3(0x10d))/0xa;if(_0x33dfa0===_0x4c2bc3)break;else _0x32dccf['push'](_0x32dccf['shift']());}catch(_0x24e23b){_0x32dccf['push'](_0x32dccf['shift']());}}}(a60_0x4f50,0x6bd77));const path=require(a60_0xf30d79(0x115)),url=require(a60_0xf30d79(0xfa)),util=require('util'),helper=require(a60_0xf30d79(0xd7)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a60_0xf30d79(0xaf)),{debug,getPlatformDetails}=require(a60_0xf30d79(0xe1)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a60_0xf30d79(0xf9)),{FRAMEWORKS}=require(a60_0xf30d79(0xfc)),logger=require(a60_0xf30d79(0xd6))[a60_0xf30d79(0x159)],scripts=require(a60_0xf30d79(0xa2)),{browserStackExecuteDriver}=require(a60_0xf30d79(0xe8)),AccessibilityHelper=require(a60_0xf30d79(0x143)),constants=require(a60_0xf30d79(0x12e)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a60_0xf30d79(0xa0)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a60_0xf30d79(0x158)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x4b64dd=>{const _0x3064e0=a60_0xf30d79,_0x35c121={};_0x35c121[_0x3064e0(0xcf)]='7|0|2|5|6|3|4|1',_0x35c121[_0x3064e0(0xe2)]=_0x3064e0(0x10b),_0x35c121[_0x3064e0(0xc6)]=_0x3064e0(0x101),_0x35c121[_0x3064e0(0x130)]=_0x3064e0(0x116),_0x35c121[_0x3064e0(0xde)]=function(_0x317eef,_0x3789c5){return _0x317eef===_0x3789c5;},_0x35c121[_0x3064e0(0xbd)]=_0x3064e0(0x126),_0x35c121[_0x3064e0(0xa1)]=_0x3064e0(0x146),_0x35c121[_0x3064e0(0x104)]='firefox',_0x35c121[_0x3064e0(0xb2)]=function(_0x5c2c26,_0x42ca77){return _0x5c2c26!==_0x42ca77;},_0x35c121['eYKDF']='string';const _0x36594a=_0x35c121,_0x3003ae=_0x36594a[_0x3064e0(0xcf)][_0x3064e0(0x10f)]('|');let _0x52e899=0x0;while(!![]){switch(_0x3003ae[_0x52e899++]){case'0':if(_0x4b64dd['includes'](_0x36594a[_0x3064e0(0xe2)]))return _0x36594a['JkygL'];continue;case'1':return _0x4b64dd;case'2':if(_0x4b64dd[_0x3064e0(0x14d)](_0x36594a[_0x3064e0(0xc6)]))return _0x36594a[_0x3064e0(0xc6)];continue;case'3':if(_0x4b64dd[_0x3064e0(0x14d)](_0x36594a[_0x3064e0(0x130)]))return _0x36594a[_0x3064e0(0x130)];continue;case'4':if(_0x36594a[_0x3064e0(0xde)](_0x4b64dd,_0x36594a[_0x3064e0(0xbd)]))return _0x36594a[_0x3064e0(0xbd)];continue;case'5':if(_0x4b64dd[_0x3064e0(0x14d)](_0x36594a[_0x3064e0(0xa1)]))return _0x36594a[_0x3064e0(0xa1)];continue;case'6':if(_0x4b64dd[_0x3064e0(0x14d)](_0x36594a[_0x3064e0(0x104)]))return _0x36594a[_0x3064e0(0x104)];continue;case'7':if(!_0x4b64dd||_0x36594a['PPNCz'](typeof _0x4b64dd,_0x36594a['eYKDF']))return _0x36594a[_0x3064e0(0xe2)];continue;}break;}},getBrowserFromWSEndpoint=_0x37a542=>{const _0x864a42=a60_0xf30d79,_0x5756e4={'VPeQw':_0x864a42(0x101),'BAIqB':function(_0x56e5d5,_0x5d36f5){return _0x56e5d5(_0x5d36f5);}};try{const _0x9cb0d6=url[_0x864a42(0x14e)](_0x37a542),_0x19234d=new URLSearchParams(_0x9cb0d6['query']),_0x38be63=Object[_0x864a42(0xbf)](_0x19234d[_0x864a42(0x14a)]()),_0x15f99b=JSON['parse'](_0x38be63['caps']);if(_0x15f99b&&(_0x15f99b[_0x864a42(0x134)]||_0x15f99b['browserName']))return _0x15f99b[_0x864a42(0x134)]||_0x15f99b[_0x864a42(0x136)];return _0x5756e4[_0x864a42(0x121)];}catch(_0x3a3139){_0x5756e4['BAIqB'](debug,_0x864a42(0xe6)+_0x3a3139[_0x864a42(0x138)]());}},getCloudProviderFromWsEndpoint=_0x37b7eb=>{const _0x14332f=a60_0xf30d79,_0x268e2b={};_0x268e2b['hIlib']=_0x14332f(0x11d),_0x268e2b[_0x14332f(0x151)]=_0x14332f(0x155);const _0xf9dc8a=_0x268e2b;if(_0x37b7eb[_0x14332f(0x14d)](constants[_0x14332f(0x12f)])||_0x37b7eb[_0x14332f(0x14d)](constants['BSTACK_ATS_URL']))return _0xf9dc8a[_0x14332f(0xd8)];return _0xf9dc8a[_0x14332f(0x151)];},a60_0x574392={};function a60_0x382d(_0x3ce803,_0x451951){const _0x4f5068=a60_0x4f50();return a60_0x382d=function(_0x382d78,_0x3792ba){_0x382d78=_0x382d78-0x9a;let _0x2a3dd0=_0x4f5068[_0x382d78];return _0x2a3dd0;},a60_0x382d(_0x3ce803,_0x451951);}function a60_0x4f50(){const _0x34cd66=['Not\x20able\x20to\x20resolve\x20Connection\x20class','testInfo','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','nEPHE','trackEvent','env','48uwEDIi','ilzzv','_onMessage','fromEntries','Connection','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','172950pFvVhv','resolve','bsSessionId','KWsom','VmAdZ','patchCRConnection','NRWle','compareVersions','HxZan','3205PNOzKF','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','sGmiO','playwright','FvAbq','845117Tsalgv','732SLbCeq','params','browser_version','use','message','../../helpers/logger','../../helpers/helper','hIlib','join','getAutomationFramework','ChDUk','FdNND','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','CACUv','patch','TtAiI','../../helpers/test-observability/utils','JkygL','exports','DTGXW','QDGNe','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','turboscale','../../bin/playwright/accessibility-helper','_defaultConnectOptions','VZNkK','qkMQw','capabilities','info','cdLTx','dispatch','LCCcE','Setting\x20session\x20id\x20received\x20from\x20BS\x20','AqbYU','Xismh','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','lpjLI','ATS_WSS_URL_REGEX','patchConnection','RVXrl','../../helpers/accessibility-automation/helper','url','EeQrC','../../helpers/test-observability/constants','defineProperty','Sqdbl','fIXzn','_bstackDispatchPatched','chrome','_type','titlePath','wDjIo','Device\x20Model\x20is\x20not\x20available','assign','gTtUc','bStackParams','TVBgA','pwPage','chromium','function','2303510puFomF','OQtYR','split','connectOptions','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','currentSessionDetails','QZWrm','POST','path','safari','FwdfR','uZtnP','product','channel','platformDetails','4027905rbKkUx','browserstack','sessionError','CiguH','oLUuo','VPeQw','getInstance','3349748tIwuQq','VlHFL','playwright-','webkit','bsParams','bstackPerformA11yScan','server','accessibilityPlatform','platformName','JYRgk','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','../utils/constants','BSTACK_URL','iJXOw','cloudProvider','crConnection.js','project','browser','xwbAA','browserName','BROWSERSTACK_TEST_OBSERVABILITY','toString','local_grid','WybGg','riKCg','platform_version','igPNB','QRnTf','muCuc','shouldWrapCommand','unknown','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','./accessibility-helper','model','PLAYWRIGHT_DISPATCH','edge','apply','sessionId','__workerDetails','entries','lAyLc','rGLqr','includes','parse','_browserType','CRConnection','AJfNS','259872wqbziE','Performing\x20scan\x20for\x20','YWxtr','unknown_grid','Page','prototype','../../helpers/accessibility-automation/accessibilityRetryHelper.js','winstonLogger','WAwGF','currentTest','isRunning','PLAYWRIGHT','catch','Failed\x20to\x20perform\x20scan\x20','performScan','_connection','YEDlV','platform','Not\x20able\x20to\x20import\x20crConnection','../v2/state/automationFrameworkState.js','FrwCl','../../helpers/accessibility-automation/scripts','platformVersion','foGeW','__driver','JqQoU','16hNLnwA','sendMessageToServer','FWqvh','test','Error\x20in\x20importing\x20crConnection','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','lJKvn','aigeq','../../helpers/test-observability/error-handler','version','format','PPNCz','deviceModel','debug','resolveConnectionClass'];a60_0x4f50=function(){return _0x34cd66;};return a60_0x4f50();}a60_0x574392[a60_0xf30d79(0x131)]=undefined,a60_0x574392[a60_0xf30d79(0xc4)]=undefined,a60_0x574392['browser']=undefined,a60_0x574392[a60_0xf30d79(0xd3)]=undefined,a60_0x574392['platform']=undefined,a60_0x574392[a60_0xf30d79(0x13c)]=undefined,a60_0x574392[a60_0xf30d79(0x119)]=undefined,a60_0x574392[a60_0xf30d79(0xec)]={};class PlaywrightSessionDetails{static [a60_0xf30d79(0x112)]=a60_0x574392;constructor(){const _0x5a4d68=a60_0xf30d79,_0x1783ae={};_0x1783ae['FwdfR']='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x2c9234=_0x1783ae;throw new Error(_0x2c9234[_0x5a4d68(0x117)]);}static ['sessionError']=null;static['setupBrowserDetails'](_0x23c58f,_0x2bec0c,_0x54dd84=null){const _0x364adb=a60_0xf30d79,_0x4caf10={'FdNND':_0x364adb(0xcc),'hGkmD':function(_0x41045c){return _0x41045c();},'YWxtr':_0x364adb(0x11d),'LCCcE':_0x364adb(0x139),'cdLTx':_0x364adb(0xce),'uZtnP':_0x364adb(0x141),'JqQoU':function(_0x47acec,_0x171943){return _0x47acec===_0x171943;},'EeQrC':_0x364adb(0x10c),'DvfuT':_0x364adb(0x111),'YEDlV':_0x364adb(0x105),'Sqdbl':function(_0x4ccf9c,_0x1d9420,_0x8ed5fe){return _0x4ccf9c(_0x1d9420,_0x8ed5fe);},'DTGXW':'_browserType','rGLqr':_0x364adb(0xe9),'SybLy':function(_0x370041,_0x3943b5,_0x12454a){return _0x370041(_0x3943b5,_0x12454a);},'gBJdO':_0x364adb(0x133),'RVXrl':_0x364adb(0xd4),'VlHFL':_0x364adb(0x110),'CiguH':function(_0x579c00,_0x55a83c){return _0x579c00(_0x55a83c);},'xMboC':_0x364adb(0xe7),'ChDUk':'automate','kmApL':function(_0x207610,_0x59725c){return _0x207610(_0x59725c);},'XIAKr':function(_0x2ccd35){return _0x2ccd35();},'JYRgk':function(_0x16ccb2,_0x1eb5ed){return _0x16ccb2&&_0x1eb5ed;},'wWjNT':function(_0x35a7d7){return _0x35a7d7();},'CSxti':function(_0x44ab8e){return _0x44ab8e();},'lJKvn':function(_0x57a6e9,_0x2d0484){return _0x57a6e9+_0x2d0484;},'qkMQw':_0x364adb(0x125),'TtAiI':function(_0x3604f5,_0x1a64b4){return _0x3604f5||_0x1a64b4;},'foGeW':'setupBrowserDetails'},_0x5876aa=this;return _0x4caf10['SybLy'](o11yErrorHandler,async function _0x2f74f5(_0x27f3b6,_0x131ece,_0x55d4c1=null){const _0x201801=_0x364adb;if(!_0x27f3b6){logger[_0x201801(0xb4)](_0x4caf10[_0x201801(0xdc)]),_0x5876aa[_0x201801(0x112)]=Object[_0x201801(0x106)]({},_0x5876aa[_0x201801(0x112)],{'cloudProvider':_0x4caf10['hGkmD'](isBrowserstackInfra)?_0x4caf10[_0x201801(0x154)]:_0x4caf10[_0x201801(0xf0)],'browser':_0x4caf10[_0x201801(0xee)],'browser_version':_0x4caf10[_0x201801(0x118)]});return;}let _0x657ab3=_0x27f3b6['_name'],_0x49fe4b=null;_0x27f3b6&&_0x4caf10['JqQoU'](typeof _0x27f3b6[_0x201801(0xb0)],_0x4caf10[_0x201801(0xfb)])?_0x49fe4b=_0x27f3b6[_0x201801(0xb0)]():logger[_0x201801(0xb4)](_0x4caf10['DvfuT']);let _0x199029=null;_0x27f3b6&&_0x4caf10[_0x201801(0xa6)](typeof _0x27f3b6[_0x201801(0x144)],_0x4caf10['EeQrC'])?_0x199029=_0x27f3b6['model']():logger['debug'](_0x4caf10[_0x201801(0x9d)]);let _0x17e362=null,_0x140cc1=null,_0x5d7743=null,_0x5249f7=_0x4caf10[_0x201801(0xf0)];const _0x596775=_0x27f3b6['_connection']&&_0x4caf10['JqQoU'](typeof _0x27f3b6[_0x201801(0x9c)]['isRemote'],_0x4caf10[_0x201801(0xfb)])?_0x27f3b6[_0x201801(0x9c)]['isRemote']():![];if(_0x596775||global[_0x201801(0x12a)]&&!process[_0x201801(0xbb)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']){let _0xd57da6=null;_0x4caf10[_0x201801(0xfe)](nestedKeyValue,_0x27f3b6,[_0x4caf10[_0x201801(0xe4)],_0x4caf10[_0x201801(0x14c)]])?_0xd57da6=_0x27f3b6[_0x201801(0x14f)]['_defaultConnectOptions']:_0xd57da6=_0x4caf10['SybLy'](nestedKeyValue,_0x131ece,[_0x4caf10['gBJdO'],_0x4caf10[_0x201801(0xf8)],_0x4caf10[_0x201801(0x124)]]);const _0xaaa5e6=_0x55d4c1||_0xd57da6&&_0xd57da6['wsEndpoint'];if(_0xaaa5e6){_0x5249f7=_0x4caf10[_0x201801(0x11f)](getCloudProviderFromWsEndpoint,_0xaaa5e6);if(_0x4caf10[_0x201801(0xa6)](_0x5249f7,_0x4caf10['YWxtr']))_0x5d7743=constants[_0x201801(0xf6)][_0x201801(0xaa)](_0xaaa5e6)?_0x4caf10['xMboC']:_0x4caf10[_0x201801(0xdb)],_0x657ab3=_0x4caf10['kmApL'](getBrowserFromWSEndpoint,_0xaaa5e6)||_0x657ab3,_0x17e362=_0x5876aa[_0x201801(0x112)]['platform'],_0x140cc1=_0x5876aa[_0x201801(0x112)][_0x201801(0x13c)];else{const _0x2a333f=await _0x4caf10['XIAKr'](getPlatformDetails);_0x17e362=_0x2a333f[_0x201801(0x12b)],_0x140cc1=_0x2a333f[_0x201801(0xa3)];}}if(_0x4caf10[_0x201801(0x12c)](!_0x17e362,!_0x140cc1)&&!_0x4caf10['wWjNT'](isBrowserstackInfra)){const _0xbeef3=await _0x4caf10['CSxti'](getPlatformDetails);_0x17e362=_0xbeef3[_0x201801(0x12b)],_0x140cc1=_0xbeef3[_0x201801(0xa3)];}}else{_0x131ece&&_0x131ece[_0x201801(0x133)]['use'][_0x201801(0x11a)]?_0x657ab3=_0x4caf10['kmApL'](getBrowserNameFromChannel,_0x131ece[_0x201801(0x133)][_0x201801(0xd4)][_0x201801(0x11a)]):_0x657ab3=_0x4caf10[_0x201801(0xad)](_0x4caf10[_0x201801(0xeb)],_0x4caf10[_0x201801(0xe0)](_0x657ab3,_0x4caf10[_0x201801(0x118)])['toLowerCase']());const _0x35cbf3=await _0x4caf10['CSxti'](getPlatformDetails);_0x17e362=_0x35cbf3['platformName'],_0x140cc1=_0x35cbf3['platformVersion'];}const _0x141da3={};_0x141da3[_0x201801(0x134)]=_0x657ab3,_0x141da3[_0x201801(0xd3)]=_0x49fe4b,_0x141da3[_0x201801(0xec)]={},_0x141da3['platform']=_0x17e362,_0x141da3[_0x201801(0x13c)]=_0x140cc1,_0x141da3[_0x201801(0x119)]=_0x5d7743;const _0x5162b7=_0x141da3;_0x199029&&(_0x5162b7[_0x201801(0xec)][_0x201801(0xb3)]=_0x199029);const _0x46a6e7={};_0x46a6e7[_0x201801(0x131)]=_0x5249f7,_0x5876aa[_0x201801(0x112)]=Object[_0x201801(0x106)]({},_0x5876aa[_0x201801(0x112)],_0x46a6e7,_0x5162b7);},_0x4caf10[_0x364adb(0xa4)])(_0x23c58f,_0x2bec0c,_0x54dd84);}static[a60_0xf30d79(0xdf)](){const _0x9b2e25=a60_0xf30d79;this[_0x9b2e25(0xf7)](),this[_0x9b2e25(0xc7)]();}static[a60_0xf30d79(0xf7)](){const _0x394792=a60_0xf30d79,_0x47563c={'Xismh':function(_0x5c95f2,_0x5cb9cc,_0x23833f){return _0x5c95f2(_0x5cb9cc,_0x23833f);},'VZNkK':_0x394792(0x15b),'nEPHE':_0x394792(0xb7),'dzCvN':'titlePath','NByxD':function(_0x35b804,_0x51c116,_0x16d70a){return _0x35b804(_0x51c116,_0x16d70a);},'WybGg':function(_0x398bbf,_0x3010d5,_0xa6a8ee){return _0x398bbf(_0x3010d5,_0xa6a8ee);},'goBZQ':_0x394792(0x149),'QRnTf':_0x394792(0x10a),'HxZan':function(_0x200329,_0x2fe76a){return _0x200329===_0x2fe76a;},'oLUuo':_0x394792(0x156),'DTPTQ':function(_0x3ede62,_0x44643b,_0x39ece8,_0x153b72){return _0x3ede62(_0x44643b,_0x39ece8,_0x153b72);},'weMbX':function(_0x35b08f,_0x1d4fa5){return _0x35b08f||_0x1d4fa5;},'FWqvh':function(_0x56a0c5,_0x4ce3a7){return _0x56a0c5(_0x4ce3a7);},'gTtUc':function(_0x52d98e,_0x2e5398){return _0x52d98e(_0x2e5398);},'Bqqgm':_0x394792(0xb6),'SBUhu':function(_0x4ba4d2,_0x260c6c){return _0x4ba4d2!=_0x260c6c;},'XirbQ':function(_0x39f87,_0x3cbf76){return _0x39f87!=_0x3cbf76;},'LWxvF':function(_0xe8b139){return _0xe8b139();},'QJuFG':'sendMessageToServer','sGmiO':_0x394792(0xef),'cZOkU':'Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','QDGNe':function(_0x1e8b6b,_0x3591b0){return _0x1e8b6b(_0x3591b0);}},_0x39c7b1=this;!this['Connection']&&(this[_0x394792(0xc0)]=helper[_0x394792(0xb5)](),!this[_0x394792(0xc0)]&&_0x47563c[_0x394792(0x107)](debug,_0x47563c['Bqqgm']));const _0x2b5c56=this['Connection'];if(_0x47563c['SBUhu'](_0x2b5c56,null)&&_0x2b5c56['prototype'][_0x394792(0x100)])return;try{if(_0x47563c['XirbQ'](_0x2b5c56,null)){const _0x2cdcc2=_0x2b5c56[_0x394792(0x157)][_0x394792(0xef)],_0x457ea6=_0x2b5c56[_0x394792(0x157)][_0x394792(0xa8)];_0x47563c['LWxvF'](isAccessibilityAutomationSession)&&Object[_0x394792(0xfd)](_0x2b5c56[_0x394792(0x157)],_0x47563c['QJuFG'],{'get':function(){return async function(){const _0x13bcef=a60_0x382d;try{if(!global[_0x13bcef(0x128)]&&global['accessibilityPlatform']&&_0x47563c[_0x13bcef(0xf3)](nestedKeyValue,global['__workerDetails'],[_0x47563c[_0x13bcef(0xea)],_0x47563c[_0x13bcef(0xb9)],_0x47563c['dzCvN']])&&_0x47563c['NByxD'](shouldScanTestForAccessibility,global['__workerDetails'][_0x13bcef(0x15b)]['testInfo'][_0x13bcef(0x103)],!![])&&scripts[_0x13bcef(0x140)](arguments[0x1])){logger[_0x13bcef(0xb4)](_0x13bcef(0x153)+arguments[0x1]),global[_0x13bcef(0x128)]=!![];const _0x534e81=_0x47563c[_0x13bcef(0x13a)](nestedKeyValue,global,[_0x47563c['goBZQ'],_0x47563c[_0x13bcef(0x13e)]]);_0x534e81&&logger[_0x13bcef(0xed)]('Page\x20Scan\x20result='+util[_0x13bcef(0xb1)](await _0x47563c['WybGg'](performScanWithRetry,_0x534e81,arguments[0x1]))),_0x47563c[_0x13bcef(0xca)](arguments[0x0][_0x13bcef(0x102)],_0x47563c[_0x13bcef(0x120)])&&global[_0x13bcef(0xa5)]&&logger[_0x13bcef(0xed)]('Driver\x20Scan\x20result='+util[_0x13bcef(0xb1)](await _0x47563c['DTPTQ'](performScanWithRetry,global[_0x13bcef(0xa5)],arguments[0x1],scripts[_0x13bcef(0x9b)])));}}catch(_0x44f32f){logger[_0x13bcef(0xb4)](_0x13bcef(0x9a)+util[_0x13bcef(0xb1)](_0x44f32f));}return global[_0x13bcef(0x128)]=![],_0x457ea6['apply'](this,arguments);};}}),!_0x47563c['FWqvh'](isFalse,process[_0x394792(0xbb)][_0x394792(0x137)])&&Object[_0x394792(0xfd)](_0x2b5c56[_0x394792(0x157)],_0x47563c[_0x394792(0xcd)],{'get':function(){return function _0x467567(_0x4f2a0d){const _0x460399=a60_0x382d,_0x342f51=_0x2cdcc2['apply'](this,arguments);try{if(BrowserstackCLI[_0x460399(0x122)]()[_0x460399(0x15c)]()){const _0x5b73c={};_0x5b73c[_0x460399(0xd5)]=_0x4f2a0d,Promise[_0x460399(0xc3)](BrowserstackCLI[_0x460399(0x122)]()[_0x460399(0xda)]()[_0x460399(0xba)](AutomationFrameworkState[_0x460399(0x145)],HookState['POST'],_0x5b73c))[_0x460399(0x15e)](()=>{});}else{const _0x205b95=_0x4f2a0d&&_0x4f2a0d[_0x460399(0xd2)]&&_0x4f2a0d['params'][_0x460399(0x127)];if(_0x205b95){const _0x1ebece=_0x205b95[_0x460399(0x148)],_0x42170c=_0x205b95[_0x460399(0x11b)];_0x47563c['weMbX'](!_0x1ebece,!_0x42170c)&&Promise['resolve'](ClientTroubleShootingService['reportSessionLinkingIssue']())['catch'](()=>{}),_0x42170c&&(_0x47563c[_0x460399(0xa9)](debug,_0x460399(0xf4)+_0x42170c[_0x460399(0x138)]()),_0x39c7b1['currentSessionDetails'][_0x460399(0x9e)]=_0x42170c['platformName'],_0x39c7b1[_0x460399(0x112)]['platform_version']=_0x42170c[_0x460399(0xa3)]),_0x1ebece&&(_0x47563c[_0x460399(0xa9)](debug,_0x460399(0xf1)+_0x1ebece),_0x39c7b1[_0x460399(0x112)][_0x460399(0xc4)]=_0x1ebece);}}}catch(_0xedbdce){_0x47563c['FWqvh'](debug,_0x460399(0x142)+(_0xedbdce&&_0xedbdce['toString']?_0xedbdce['toString']():_0xedbdce));}return _0x342f51;};}}),_0x2b5c56[_0x394792(0x157)][_0x394792(0x100)]=!![],logger[_0x394792(0xb4)](_0x47563c['cZOkU']);}}catch(_0x6e2551){_0x47563c[_0x394792(0xe5)](debug,_0x394792(0xac)+_0x6e2551),_0x39c7b1[_0x394792(0x11e)]=_0x6e2551[_0x394792(0x138)]();}}static[a60_0xf30d79(0xc7)](){const _0x50deaf=a60_0xf30d79,_0x45bcff={'muCuc':function(_0x1b22b7,_0x5dca39){return _0x1b22b7(_0x5dca39);},'KWsom':function(_0xd2cd61,_0x1cfd2e){return _0xd2cd61(_0x1cfd2e);},'RzUmA':function(_0x1c32a3){return _0x1c32a3();},'AqbYU':function(_0x59118e,_0x25ab15){return _0x59118e>=_0x25ab15;},'igPNB':'1.60.0','lAyLc':'CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','MmGEC':'lib','NRWle':_0x50deaf(0x129),'fIXzn':'chromium','aigeq':_0x50deaf(0x132),'WAwGF':function(_0x484897,_0x37dd22){return _0x484897(_0x37dd22);},'sHdfe':_0x50deaf(0x9f),'QZWrm':function(_0xada700,_0x52319e){return _0xada700(_0x52319e);},'OQtYR':_0x50deaf(0xab),'riKCg':function(_0x5b6d9d,_0x5a695a){return _0x5b6d9d!=_0x5a695a;},'TVBgA':_0x50deaf(0xbe)},_0x2e972a=this;if(_0x45bcff['RzUmA'](isAccessibilityAutomationSession)){let _0x2289a8=null,_0x2a0933=![];try{const _0x2202da=helper['getFrameworkVersion'](FRAMEWORKS[_0x50deaf(0x15d)]);_0x2a0933=_0x45bcff[_0x50deaf(0xf2)](helper[_0x50deaf(0xc9)](_0x2202da,_0x45bcff[_0x50deaf(0x13d)]),0x0);}catch(_0x27b52b){_0x45bcff['KWsom'](debug,_0x50deaf(0xc1)+_0x27b52b['toString']());}if(_0x2a0933)_0x45bcff[_0x50deaf(0xc5)](debug,_0x45bcff[_0x50deaf(0x14b)]);else try{const _0x52ca8c=path[_0x50deaf(0xd9)](_0x45bcff['MmGEC'],_0x45bcff[_0x50deaf(0xc8)],_0x45bcff[_0x50deaf(0xff)],_0x45bcff[_0x50deaf(0xae)]),_0x1808df=_0x45bcff[_0x50deaf(0x15a)](importFileFromPWCore,_0x52ca8c);!_0x1808df?_0x45bcff[_0x50deaf(0x15a)](debug,_0x45bcff['sHdfe']):_0x2289a8=_0x1808df[_0x50deaf(0x150)];}catch(_0x23a7fe){_0x45bcff[_0x50deaf(0x113)](debug,_0x45bcff[_0x50deaf(0x10e)]);}try{if(_0x45bcff[_0x50deaf(0x13b)](_0x2289a8,null)){const _0x37640f=_0x2289a8[_0x50deaf(0x157)][_0x50deaf(0xbe)];Object[_0x50deaf(0xfd)](_0x2289a8[_0x50deaf(0x157)],_0x45bcff[_0x50deaf(0x109)],{'get':function(){const _0x5244bd={'xwbAA':function(_0x83b41f,_0x55387f){const _0x41398d=a60_0x382d;return _0x45bcff[_0x41398d(0x13f)](_0x83b41f,_0x55387f);},'lpjLI':function(_0x173766,_0x30b82d){return _0x45bcff['KWsom'](_0x173766,_0x30b82d);}};return async function _0x14b030(_0x4be56f){const _0x3b032f=a60_0x382d;try{if(BrowserstackCLI[_0x3b032f(0x122)]()[_0x3b032f(0x15c)]()){const _0x484220={};_0x484220[_0x3b032f(0xd5)]=_0x4be56f,await BrowserstackCLI[_0x3b032f(0x122)]()[_0x3b032f(0xda)]()[_0x3b032f(0xba)](AutomationFrameworkState[_0x3b032f(0x145)],HookState[_0x3b032f(0x114)],_0x484220),delete _0x4be56f[_0x3b032f(0x108)];}else{const _0x5ced20=_0x4be56f[_0x3b032f(0x108)];if(_0x5ced20){delete _0x4be56f[_0x3b032f(0x108)];const _0x396b85=_0x5ced20['sessionId'],_0x5c20cd=_0x5ced20[_0x3b032f(0x11b)];_0x5c20cd&&(_0x5244bd[_0x3b032f(0x135)](debug,_0x3b032f(0x12d)+_0x5c20cd[_0x3b032f(0x138)]()),_0x2e972a[_0x3b032f(0x112)][_0x3b032f(0x9e)]=_0x5c20cd['platformName'],_0x2e972a['currentSessionDetails'][_0x3b032f(0x13c)]=_0x5c20cd['platformVersion']),_0x396b85&&(_0x5244bd[_0x3b032f(0x135)](debug,_0x3b032f(0xdd)+_0x396b85),_0x2e972a[_0x3b032f(0x112)]['bsSessionId']=_0x396b85);}}}catch(_0x17c8a3){_0x5244bd[_0x3b032f(0xf5)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x17c8a3[_0x3b032f(0x138)]());}return _0x37640f[_0x3b032f(0x147)](this,arguments);};}});}}catch(_0x4c8c79){_0x45bcff[_0x50deaf(0x15a)](debug,_0x50deaf(0xb8)+_0x4c8c79),_0x2e972a[_0x50deaf(0x11e)]=_0x4c8c79[_0x50deaf(0x138)]();}}}static['getDetails'](){return this['currentSessionDetails'];}}module[a60_0xf30d79(0xe3)]=PlaywrightSessionDetails;
|
|
1
|
+
const a60_0x3e7402=a60_0x75ff;(function(_0x1cb5d4,_0x26cf01){const _0x1eb7ad=a60_0x75ff,_0xaf31ca=_0x1cb5d4();while(!![]){try{const _0x3d803a=-parseInt(_0x1eb7ad(0x156))/0x1+parseInt(_0x1eb7ad(0x161))/0x2*(-parseInt(_0x1eb7ad(0x150))/0x3)+parseInt(_0x1eb7ad(0x1c7))/0x4*(-parseInt(_0x1eb7ad(0x1c8))/0x5)+-parseInt(_0x1eb7ad(0x139))/0x6*(-parseInt(_0x1eb7ad(0x1a1))/0x7)+-parseInt(_0x1eb7ad(0x181))/0x8+-parseInt(_0x1eb7ad(0x11a))/0x9+-parseInt(_0x1eb7ad(0x190))/0xa*(-parseInt(_0x1eb7ad(0x182))/0xb);if(_0x3d803a===_0x26cf01)break;else _0xaf31ca['push'](_0xaf31ca['shift']());}catch(_0x3a7a43){_0xaf31ca['push'](_0xaf31ca['shift']());}}}(a60_0x2afc,0x237db));const path=require(a60_0x3e7402(0x168)),url=require(a60_0x3e7402(0x185)),util=require(a60_0x3e7402(0x1d5)),helper=require('../../helpers/helper'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a60_0x3e7402(0x1ce)),{o11yErrorHandler}=require(a60_0x3e7402(0x134)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{FRAMEWORKS}=require(a60_0x3e7402(0x1b7)),logger=require(a60_0x3e7402(0x189))[a60_0x3e7402(0x124)],scripts=require(a60_0x3e7402(0x188)),{browserStackExecuteDriver}=require(a60_0x3e7402(0x18d)),AccessibilityHelper=require(a60_0x3e7402(0x1d3)),constants=require(a60_0x3e7402(0x112)),BrowserstackCLI=require(a60_0x3e7402(0x166)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a60_0x3e7402(0x11f)),{performScanWithRetry}=require(a60_0x3e7402(0x140)),ClientTroubleShootingService=require(a60_0x3e7402(0x1be)),getBrowserNameFromChannel=_0x8cd9d=>{const _0x39a471=a60_0x3e7402,_0x60aa98={};_0x60aa98[_0x39a471(0x1b5)]=_0x39a471(0x18e),_0x60aa98['sdfqY']='firefox',_0x60aa98[_0x39a471(0x133)]=_0x39a471(0x122),_0x60aa98[_0x39a471(0x152)]=_0x39a471(0x138),_0x60aa98[_0x39a471(0x1cb)]=_0x39a471(0x14c),_0x60aa98[_0x39a471(0x12a)]=function(_0x161adb,_0x1b8aa4){return _0x161adb!==_0x1b8aa4;},_0x60aa98[_0x39a471(0x183)]='string',_0x60aa98[_0x39a471(0x151)]=function(_0x2d3977,_0x1306d0){return _0x2d3977===_0x1306d0;},_0x60aa98['wRXGa']=_0x39a471(0x131),_0x60aa98[_0x39a471(0x14d)]=_0x39a471(0x114);const _0x3f567a=_0x60aa98,_0x45e2b5=_0x3f567a['YlOrL'][_0x39a471(0x17d)]('|');let _0x59ef81=0x0;while(!![]){switch(_0x45e2b5[_0x59ef81++]){case'0':if(_0x8cd9d[_0x39a471(0x13e)](_0x3f567a[_0x39a471(0x17a)]))return _0x3f567a[_0x39a471(0x17a)];continue;case'1':if(_0x8cd9d[_0x39a471(0x13e)](_0x3f567a[_0x39a471(0x133)]))return _0x3f567a[_0x39a471(0x133)];continue;case'2':if(_0x8cd9d['includes'](_0x3f567a['NuJxh']))return _0x3f567a[_0x39a471(0x152)];continue;case'3':if(_0x8cd9d['includes'](_0x3f567a[_0x39a471(0x1cb)]))return _0x3f567a[_0x39a471(0x1cb)];continue;case'4':if(!_0x8cd9d||_0x3f567a[_0x39a471(0x12a)](typeof _0x8cd9d,_0x3f567a['ElgPY']))return _0x3f567a['AUtUp'];continue;case'5':return _0x8cd9d;case'6':if(_0x3f567a[_0x39a471(0x151)](_0x8cd9d,_0x3f567a[_0x39a471(0x145)]))return _0x3f567a[_0x39a471(0x145)];continue;case'7':if(_0x8cd9d[_0x39a471(0x13e)](_0x3f567a[_0x39a471(0x14d)]))return _0x3f567a[_0x39a471(0x14d)];continue;}break;}},getBrowserFromWSEndpoint=_0x1f8e41=>{const _0x47a515=a60_0x3e7402,_0x290cdb={'jWMEo':'chrome','gFXqC':function(_0x18b660,_0x2f1057){return _0x18b660(_0x2f1057);}};try{const _0x506686=url['parse'](_0x1f8e41),_0x3b4d66=new URLSearchParams(_0x506686[_0x47a515(0x178)]),_0x2fde6b=Object[_0x47a515(0x127)](_0x3b4d66['entries']()),_0xf6461d=JSON[_0x47a515(0x129)](_0x2fde6b[_0x47a515(0x1b4)]);if(_0xf6461d&&(_0xf6461d['browser']||_0xf6461d[_0x47a515(0x14a)]))return _0xf6461d[_0x47a515(0x187)]||_0xf6461d[_0x47a515(0x14a)];return _0x290cdb['jWMEo'];}catch(_0x393987){_0x290cdb['gFXqC'](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x393987[_0x47a515(0x1d9)]());}},getCloudProviderFromWsEndpoint=_0x31b185=>{const _0x46ad2d=a60_0x3e7402,_0x5214e5={};_0x5214e5[_0x46ad2d(0x17b)]=_0x46ad2d(0x1a6),_0x5214e5[_0x46ad2d(0x1b6)]='unknown_grid';const _0x45783d=_0x5214e5;if(_0x31b185['includes'](constants['BSTACK_URL'])||_0x31b185[_0x46ad2d(0x13e)](constants['BSTACK_ATS_URL']))return _0x45783d[_0x46ad2d(0x17b)];return _0x45783d[_0x46ad2d(0x1b6)];},a60_0x449dc6={};a60_0x449dc6['cloudProvider']=undefined,a60_0x449dc6[a60_0x3e7402(0x1ab)]=undefined,a60_0x449dc6['browser']=undefined,a60_0x449dc6[a60_0x3e7402(0x191)]=undefined,a60_0x449dc6[a60_0x3e7402(0x196)]=undefined,a60_0x449dc6['platform_version']=undefined,a60_0x449dc6[a60_0x3e7402(0x1cf)]=undefined,a60_0x449dc6[a60_0x3e7402(0x171)]={};function a60_0x2afc(){const _0x6eaa92=['platformName','resolve','CRConnection','sdtxJ','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','currentSessionDetails','../utils/clientTroubleshootingService.js','QNbIM','KjrbE','getAutomationFramework','message','yFxfT','project','patch','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','28QXhPmz','197140XRMYXL','pwPage','prototype','jPSSw','qBnJr','catch','../../helpers/helper','product','jRPpd','XYsSN','setupBrowserDetails','./accessibility-helper','wsEndpoint','util','TZYZy','exports','RNiMi','toString','playwright-','../utils/constants','Page\x20Scan\x20result=','safari','_bstackDispatchPatched','trackEvent','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','test','YrXUC','583074eSdavj','playwright','testInfo','ORJkt','JoVWw','../v2/state/hookState.js','platformDetails','iytmM','chromium','mBicg','winstonLogger','reportSessionLinkingIssue','jTvLu','fromEntries','HpEwj','parse','htuAT','_onMessage','SXSWc','lcprS','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','YudlX','yEvCL','webkit','Error\x20in\x20finding\x20platform\x20details\x20','AUtUp','../../helpers/test-observability/error-handler','server','channel','defineProperty','edge','2280jLSZgf','info','IVSjr','mqKKC','__driver','includes','patchCRConnection','../../helpers/accessibility-automation/accessibilityRetryHelper.js','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','isRemote','jyRIj','apply','wRXGa','__workerDetails','RFJxw','assign','isRunning','browserName','PLAYWRIGHT_DISPATCH','chrome','GbvUA','MwCGU','EKLPS','67596NeFSHn','hxeie','NuJxh','BROWSERSTACK_TEST_OBSERVABILITY','CUlvn','toLowerCase','202354UVDbUD','UeySL','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','compareVersions','bsParams','ATS_WSS_URL_REGEX','bstackPerformA11yScan','cWTYC','aOjrX','Xrhxi','platform_version','16qbtGGI','rSSSX','model','PfufF','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','../v2/browserstackCLI','titlePath','path','_defaultConnectOptions','btSqn','Driver\x20Scan\x20result=','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','accessibilityPlatform','aKegA','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','getInstance','capabilities','CpMgc','sessionError','Error\x20in\x20importing\x20crConnection','XjwoR','_type','env','query','iXrRH','sdfqY','ODMxG','MPazx','split','OCJpJ','POST','TSJXH','1481392VoesVY','77XkvEoM','ElgPY','sWIUY','url','connectOptions','browser','../../helpers/accessibility-automation/scripts','../../helpers/logger','Connection','bEsQb','BMcIy','../../bin/playwright/accessibility-helper','4|1|3|2|0|7|6|5','_browserType','1179910jlEujQ','browser_version','_connection','kGatE','debug','RKrod','platform','YpCZj','unknown','turboscale','performScan','ITWyM','sessionId','ZoXMM','patchConnection','shouldWrapCommand','Failed\x20to\x20perform\x20scan\x20','4200VXeQlY','aXrsS','getFrameworkVersion','bdgJm','PLAYWRIGHT','browserstack','_name','getDetails','OOYno','xAQai','bsSessionId','ZOMPe','local_grid','use','format','currentTest','deviceModel','platformVersion','bStackParams','caps','YlOrL','PbqIo','../../helpers/test-observability/constants'];a60_0x2afc=function(){return _0x6eaa92;};return a60_0x2afc();}class PlaywrightSessionDetails{static [a60_0x3e7402(0x1bd)]=a60_0x449dc6;constructor(){const _0x317bcb=a60_0x3e7402,_0x554c0d={};_0x554c0d[_0x317bcb(0x19d)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x48d2b8=_0x554c0d;throw new Error(_0x48d2b8[_0x317bcb(0x19d)]);}static [a60_0x3e7402(0x173)]=null;static[a60_0x3e7402(0x1d2)](_0x3f97d9,_0x3c4fa8,_0x1030ee=null){const _0x55381b=a60_0x3e7402,_0x135af5={'bdgJm':_0x55381b(0x12e),'Xrhxi':function(_0x59d25d){return _0x59d25d();},'Tqrjb':_0x55381b(0x1a6),'MwCGU':_0x55381b(0x1ad),'RFJxw':_0x55381b(0x11b),'jTvLu':_0x55381b(0x198),'Gcwjx':function(_0x22c2bb,_0x524808){return _0x22c2bb===_0x524808;},'CpMgc':'function','CUlvn':_0x55381b(0x1c6),'QNbIM':function(_0x4238e5,_0x2288e2){return _0x4238e5===_0x2288e2;},'KTdlY':'Device\x20Model\x20is\x20not\x20available','iXrRH':function(_0x20139a,_0x347918,_0x4fbd66){return _0x20139a(_0x347918,_0x4fbd66);},'MPazx':_0x55381b(0x18f),'bEsQb':_0x55381b(0x169),'mBicg':_0x55381b(0x1c4),'YudlX':_0x55381b(0x1ae),'qMzSt':_0x55381b(0x186),'TZYZy':function(_0x362748,_0x36cd8a){return _0x362748(_0x36cd8a);},'hjJNq':_0x55381b(0x199),'KjrbE':'automate','SXSWc':function(_0x1b7088,_0x3d1b1f){return _0x1b7088(_0x3d1b1f);},'kGatE':function(_0x2045b7,_0x251fe6){return _0x2045b7&&_0x251fe6;},'RKrod':function(_0x11fac7){return _0x11fac7();},'yFxfT':function(_0x5cecae){return _0x5cecae();},'nexbr':function(_0x149109,_0x20f92d){return _0x149109+_0x20f92d;},'lcprS':_0x55381b(0x1da),'QPhHk':function(_0x277aec,_0x237f56){return _0x277aec||_0x237f56;},'YrXUC':_0x55381b(0x1d2)},_0x44bd33=this;return _0x135af5[_0x55381b(0x179)](o11yErrorHandler,async function _0x5927e6(_0x54347f,_0x44bf09,_0x47adfd=null){const _0x59f281=_0x55381b;if(!_0x54347f){logger[_0x59f281(0x194)](_0x135af5[_0x59f281(0x1a4)]),_0x44bd33[_0x59f281(0x1bd)]=Object[_0x59f281(0x148)]({},_0x44bd33[_0x59f281(0x1bd)],{'cloudProvider':_0x135af5[_0x59f281(0x15f)](isBrowserstackInfra)?_0x135af5['Tqrjb']:_0x135af5[_0x59f281(0x14e)],'browser':_0x135af5[_0x59f281(0x147)],'browser_version':_0x135af5['jTvLu']});return;}let _0x1d7b46=_0x54347f[_0x59f281(0x1a7)],_0x249ef6=null;_0x54347f&&_0x135af5['Gcwjx'](typeof _0x54347f['version'],_0x135af5['CpMgc'])?_0x249ef6=_0x54347f['version']():logger[_0x59f281(0x194)](_0x135af5[_0x59f281(0x154)]);let _0x27d069=null;_0x54347f&&_0x135af5[_0x59f281(0x1bf)](typeof _0x54347f[_0x59f281(0x163)],_0x135af5[_0x59f281(0x172)])?_0x27d069=_0x54347f['model']():logger[_0x59f281(0x194)](_0x135af5['KTdlY']);let _0x4c163f=null,_0x36275e=null,_0x5c2f1f=null,_0x20eea6=_0x135af5[_0x59f281(0x14e)];const _0x415047=_0x54347f[_0x59f281(0x192)]&&_0x135af5['QNbIM'](typeof _0x54347f[_0x59f281(0x192)][_0x59f281(0x142)],_0x135af5['CpMgc'])?_0x54347f[_0x59f281(0x192)]['isRemote']():![];if(_0x415047||global['accessibilityPlatform']&&!process['env']['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']){let _0x1da2e4=null;_0x135af5[_0x59f281(0x179)](nestedKeyValue,_0x54347f,[_0x135af5[_0x59f281(0x17c)],_0x135af5[_0x59f281(0x18b)]])?_0x1da2e4=_0x54347f[_0x59f281(0x18f)][_0x59f281(0x169)]:_0x1da2e4=_0x135af5[_0x59f281(0x179)](nestedKeyValue,_0x44bf09,[_0x135af5[_0x59f281(0x123)],_0x135af5[_0x59f281(0x12f)],_0x135af5['qMzSt']]);const _0x537734=_0x47adfd||_0x1da2e4&&_0x1da2e4[_0x59f281(0x1d4)];if(_0x537734){_0x20eea6=_0x135af5[_0x59f281(0x1d6)](getCloudProviderFromWsEndpoint,_0x537734);if(_0x135af5[_0x59f281(0x1bf)](_0x20eea6,_0x135af5['Tqrjb']))_0x5c2f1f=constants[_0x59f281(0x15b)][_0x59f281(0x118)](_0x537734)?_0x135af5['hjJNq']:_0x135af5[_0x59f281(0x1c0)],_0x1d7b46=_0x135af5[_0x59f281(0x12c)](getBrowserFromWSEndpoint,_0x537734)||_0x1d7b46,_0x4c163f=_0x44bd33['currentSessionDetails'][_0x59f281(0x196)],_0x36275e=_0x44bd33['currentSessionDetails'][_0x59f281(0x160)];else{const _0x192f79=await _0x135af5[_0x59f281(0x15f)](getPlatformDetails);_0x4c163f=_0x192f79[_0x59f281(0x1b8)],_0x36275e=_0x192f79[_0x59f281(0x1b2)];}}if(_0x135af5[_0x59f281(0x193)](!_0x4c163f,!_0x36275e)&&!_0x135af5[_0x59f281(0x195)](isBrowserstackInfra)){const _0x3cfb94=await _0x135af5[_0x59f281(0x1c3)](getPlatformDetails);_0x4c163f=_0x3cfb94[_0x59f281(0x1b8)],_0x36275e=_0x3cfb94['platformVersion'];}}else{_0x44bf09&&_0x44bf09[_0x59f281(0x1c4)]['use'][_0x59f281(0x136)]?_0x1d7b46=_0x135af5[_0x59f281(0x1d6)](getBrowserNameFromChannel,_0x44bf09[_0x59f281(0x1c4)]['use'][_0x59f281(0x136)]):_0x1d7b46=_0x135af5['nexbr'](_0x135af5[_0x59f281(0x12d)],_0x135af5['QPhHk'](_0x1d7b46,_0x135af5[_0x59f281(0x126)])[_0x59f281(0x155)]());const _0x3340c4=await _0x135af5[_0x59f281(0x195)](getPlatformDetails);_0x4c163f=_0x3340c4[_0x59f281(0x1b8)],_0x36275e=_0x3340c4['platformVersion'];}const _0x6127a6={};_0x6127a6[_0x59f281(0x187)]=_0x1d7b46,_0x6127a6[_0x59f281(0x191)]=_0x249ef6,_0x6127a6[_0x59f281(0x171)]={},_0x6127a6[_0x59f281(0x196)]=_0x4c163f,_0x6127a6['platform_version']=_0x36275e,_0x6127a6[_0x59f281(0x1cf)]=_0x5c2f1f;const _0x209d5b=_0x6127a6;_0x27d069&&(_0x209d5b['capabilities'][_0x59f281(0x1b1)]=_0x27d069);const _0x18913a={};_0x18913a['cloudProvider']=_0x20eea6,_0x44bd33[_0x59f281(0x1bd)]=Object[_0x59f281(0x148)]({},_0x44bd33[_0x59f281(0x1bd)],_0x18913a,_0x209d5b);},_0x135af5[_0x55381b(0x119)])(_0x3f97d9,_0x3c4fa8,_0x1030ee);}static[a60_0x3e7402(0x1c5)](){const _0x36ed01=a60_0x3e7402;this[_0x36ed01(0x19e)](),this[_0x36ed01(0x13f)]();}static[a60_0x3e7402(0x19e)](){const _0x242959=a60_0x3e7402,_0x28be77={'qBnJr':function(_0x4d29fa,_0x5d28b8,_0x54fc0b){return _0x4d29fa(_0x5d28b8,_0x54fc0b);},'OCJpJ':_0x242959(0x1b0),'yTFWO':'testInfo','IVSjr':_0x242959(0x167),'aKegA':function(_0x3dd725,_0x5c0bab,_0x5da883){return _0x3dd725(_0x5c0bab,_0x5da883);},'iytmM':function(_0x4f3b16,_0x5eb857,_0x4149fe){return _0x4f3b16(_0x5eb857,_0x4149fe);},'fhPPB':_0x242959(0x146),'mqKKC':_0x242959(0x1c9),'aXrsS':function(_0x361863,_0x5d3940,_0x15f15b){return _0x361863(_0x5d3940,_0x15f15b);},'MdBQy':function(_0x5da021,_0x177b15){return _0x5da021===_0x177b15;},'ORJkt':'Page','YpCZj':function(_0x3235fa,_0x436cdf,_0x1486fd,_0x29b7fd){return _0x3235fa(_0x436cdf,_0x1486fd,_0x29b7fd);},'sdtxJ':function(_0x1bfb2b,_0x1311e4){return _0x1bfb2b||_0x1311e4;},'xAQai':function(_0x187ca8,_0x79ae78){return _0x187ca8(_0x79ae78);},'jRPpd':'Not\x20able\x20to\x20resolve\x20Connection\x20class','HpEwj':function(_0x50c94b,_0x76b2ea){return _0x50c94b!=_0x76b2ea;},'EKLPS':function(_0x2cdff4,_0x1fb78a){return _0x2cdff4!=_0x1fb78a;},'jyRIj':function(_0x540519){return _0x540519();},'ITWyM':'sendMessageToServer','XjwoR':'dispatch','uAGxt':_0x242959(0x158)},_0x3e377f=this;!this[_0x242959(0x18a)]&&(this[_0x242959(0x18a)]=helper['resolveConnectionClass'](),!this[_0x242959(0x18a)]&&_0x28be77['xAQai'](debug,_0x28be77[_0x242959(0x1d0)]));const _0x2c591e=this['Connection'];if(_0x28be77[_0x242959(0x128)](_0x2c591e,null)&&_0x2c591e[_0x242959(0x1ca)][_0x242959(0x115)])return;try{if(_0x28be77[_0x242959(0x14f)](_0x2c591e,null)){const _0xb7f7ff=_0x2c591e[_0x242959(0x1ca)]['dispatch'],_0x3b49b7=_0x2c591e[_0x242959(0x1ca)]['sendMessageToServer'];_0x28be77[_0x242959(0x143)](isAccessibilityAutomationSession)&&Object[_0x242959(0x137)](_0x2c591e[_0x242959(0x1ca)],_0x28be77[_0x242959(0x19b)],{'get':function(){return async function(){const _0x31942d=a60_0x75ff;try{if(!global[_0x31942d(0x15c)]&&global[_0x31942d(0x16d)]&&_0x28be77[_0x31942d(0x1cc)](nestedKeyValue,global['__workerDetails'],[_0x28be77[_0x31942d(0x17e)],_0x28be77['yTFWO'],_0x28be77[_0x31942d(0x13b)]])&&_0x28be77[_0x31942d(0x16e)](shouldScanTestForAccessibility,global[_0x31942d(0x146)][_0x31942d(0x1b0)][_0x31942d(0x11c)]['titlePath'],!![])&&scripts[_0x31942d(0x19f)](arguments[0x1])){logger[_0x31942d(0x194)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x31942d(0x15c)]=!![];const _0x1a2dee=_0x28be77[_0x31942d(0x121)](nestedKeyValue,global,[_0x28be77['fhPPB'],_0x28be77[_0x31942d(0x13c)]]);_0x1a2dee&&logger[_0x31942d(0x13a)](_0x31942d(0x113)+util[_0x31942d(0x1af)](await _0x28be77[_0x31942d(0x1a2)](performScanWithRetry,_0x1a2dee,arguments[0x1]))),_0x28be77['MdBQy'](arguments[0x0][_0x31942d(0x176)],_0x28be77[_0x31942d(0x11d)])&&global[_0x31942d(0x13d)]&&logger[_0x31942d(0x13a)](_0x31942d(0x16b)+util[_0x31942d(0x1af)](await _0x28be77[_0x31942d(0x197)](performScanWithRetry,global[_0x31942d(0x13d)],arguments[0x1],scripts[_0x31942d(0x19a)])));}}catch(_0x4abc06){logger[_0x31942d(0x194)](_0x31942d(0x1a0)+util['format'](_0x4abc06));}return global[_0x31942d(0x15c)]=![],_0x3b49b7['apply'](this,arguments);};}}),!_0x28be77['xAQai'](isFalse,process[_0x242959(0x177)][_0x242959(0x153)])&&Object[_0x242959(0x137)](_0x2c591e[_0x242959(0x1ca)],_0x28be77[_0x242959(0x175)],{'get':function(){const _0x1805e8={'cWTYC':function(_0x45e83c,_0x42c331){const _0x26e398=a60_0x75ff;return _0x28be77[_0x26e398(0x1bb)](_0x45e83c,_0x42c331);},'TSJXH':function(_0x348df0,_0x4f3c65){const _0x36b28a=a60_0x75ff;return _0x28be77[_0x36b28a(0x1aa)](_0x348df0,_0x4f3c65);}};return function _0x20a015(_0x35f00e){const _0x3a7008=a60_0x75ff,_0x4ec111=_0xb7f7ff['apply'](this,arguments);try{if(BrowserstackCLI[_0x3a7008(0x170)]()[_0x3a7008(0x149)]()){const _0x5b4b8f={};_0x5b4b8f[_0x3a7008(0x1c2)]=_0x35f00e,Promise[_0x3a7008(0x1b9)](BrowserstackCLI[_0x3a7008(0x170)]()[_0x3a7008(0x1c1)]()['trackEvent'](AutomationFrameworkState[_0x3a7008(0x14b)],HookState[_0x3a7008(0x17f)],_0x5b4b8f))[_0x3a7008(0x1cd)](()=>{});}else{const _0x5586a8=_0x35f00e&&_0x35f00e['params']&&_0x35f00e['params'][_0x3a7008(0x15a)];if(_0x5586a8){const _0x594609=_0x5586a8[_0x3a7008(0x19c)],_0x59538d=_0x5586a8[_0x3a7008(0x120)];_0x1805e8[_0x3a7008(0x15d)](!_0x594609,!_0x59538d)&&Promise[_0x3a7008(0x1b9)](ClientTroubleShootingService[_0x3a7008(0x125)]())['catch'](()=>{}),_0x59538d&&(_0x1805e8[_0x3a7008(0x180)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x59538d['toString']()),_0x3e377f[_0x3a7008(0x1bd)][_0x3a7008(0x196)]=_0x59538d[_0x3a7008(0x1b8)],_0x3e377f[_0x3a7008(0x1bd)][_0x3a7008(0x160)]=_0x59538d['platformVersion']),_0x594609&&(_0x1805e8[_0x3a7008(0x180)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x594609),_0x3e377f[_0x3a7008(0x1bd)][_0x3a7008(0x1ab)]=_0x594609);}}}catch(_0x3db7a6){_0x1805e8[_0x3a7008(0x180)](debug,_0x3a7008(0x16c)+(_0x3db7a6&&_0x3db7a6[_0x3a7008(0x1d9)]?_0x3db7a6[_0x3a7008(0x1d9)]():_0x3db7a6));}return _0x4ec111;};}}),_0x2c591e[_0x242959(0x1ca)]['_bstackDispatchPatched']=!![],logger['debug'](_0x28be77['uAGxt']);}}catch(_0x527fa9){_0x28be77['xAQai'](debug,_0x242959(0x141)+_0x527fa9),_0x3e377f[_0x242959(0x173)]=_0x527fa9[_0x242959(0x1d9)]();}}static[a60_0x3e7402(0x13f)](){const _0x1293e2=a60_0x3e7402,_0x261b60={'UeySL':function(_0x487269,_0x11f427){return _0x487269(_0x11f427);},'lwYmF':function(_0x207714,_0xc84fc7){return _0x207714(_0xc84fc7);},'JoVWw':function(_0xfea2f0){return _0xfea2f0();},'YCZpg':function(_0x55972d,_0xcc7382){return _0x55972d>=_0xcc7382;},'CPCxD':'1.60.0','btSqn':function(_0xa0bfe5,_0x337d99){return _0xa0bfe5(_0x337d99);},'BMcIy':_0x1293e2(0x16f),'onOMw':'lib','PfufF':_0x1293e2(0x135),'fGMix':_0x1293e2(0x122),'sWIUY':'crConnection.js','ZOMPe':function(_0x46dd88,_0x16916d){return _0x46dd88(_0x16916d);},'yEvCL':function(_0x2c3191,_0x584338){return _0x2c3191(_0x584338);},'XYsSN':'Not\x20able\x20to\x20import\x20crConnection','OOYno':function(_0x555b7f,_0x24a4f5){return _0x555b7f(_0x24a4f5);},'PorUd':_0x1293e2(0x174),'Vxfef':function(_0x522980,_0x251e35){return _0x522980!=_0x251e35;},'rSSSX':_0x1293e2(0x12b)},_0xc3322=this;if(_0x261b60[_0x1293e2(0x11e)](isAccessibilityAutomationSession)){let _0x974aad=null,_0x6c27c7=![];try{const _0x2808d6=helper[_0x1293e2(0x1a3)](FRAMEWORKS[_0x1293e2(0x1a5)]);_0x6c27c7=_0x261b60['YCZpg'](helper[_0x1293e2(0x159)](_0x2808d6,_0x261b60['CPCxD']),0x0);}catch(_0x4c788f){_0x261b60[_0x1293e2(0x157)](debug,'Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20'+_0x4c788f['toString']());}if(_0x6c27c7)_0x261b60['btSqn'](debug,_0x261b60[_0x1293e2(0x18c)]);else try{const _0x431818=path['join'](_0x261b60['onOMw'],_0x261b60[_0x1293e2(0x164)],_0x261b60['fGMix'],_0x261b60[_0x1293e2(0x184)]),_0x254df7=_0x261b60[_0x1293e2(0x1ac)](importFileFromPWCore,_0x431818);!_0x254df7?_0x261b60[_0x1293e2(0x130)](debug,_0x261b60[_0x1293e2(0x1d1)]):_0x974aad=_0x254df7[_0x1293e2(0x1ba)];}catch(_0x5c461){_0x261b60[_0x1293e2(0x1a9)](debug,_0x261b60['PorUd']);}try{if(_0x261b60['Vxfef'](_0x974aad,null)){const _0x910783=_0x974aad['prototype'][_0x1293e2(0x12b)];Object[_0x1293e2(0x137)](_0x974aad[_0x1293e2(0x1ca)],_0x261b60[_0x1293e2(0x162)],{'get':function(){const _0x1e670f={'RNiMi':function(_0x1ad519,_0x40af03){const _0x54ace0=a60_0x75ff;return _0x261b60[_0x54ace0(0x157)](_0x1ad519,_0x40af03);},'RSNUJ':function(_0x5d15bd,_0xbd4b6d){const _0x2f8d00=a60_0x75ff;return _0x261b60[_0x2f8d00(0x157)](_0x5d15bd,_0xbd4b6d);},'aOjrX':function(_0xa4e0ae,_0x2078d4){return _0x261b60['lwYmF'](_0xa4e0ae,_0x2078d4);}};return async function _0x4782c3(_0x15d2fe){const _0x21a4a8=a60_0x75ff;try{if(BrowserstackCLI[_0x21a4a8(0x170)]()[_0x21a4a8(0x149)]()){const _0x4af273={};_0x4af273['message']=_0x15d2fe,await BrowserstackCLI[_0x21a4a8(0x170)]()[_0x21a4a8(0x1c1)]()[_0x21a4a8(0x116)](AutomationFrameworkState[_0x21a4a8(0x14b)],HookState['POST'],_0x4af273),delete _0x15d2fe[_0x21a4a8(0x1b3)];}else{const _0x24d9a1=_0x15d2fe['bStackParams'];if(_0x24d9a1){delete _0x15d2fe[_0x21a4a8(0x1b3)];const _0x4468e2=_0x24d9a1[_0x21a4a8(0x19c)],_0x3e83ba=_0x24d9a1[_0x21a4a8(0x120)];_0x3e83ba&&(_0x1e670f[_0x21a4a8(0x1d8)](debug,_0x21a4a8(0x165)+_0x3e83ba[_0x21a4a8(0x1d9)]()),_0xc3322[_0x21a4a8(0x1bd)]['platform']=_0x3e83ba[_0x21a4a8(0x1b8)],_0xc3322['currentSessionDetails'][_0x21a4a8(0x160)]=_0x3e83ba[_0x21a4a8(0x1b2)]),_0x4468e2&&(_0x1e670f['RSNUJ'](debug,_0x21a4a8(0x1bc)+_0x4468e2),_0xc3322['currentSessionDetails'][_0x21a4a8(0x1ab)]=_0x4468e2);}}}catch(_0x40f802){_0x1e670f[_0x21a4a8(0x15e)](debug,_0x21a4a8(0x132)+_0x40f802[_0x21a4a8(0x1d9)]());}return _0x910783[_0x21a4a8(0x144)](this,arguments);};}});}}catch(_0x5c8679){_0x261b60[_0x1293e2(0x16a)](debug,_0x1293e2(0x117)+_0x5c8679),_0xc3322[_0x1293e2(0x173)]=_0x5c8679[_0x1293e2(0x1d9)]();}}}static[a60_0x3e7402(0x1a8)](){return this['currentSessionDetails'];}}function a60_0x75ff(_0x2a5887,_0x2c48ff){const _0x2afc29=a60_0x2afc();return a60_0x75ff=function(_0x75ffc,_0x11dfce){_0x75ffc=_0x75ffc-0x112;let _0x1cdfdd=_0x2afc29[_0x75ffc];return _0x1cdfdd;},a60_0x75ff(_0x2a5887,_0x2c48ff);}module[a60_0x3e7402(0x1d7)]=PlaywrightSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a61_0x126c(){const _0xc26f9a=['2181361GgPVHm','o11ySyncDone','isRunning','402YGfEED','foXpV','setCustomTags','newPage','apply','sLOJU','226025gulkkr','evaluate','format','1933068MztIys','78606RCwtgR','fMffT','measureWrapper','../v2/uploadAttachmentsManager','env','now','SYNC','util','110hFxkpG','../../helpers/performance/constants','2961zvHUII','__workerDetails','OVupj','../v2/customTagManager','UhQRU','stringify','annotate','getInstance','17256WmYBdn','SeEXp','428318ozDmRi','debug','33235IjAxkI','zIgtk','../v2/browserstackCLI','patchBrowserNewPage','51qFEjlI','uploadAttachment','gIMIM','_bstackNewPagePatched','../../helpers/logger'];a61_0x126c=function(){return _0xc26f9a;};return a61_0x126c();}const a61_0x417308=a61_0x42fb;(function(_0x246a54,_0x131a06){const _0x1d9ce2=a61_0x42fb,_0x51c6e1=_0x246a54();while(!![]){try{const _0x258803=-parseInt(_0x1d9ce2(0x144))/0x1+parseInt(_0x1d9ce2(0x148))/0x2*(parseInt(_0x1d9ce2(0x162))/0x3)+-parseInt(_0x1d9ce2(0x147))/0x4+-parseInt(_0x1d9ce2(0x15e))/0x5*(-parseInt(_0x1d9ce2(0x13e))/0x6)+parseInt(_0x1d9ce2(0x13b))/0x7+parseInt(_0x1d9ce2(0x15a))/0x8*(-parseInt(_0x1d9ce2(0x152))/0x9)+parseInt(_0x1d9ce2(0x150))/0xa*(parseInt(_0x1d9ce2(0x15c))/0xb);if(_0x258803===_0x131a06)break;else _0x51c6e1['push'](_0x51c6e1['shift']());}catch(_0x21dc0e){_0x51c6e1['push'](_0x51c6e1['shift']());}}}(a61_0x126c,0x6a140));function a61_0x42fb(_0x4303b6,_0x17d53a){const _0x126c12=a61_0x126c();return a61_0x42fb=function(_0x42fb1f,_0x1d595e){_0x42fb1f=_0x42fb1f-0x13a;let _0x55dded=_0x126c12[_0x42fb1f];return _0x55dded;},a61_0x42fb(_0x4303b6,_0x17d53a);}const util=require(a61_0x417308(0x14f)),logger=require(a61_0x417308(0x13a)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a61_0x417308(0x151)),BrowserstackCLI=require(a61_0x417308(0x160)),CustomTagManager=require(a61_0x417308(0x155)),uploadAttachmentsManager=require(a61_0x417308(0x14b)),doo11ySync=PerformanceTester[a61_0x417308(0x14a)](PerformanceO11yEvents[a61_0x417308(0x14e)],o11yErrorHandler(async function doo11ySync(_0x45deb6){const _0x3c7a49=a61_0x417308,_0xfbb702={'OVupj':function(_0x11199b,_0x195e2e,_0x604b7b){return _0x11199b(_0x195e2e,_0x604b7b);},'sLOJU':_0x3c7a49(0x153),'UhQRU':'o11ySyncDone','fMffT':_0x3c7a49(0x158),'foXpV':_0x3c7a49(0x15d)};if(_0xfbb702[_0x3c7a49(0x154)](nestedKeyValue,global,[_0xfbb702[_0x3c7a49(0x143)],_0xfbb702[_0x3c7a49(0x156)]]))return;await _0x45deb6[_0x3c7a49(0x145)](_0x504c75=>{},'browserstack_executor:\x20'+JSON[_0x3c7a49(0x157)]({'action':_0xfbb702[_0x3c7a49(0x149)],'arguments':{'data':'ObservabilitySync:'+Date[_0x3c7a49(0x14d)](),'level':_0xfbb702[_0x3c7a49(0x13f)]}})),global[_0x3c7a49(0x153)][_0x3c7a49(0x13c)]=!![];},'doo11ySync'));exports[a61_0x417308(0x161)]=_0x455c89=>{const _0x256328=a61_0x417308,_0x4b18f5={'zIgtk':function(_0x4b1710,_0x229213){return _0x4b1710(_0x229213);},'gIMIM':function(_0x3a4a96,_0x4b1e1f,_0x23db10){return _0x3a4a96(_0x4b1e1f,_0x23db10);},'SeEXp':_0x256328(0x153)};if(!_0x455c89||_0x455c89['_bstackNewPagePatched'])return;const _0x16069a=_0x455c89[_0x256328(0x141)]['bind'](_0x455c89);_0x455c89[_0x256328(0x141)]=async function _0x4a88e4(){const _0x3a6b0c=_0x256328,_0x36467d=await _0x16069a[_0x3a6b0c(0x142)](_0x455c89,arguments);try{!BrowserstackCLI[_0x3a6b0c(0x159)]()['isRunning']()&&!_0x4b18f5[_0x3a6b0c(0x15f)](isFalse,process[_0x3a6b0c(0x14c)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&await _0x4b18f5[_0x3a6b0c(0x15f)](doo11ySync,_0x36467d),BrowserstackCLI[_0x3a6b0c(0x159)]()[_0x3a6b0c(0x13d)]()&&(_0x36467d[_0x3a6b0c(0x140)]=async(_0x2ca1f8,_0x386300,_0x40d9fc=![])=>{const _0x44d118=_0x3a6b0c;await CustomTagManager[_0x44d118(0x140)](_0x2ca1f8,_0x386300,_0x40d9fc);},_0x36467d[_0x3a6b0c(0x163)]=async(_0x442fe0,_0x5be746=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x442fe0,_0x5be746);});}catch(_0x23d067){logger[_0x3a6b0c(0x15d)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x3a6b0c(0x146)](_0x23d067));}return _0x4b18f5[_0x3a6b0c(0x164)](nestedKeyValue,global,[_0x4b18f5[_0x3a6b0c(0x15b)]])&&(global['__workerDetails']['pwPage']=_0x36467d),_0x36467d;},_0x455c89[_0x256328(0x165)]=!![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a62_0x3e8c(){const _0xaaab3e=['Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','../utils/constants','POST','96rEIDdz','yPsAk','browserstack','mwMIG','getInstance','sessionId','LQUJA','currentSessionDetails','OXoSp','turboscale','params','platformName','nrCJv','isRunning','platformVersion','bTYNx','setupBrowserDetails','3024462ickLrW','includes','function','capabilities','platformDetails','parse','getAutomationFramework','ATS_WSS_URL_REGEX','message','Setting\x20session\x20id\x20received\x20from\x20BS\x20','stringify','path','assign','xPIBU','24TmhhYj','NTIKx','string','68826UnxKXj','product','../v2/browserstackCLI','gImVK','kLowj','lTguO','../../helpers/test-observability/utils','test','rVTEN','result','HWedQ','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','5458836ofbVPj','sessionError','platform_version','query','WNvfZ','xnZAO','xIItY','BSTACK_URL','Error\x20in\x20patchConnection:\x20','201939pKayyL','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','WaNRm','bsParams','util','9147660KNbfWg','chrome','150445BdDnze','entries','format','PLAYWRIGHT_DISPATCH','toString','winstonLogger','platform','_bstackPatched','bsSessionId','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','connection','url','../../helpers/helper','36SCqXYC','dAjoy','automate','browser_version','euIXn','apply','bStackParams','ZgISu','browser','vULDa','1707651JLdoGv','version','cloudProvider','onmessage','../v2/state/automationFrameworkState.js'];a62_0x3e8c=function(){return _0xaaab3e;};return a62_0x3e8c();}function a62_0x5cc3(_0x55883b,_0x57a0c5){const _0x3e8c0d=a62_0x3e8c();return a62_0x5cc3=function(_0x5cc388,_0x2e99ee){_0x5cc388=_0x5cc388-0x1cc;let _0x252307=_0x3e8c0d[_0x5cc388];return _0x252307;},a62_0x5cc3(_0x55883b,_0x57a0c5);}const a62_0x52ebd2=a62_0x5cc3;(function(_0x5a493b,_0xae0ae9){const _0x13329b=a62_0x5cc3,_0x50014c=_0x5a493b();while(!![]){try{const _0x123f20=parseInt(_0x13329b(0x1d9))/0x1+parseInt(_0x13329b(0x221))/0x2*(-parseInt(_0x13329b(0x1ed))/0x3)+parseInt(_0x13329b(0x1ff))/0x4*(parseInt(_0x13329b(0x1e0))/0x5)+parseInt(_0x13329b(0x1d0))/0x6+-parseInt(_0x13329b(0x210))/0x7*(parseInt(_0x13329b(0x21e))/0x8)+-parseInt(_0x13329b(0x1f7))/0x9+parseInt(_0x13329b(0x1de))/0xa;if(_0x123f20===_0xae0ae9)break;else _0x50014c['push'](_0x50014c['shift']());}catch(_0x46f8e2){_0x50014c['push'](_0x50014c['shift']());}}}(a62_0x3e8c,0xcf75a));const path=require(a62_0x52ebd2(0x21b)),url=require(a62_0x52ebd2(0x1eb)),util=require(a62_0x52ebd2(0x1dd)),{nestedKeyValue,isFalse}=require(a62_0x52ebd2(0x1ec)),{debug,getPlatformDetails}=require(a62_0x52ebd2(0x227)),logger=require('../../helpers/logger')[a62_0x52ebd2(0x1e5)],constants=require(a62_0x52ebd2(0x1fd)),BrowserstackCLI=require(a62_0x52ebd2(0x223)),AutomationFrameworkState=require(a62_0x52ebd2(0x1fb)),HookState=require('../v2/state/hookState.js'),getBrowserFromWSEndpoint=_0x156f62=>{const _0x354a07=a62_0x52ebd2,_0x3f7067={'dAjoy':_0x354a07(0x1df),'NTIKx':function(_0x40f985,_0x3ac02a){return _0x40f985(_0x3ac02a);}};try{const _0x251504=url[_0x354a07(0x215)](_0x156f62),_0x470c2b=new URLSearchParams(_0x251504[_0x354a07(0x1d3)]),_0x7a8998=Object['fromEntries'](_0x470c2b[_0x354a07(0x1e1)]()),_0x3e7a36=JSON[_0x354a07(0x215)](_0x7a8998['caps']);if(_0x3e7a36&&(_0x3e7a36[_0x354a07(0x1f5)]||_0x3e7a36['browserName']))return _0x3e7a36['browser']||_0x3e7a36['browserName'];return _0x3f7067[_0x354a07(0x1ee)];}catch(_0x5b9a6e){_0x3f7067[_0x354a07(0x21f)](debug,_0x354a07(0x1da)+_0x5b9a6e[_0x354a07(0x1e4)]());}},getCloudProviderFromWsEndpoint=_0xa13b44=>{const _0x2c39e3=a62_0x52ebd2,_0x9d214b={};_0x9d214b[_0x2c39e3(0x207)]=_0x2c39e3(0x201),_0x9d214b[_0x2c39e3(0x226)]='unknown_grid';const _0x533a4e=_0x9d214b;if(_0xa13b44[_0x2c39e3(0x211)](constants[_0x2c39e3(0x1d7)])||_0xa13b44[_0x2c39e3(0x211)](constants['BSTACK_ATS_URL']))return _0x533a4e['OXoSp'];return _0x533a4e[_0x2c39e3(0x226)];},a62_0x258660={};a62_0x258660[a62_0x52ebd2(0x1f9)]=undefined,a62_0x258660[a62_0x52ebd2(0x1e8)]=undefined,a62_0x258660[a62_0x52ebd2(0x1f5)]=undefined,a62_0x258660['browser_version']=undefined,a62_0x258660[a62_0x52ebd2(0x1e6)]=undefined,a62_0x258660[a62_0x52ebd2(0x1d2)]=undefined,a62_0x258660[a62_0x52ebd2(0x222)]=undefined,a62_0x258660[a62_0x52ebd2(0x213)]={};class PuppeteerSessionDetails{static [a62_0x52ebd2(0x206)]=a62_0x258660;constructor(){const _0x4bfa8c=a62_0x52ebd2,_0x3336b3={};_0x3336b3[_0x4bfa8c(0x1f6)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x4c6671=_0x3336b3;throw new Error(_0x4c6671['vULDa']);}static ['sessionError']=null;static async[a62_0x52ebd2(0x20f)](_0x3f3122,_0x48f5bf){const _0x5a69b4=a62_0x52ebd2,_0x414060={'kLowj':_0x5a69b4(0x1df),'mWJgd':function(_0x5bae00,_0xbd3d54){return _0x5bae00===_0xbd3d54;},'WaNRm':_0x5a69b4(0x212),'jytKv':'local_grid','xnZAO':function(_0xeeb17,_0x1c0e6e){return _0xeeb17(_0x1c0e6e);},'mwMIG':function(_0x1c4f7c,_0x2294c3){return _0x1c4f7c===_0x2294c3;},'WNvfZ':_0x5a69b4(0x201),'bTYNx':_0x5a69b4(0x208),'xPIBU':_0x5a69b4(0x1ef),'nrCJv':function(_0x161255){return _0x161255();},'LQUJA':function(_0x4e6b79,_0xf665a9){return _0x4e6b79(_0xf665a9);}};try{let _0x470204=_0x414060[_0x5a69b4(0x225)],_0xd91941=null;_0x3f3122&&_0x414060['mWJgd'](typeof _0x3f3122[_0x5a69b4(0x1f8)],_0x414060[_0x5a69b4(0x1db)])&&(_0xd91941=await _0x3f3122[_0x5a69b4(0x1f8)]());let _0x1dd8dc=null,_0x290cba=null,_0x136891=null,_0x4f7dce=_0x414060['jytKv'];if(_0x48f5bf){_0x4f7dce=_0x414060['xnZAO'](getCloudProviderFromWsEndpoint,_0x48f5bf);if(_0x414060[_0x5a69b4(0x202)](_0x4f7dce,_0x414060[_0x5a69b4(0x1d4)]))_0x136891=constants[_0x5a69b4(0x217)]?constants[_0x5a69b4(0x217)][_0x5a69b4(0x228)](_0x48f5bf)?_0x414060[_0x5a69b4(0x20e)]:_0x414060[_0x5a69b4(0x21d)]:_0x414060[_0x5a69b4(0x21d)],_0x470204=_0x414060[_0x5a69b4(0x1d5)](getBrowserFromWSEndpoint,_0x48f5bf)||_0x470204,_0x1dd8dc=this[_0x5a69b4(0x206)][_0x5a69b4(0x1e6)],_0x290cba=this[_0x5a69b4(0x206)]['platform_version'];else{const _0x53ea06=await _0x414060[_0x5a69b4(0x20b)](getPlatformDetails);_0x1dd8dc=_0x53ea06['platformName'],_0x290cba=_0x53ea06[_0x5a69b4(0x20d)];}}else{const _0x289966=await _0x414060[_0x5a69b4(0x20b)](getPlatformDetails);_0x1dd8dc=_0x289966[_0x5a69b4(0x20a)],_0x290cba=_0x289966[_0x5a69b4(0x20d)];}const _0x5036b2={};_0x5036b2[_0x5a69b4(0x1f5)]=_0x470204,_0x5036b2[_0x5a69b4(0x1f0)]=_0xd91941,_0x5036b2['capabilities']={},_0x5036b2[_0x5a69b4(0x1e6)]=_0x1dd8dc,_0x5036b2['platform_version']=_0x290cba,_0x5036b2[_0x5a69b4(0x222)]=_0x136891;const _0x4b19e6=_0x5036b2,_0x425719={};_0x425719[_0x5a69b4(0x1f9)]=_0x4f7dce,this[_0x5a69b4(0x206)]=Object[_0x5a69b4(0x21c)]({},this[_0x5a69b4(0x206)],_0x425719,_0x4b19e6);}catch(_0x3f7fd7){_0x414060[_0x5a69b4(0x205)](debug,'Error\x20in\x20setupBrowserDetails:\x20'+util['format'](_0x3f7fd7)),this['sessionError']=_0x3f7fd7['toString']();}}static['patchConnection'](_0x278f4f){const _0x180905=a62_0x52ebd2,_0x2c7b51={'rVTEN':function(_0x54377b,_0x13dbea){return _0x54377b===_0x13dbea;},'gImVK':_0x180905(0x220),'HWedQ':function(_0x54dd9f,_0x595c9f){return _0x54dd9f(_0x595c9f);},'xIItY':function(_0xf71706,_0xaf603f){return _0xf71706===_0xaf603f;},'yPsAk':function(_0x27a507,_0x22ea5f){return _0x27a507(_0x22ea5f);},'ZgISu':_0x180905(0x1cf),'euIXn':function(_0x111cf7,_0x3a307c){return _0x111cf7(_0x3a307c);}},_0x378ebb=this;try{const _0x5adc76=_0x278f4f['_connection']||_0x278f4f[_0x180905(0x1ea)];if(!_0x5adc76||_0x5adc76[_0x180905(0x1e7)])return;const _0x2546a9=_0x5adc76[_0x180905(0x1fa)];_0x5adc76[_0x180905(0x1fa)]=function(_0x116d9f){const _0x5797ee=_0x180905;try{const _0x44103e=_0x2c7b51[_0x5797ee(0x1cc)](typeof _0x116d9f,_0x2c7b51[_0x5797ee(0x224)])?JSON[_0x5797ee(0x215)](_0x116d9f):_0x116d9f,_0x2546c9=_0x44103e?.['bStackParams']||_0x44103e?.[_0x5797ee(0x1dc)]||_0x44103e?.['params']?.['bsParams']||_0x44103e?.[_0x5797ee(0x209)]?.['bStackParams']||_0x44103e?.['result']?.[_0x5797ee(0x1dc)]||_0x44103e?.[_0x5797ee(0x1cd)]?.[_0x5797ee(0x1f3)];if(_0x2546c9){if(BrowserstackCLI[_0x5797ee(0x203)]()[_0x5797ee(0x20c)]()){const _0x654cb={};_0x654cb[_0x5797ee(0x218)]=_0x44103e,BrowserstackCLI[_0x5797ee(0x203)]()[_0x5797ee(0x216)]()['trackEvent'](AutomationFrameworkState[_0x5797ee(0x1e3)],HookState[_0x5797ee(0x1fe)],_0x654cb);}else{const _0x5a90b0=_0x2546c9[_0x5797ee(0x204)],_0x389138=_0x2546c9[_0x5797ee(0x214)];_0x389138&&(_0x2c7b51[_0x5797ee(0x1ce)](debug,_0x5797ee(0x1e9)+JSON[_0x5797ee(0x21a)](_0x389138)),_0x378ebb[_0x5797ee(0x206)]['platform']=_0x389138[_0x5797ee(0x20a)],_0x378ebb[_0x5797ee(0x206)][_0x5797ee(0x1d2)]=_0x389138[_0x5797ee(0x20d)]),_0x5a90b0&&(_0x2c7b51['HWedQ'](debug,_0x5797ee(0x219)+_0x5a90b0),_0x378ebb['currentSessionDetails'][_0x5797ee(0x1e8)]=_0x5a90b0);}_0x2c7b51[_0x5797ee(0x1d6)](typeof _0x116d9f,_0x2c7b51['gImVK'])&&(delete _0x44103e[_0x5797ee(0x1f3)],delete _0x44103e[_0x5797ee(0x1dc)],_0x44103e[_0x5797ee(0x209)]&&(delete _0x44103e[_0x5797ee(0x209)][_0x5797ee(0x1dc)],delete _0x44103e['params'][_0x5797ee(0x1f3)]),_0x44103e['result']&&(delete _0x44103e[_0x5797ee(0x1cd)][_0x5797ee(0x1dc)],delete _0x44103e[_0x5797ee(0x1cd)][_0x5797ee(0x1f3)]));}}catch(_0x15e759){_0x2c7b51[_0x5797ee(0x200)](debug,_0x5797ee(0x1fc)+_0x15e759['message']);}return _0x2546a9?.[_0x5797ee(0x1f2)](this,arguments);},_0x5adc76['_bstackPatched']=!![],logger['debug'](_0x2c7b51[_0x180905(0x1f4)]);}catch(_0x9a530){_0x2c7b51[_0x180905(0x1f1)](debug,_0x180905(0x1d8)+util[_0x180905(0x1e2)](_0x9a530)),_0x378ebb[_0x180905(0x1d1)]=_0x9a530[_0x180905(0x1e4)]();}}static['getDetails'](){const _0x158314=a62_0x52ebd2;return this[_0x158314(0x206)];}}module['exports']=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0x37e9e2=a63_0x497e;(function(_0x7a2f23,_0x2cdf93){const _0x1f414b=a63_0x497e,_0x29e9f5=_0x7a2f23();while(!![]){try{const _0x3ddc5b=-parseInt(_0x1f414b(0x16d))/0x1+-parseInt(_0x1f414b(0x173))/0x2+-parseInt(_0x1f414b(0x180))/0x3+-parseInt(_0x1f414b(0x18f))/0x4*(parseInt(_0x1f414b(0x172))/0x5)+-parseInt(_0x1f414b(0x174))/0x6*(-parseInt(_0x1f414b(0x18d))/0x7)+-parseInt(_0x1f414b(0x190))/0x8*(-parseInt(_0x1f414b(0x18b))/0x9)+parseInt(_0x1f414b(0x17c))/0xa;if(_0x3ddc5b===_0x2cdf93)break;else _0x29e9f5['push'](_0x29e9f5['shift']());}catch(_0x5b67b5){_0x29e9f5['push'](_0x29e9f5['shift']());}}}(a63_0x1364,0xaddf5));const {isTrue,isBrowserstackInfra}=require(a63_0x37e9e2(0x181)),setKeepAlive=require(a63_0x37e9e2(0x18c)),util=require(a63_0x37e9e2(0x16e)),logger=require(a63_0x37e9e2(0x161))[a63_0x37e9e2(0x162)],{shouldProcessEventForTesthub}=require(a63_0x37e9e2(0x189)),{addRequestSpy}=require(a63_0x37e9e2(0x15d)),a63_0x50863d={};function a63_0x497e(_0x451d40,_0x133fa6){const _0x1364d0=a63_0x1364();return a63_0x497e=function(_0x497e90,_0x5377d2){_0x497e90=_0x497e90-0x15c;let _0x1dee1f=_0x1364d0[_0x497e90];return _0x1dee1f;},a63_0x497e(_0x451d40,_0x133fa6);}a63_0x50863d[a63_0x37e9e2(0x18a)]=undefined,a63_0x50863d[a63_0x37e9e2(0x160)]={},a63_0x50863d[a63_0x37e9e2(0x167)]=![],a63_0x50863d[a63_0x37e9e2(0x17f)]=null,a63_0x50863d[a63_0x37e9e2(0x166)]=![],a63_0x50863d[a63_0x37e9e2(0x160)]['id']=undefined,a63_0x50863d[a63_0x37e9e2(0x160)]['testInfo']=undefined;const workerDetails=a63_0x50863d;function a63_0x1364(){const _0x552a94=['true','isCliEnabled','puppeteer-core','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','skipSessionStatus','getPackageVersion','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','8642750fsshRV','format','../v2/cliUtils','pwPage','1838994gohcwh','../../helpers/helper','__skipSessionName','../utils/puppeteer-patcher','initializePuppeteerPatching','catch','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','../../helpers/testhub/utils','workerInfo','96606NxbBMO','../../helpers/setKeepAlive','646149qGdjQY','__skipSessionStatus','60CYtYuu','456oJzvxk','setFrameworkDetail','getInstance','../../helpers/test-observability/utils','JEST','skipSessionName','currentTest','../../helpers/logger','winstonLogger','bootstrap','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','env','isPageFixture','o11ySyncDone','debug','BROWSERSTACK_PUPPETEER','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','PUPPETEER','../utils/constants','72016ZWPDvj','util','jestConfig','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','puppeteer','125635jFlibG','1988622objVjj','84RjmDup'];a63_0x1364=function(){return _0x552a94;};return a63_0x1364();}global['__workerDetails']=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a63_0x37e9e2(0x16f)])try{isBrowserstackInfra()?(global[a63_0x37e9e2(0x182)]=isTrue(global['jestConfig']?.[a63_0x37e9e2(0x15f)]),global[a63_0x37e9e2(0x18e)]=isTrue(global['jestConfig']?.[a63_0x37e9e2(0x179)])):(global['__skipSessionName']=!![],global[a63_0x37e9e2(0x18e)]=!![]);const helper=require(a63_0x37e9e2(0x181)),puppeteerVersion=helper['getPackageVersion'](a63_0x37e9e2(0x171))||helper[a63_0x37e9e2(0x17a)](a63_0x37e9e2(0x177));if(puppeteerVersion)try{logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x170)),puppeteerPatcher=require(a63_0x37e9e2(0x183)),puppeteerPatcher[a63_0x37e9e2(0x184)](global[a63_0x37e9e2(0x16f)]),logger['debug'](a63_0x37e9e2(0x17b));}catch(a63_0x26aada){logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x164)+util['format'](a63_0x26aada));}if(puppeteerPatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a63_0x37e9e2(0x17e)),{FRAMEWORKS}=require(a63_0x37e9e2(0x16c));BrowserstackCLI[a63_0x37e9e2(0x15c)]()[a63_0x37e9e2(0x176)]()&&(logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x187)),process[a63_0x37e9e2(0x165)][a63_0x37e9e2(0x169)]=a63_0x37e9e2(0x175),CLIUtils[a63_0x37e9e2(0x191)](FRAMEWORKS[a63_0x37e9e2(0x15e)],FRAMEWORKS[a63_0x37e9e2(0x16b)]),BrowserstackCLI[a63_0x37e9e2(0x15c)]()[a63_0x37e9e2(0x163)]()[a63_0x37e9e2(0x185)](_0x32176d=>{const _0x5eb1cf=a63_0x37e9e2;logger[_0x5eb1cf(0x168)](_0x5eb1cf(0x16a)+util[_0x5eb1cf(0x17d)](_0x32176d));}));}catch(a63_0x4fc76d){logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x186)+util[a63_0x37e9e2(0x17d)](a63_0x4fc76d));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a63_0x52caa2){logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x178)+util[a63_0x37e9e2(0x17d)](a63_0x52caa2));}logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x188));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a64_0x122bd0=a64_0x4dcf;(function(_0x468984,_0x20bdf5){const _0x521548=a64_0x4dcf,_0x57c9b1=_0x468984();while(!![]){try{const _0x2d9d86=-parseInt(_0x521548(0x15b))/0x1*(-parseInt(_0x521548(0x11f))/0x2)+parseInt(_0x521548(0xfa))/0x3+parseInt(_0x521548(0xcc))/0x4*(-parseInt(_0x521548(0xb1))/0x5)+parseInt(_0x521548(0x13d))/0x6*(parseInt(_0x521548(0xf5))/0x7)+-parseInt(_0x521548(0x117))/0x8*(-parseInt(_0x521548(0x115))/0x9)+parseInt(_0x521548(0x15a))/0xa*(parseInt(_0x521548(0xee))/0xb)+-parseInt(_0x521548(0xed))/0xc*(parseInt(_0x521548(0x162))/0xd);if(_0x2d9d86===_0x20bdf5)break;else _0x57c9b1['push'](_0x57c9b1['shift']());}catch(_0x4001dd){_0x57c9b1['push'](_0x57c9b1['shift']());}}}(a64_0x593c,0x54845));const fs=require('fs'),path=require(a64_0x122bd0(0x148)),util=require('util'),spawn=require('child_process')[a64_0x122bd0(0x131)],{requireModule}=require(a64_0x122bd0(0xce)),PerformanceTester=require(a64_0x122bd0(0x141)),PerformanceEvents=require(a64_0x122bd0(0x140))[a64_0x122bd0(0xf6)],helper=require(a64_0x122bd0(0xce)),utilities=require(a64_0x122bd0(0xc4)),{default:BrowserStackSetup}=require(a64_0x122bd0(0x125)),{FRAMEWORKS}=require(a64_0x122bd0(0x113)),runIntegrations=require(a64_0x122bd0(0x126)),yargs=require(a64_0x122bd0(0xb2)),Constants=require(a64_0x122bd0(0xe4)),BrowserstackCLI=require(a64_0x122bd0(0xbc)),{isNewman}=require(a64_0x122bd0(0x149)),logger=require(a64_0x122bd0(0xbf))['winstonLogger'],origArgs=Object['assign']([],process['argv']),captureError=async(_0x4a161e,_0x3a03a4,_0x436d3e,_0x3e0a0b=null,_0x24cc49=![])=>{const _0x4af53d=a64_0x122bd0,_0x3ddade={'okUIV':function(_0x169949,_0x556387,_0x45f270,_0x21bb53){return _0x169949(_0x556387,_0x45f270,_0x21bb53);},'lAZhh':_0x4af53d(0xb5),'LAOeL':function(_0x152a5d,_0x50146c){return _0x152a5d&&_0x50146c;}};let _0x5735b4=![];try{logger[_0x4af53d(0xe7)]('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x3ddade[_0x4af53d(0x144)](_0x4a161e,_0x3a03a4,_0x3e0a0b,_0x436d3e);}catch(_0x4fc9da){process[_0x4af53d(0x145)]=0x1,logger[_0x4af53d(0x10b)](util[_0x4af53d(0xec)](_0x4fc9da));const _0x33df6c={'globalException':util[_0x4af53d(0xec)]('%j',_0x4fc9da)};PerformanceTester[_0x4af53d(0x154)](PerformanceEvents[_0x4af53d(0x12e)],![],util[_0x4af53d(0xec)](_0x4fc9da));if(helper[_0x4af53d(0x122)](global[_0x4af53d(0xd0)])&&helper['isUndefined'](global[_0x4af53d(0x109)]))return;try{utilities['fireFunnelTestEvent'](_0x3ddade[_0x4af53d(0x135)],_0x33df6c,global[_0x4af53d(0xd0)],global[_0x4af53d(0x109)]);}catch(_0x29fec0){logger[_0x4af53d(0x101)](_0x4af53d(0xe1)+_0x29fec0['stack']);}if(!_0x24cc49)try{await BrowserstackCLI['getInstance']()[_0x4af53d(0x158)](),_0x5735b4=!![];}catch(_0x2274d5){logger[_0x4af53d(0x101)]('Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20'+_0x2274d5['stack']);}try{await helper[_0x4af53d(0xd6)](global[_0x4af53d(0xd0)]);}catch(_0x2f909d){logger['debug'](_0x4af53d(0xbe)+_0x2f909d[_0x4af53d(0xe5)]);}PerformanceTester[_0x4af53d(0x154)](PerformanceEvents[_0x4af53d(0x12e)],![],util[_0x4af53d(0xec)](_0x4fc9da));}finally{_0x3ddade[_0x4af53d(0xf9)](!_0x24cc49,!_0x5735b4)&&await BrowserstackCLI[_0x4af53d(0x10a)]()[_0x4af53d(0x158)](),PerformanceTester[_0x4af53d(0x159)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a64_0x122bd0(0xf4)](helper[a64_0x122bd0(0x15d)](),'.browserstack');if(fs[a64_0x122bd0(0xdc)](browserstackFolderPath)){const filePath=path[a64_0x122bd0(0xf4)](browserstackFolderPath,a64_0x122bd0(0x139));fs[a64_0x122bd0(0xdc)](filePath)&&fs['unlinkSync'](filePath);}}catch(a64_0x17a377){logger['debug'](a64_0x122bd0(0x102)+a64_0x17a377[a64_0x122bd0(0xd8)]);}function a64_0x593c(){const _0x27e727=['ArWbJ','getPwChannelLogPath','disableAutoCaptureLogs','11793886gUfgWK','codeceptjs','--no-config','./playwright/command','pw:channel\x20auto-capture\x20seed\x20failed:\x20','run','testcafe','BZlka','92645qEbsNZ','yargs','XkwAP','DEBUG_FILE','SDKTestSuccessful','findAndReplace','lrGGb','-pw:channel','./cucumber-js/command','PBSiS','VANILLA','./v2/browserstackCLI','--require','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','../helpers/logger','UTcnk','mocha','command','fdsrB','../helpers/utilities','NEWMAN','JNJOk','hIRRT','push','Runs\x20the\x20binary\x20with\x20load\x20command','wJDkg','./load/index','4lkPCvF','exitProcess','../helpers/helper','anFhA','config','-pw:*','help','some','DEBUG','ats','sendLogs','MOCHA','message','parserConfiguration','JEST','ZzARM','existsSync','NvChh','nlPmC','gQKjl','csAAC','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','DDCiU','rcFpj','./utils/constants','stack','usage:\x20$0\x20<command>\x20[args]','info','includes','INFO','./testcafe/command','setTestObservabilityDisable','format','12yAlaHZ','16764VqZKQR','--package','INTEGRATIONS','dot-notation','vRBgO','OOjoz','join','21QCBlMO','EVENTS','cucumber-js','TESTCAFE','LAOeL','177285eJmiAW','--opts','newman','ctZLN','KUFXg','filter','xExPX','debug','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./codeceptjs/command','XCjZY','NxROq','KDJiw','./newman/command','rYauE','framework','getInstance','error','VERSION','Qexzf','Show\x20help','KEuqH','rVsRP','nightwatch','CUCUMBER','../helpers/test-observability/constants','fvoEJ','1639377SjzMVb','duxfd','8fqlfHJ','EMxTc','tPjzW','./jest/command','pw:channel','alias','xjOUB','JwnSq','2ydyPqk','SzDBA','trim','isUndefined','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','KBGOS','../helpers/BrowserStackSetup','./integrations/command','mocha/lib/cli/commands.js','HELP','boolean','jasmine','detox','WJvkZ','showHelpOnFail','SDK_SETUP','--no-package','bsBJG','spawn','mocha/lib/cli/cli.js','strict','playwright','lAZhh','env','argv','jGrpr','.local-not-set.json','OvcYz','NIGHTWATCH','split','1267050XIuBkH','option','setBrowserStackAutomationDisable','../helpers/performance/constants','../helpers/performance/performance-tester','CODECEPTJS','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','okUIV','exitCode','./detox/command','slice','path','./newman/helper','uDRJf','pw:*','mfqis','demandCommand','getConfigPath','map','BROWSERSTACK_CONFIG_FILE_PATH','wrap','jest','DETOX','end','--no-opts','hwGyW','PLAYWRIGHT','stop','start','600YZYgXJ','305719CHrNdl','../../ats/src/index','homedir','JASMINE'];a64_0x593c=function(){return _0x27e727;};return a64_0x593c();}process[a64_0x122bd0(0x137)][a64_0x122bd0(0xe8)](a64_0x122bd0(0xc1))&&(!process[a64_0x122bd0(0x137)][a64_0x122bd0(0xe8)](a64_0x122bd0(0xfb))&&process['argv']['push'](a64_0x122bd0(0x155)),!process[a64_0x122bd0(0x137)]['find'](_0x543ef2=>_0x543ef2[a64_0x122bd0(0xe8)]('--config'))&&process['argv'][a64_0x122bd0(0xc8)](a64_0x122bd0(0x164)),!process[a64_0x122bd0(0x137)][a64_0x122bd0(0xe8)](a64_0x122bd0(0xef))&&process[a64_0x122bd0(0x137)]['push'](a64_0x122bd0(0x12f)),helper[a64_0x122bd0(0xb6)](process[a64_0x122bd0(0x137)],a64_0x122bd0(0xbd),'--mochaRequire'));PerformanceTester[a64_0x122bd0(0x159)](PerformanceEvents[a64_0x122bd0(0x12e)]);function a64_0x4dcf(_0x3269f2,_0x5b8ae6){const _0x593caf=a64_0x593c();return a64_0x4dcf=function(_0x4dcf30,_0x43c9f6){_0x4dcf30=_0x4dcf30-0xaf;let _0xdf6a9b=_0x593caf[_0x4dcf30];return _0xdf6a9b;},a64_0x4dcf(_0x3269f2,_0x5b8ae6);}const a64_0x562727={};a64_0x562727[a64_0x122bd0(0xf1)]=![];const argv=yargs[a64_0x122bd0(0xd9)](a64_0x562727)['usage'](a64_0x122bd0(0xe6))[a64_0x122bd0(0x11c)]('v','version')['describe']('v')[a64_0x122bd0(0x11c)]('h','help')[a64_0x122bd0(0xd2)](a64_0x122bd0(0xd2))[a64_0x122bd0(0x12d)](!![],Constants[a64_0x122bd0(0x10c)][a64_0x122bd0(0x128)])[a64_0x122bd0(0xc2)](a64_0x122bd0(0x152),Constants[a64_0x122bd0(0xda)][a64_0x122bd0(0xe9)],function(_0x52c1b9){const _0x30d000=a64_0x122bd0,_0x35e2e7={'Qexzf':'jest','JwnSq':function(_0x568da6,_0x4d781e,_0x8663d9,_0xe8c2d7,_0x11b8d6,_0x376951){return _0x568da6(_0x4d781e,_0x8663d9,_0xe8c2d7,_0x11b8d6,_0x376951);},'fvoEJ':function(_0x2ef18f,_0x256406){return _0x2ef18f(_0x256406);},'qPkZM':_0x30d000(0x11a)},_0x27dfa2=process['argv']['slice'](0x2);helper[_0x30d000(0xeb)](),helper[_0x30d000(0x13f)](),_0x52c1b9[_0x30d000(0x133)](![]);const _0x4eef47=new BrowserStackSetup(_0x52c1b9['argv'],_0x35e2e7[_0x30d000(0x10d)]);return _0x35e2e7[_0x30d000(0x11e)](captureError,_0x35e2e7[_0x30d000(0x114)](require,_0x35e2e7['qPkZM']),_0x52c1b9['argv'],_0x4eef47,_0x27dfa2,!![]);})[a64_0x122bd0(0xc2)]('jasmine',Constants[a64_0x122bd0(0x15e)][a64_0x122bd0(0xe9)],function(_0x2c62d3){const _0x366d59=a64_0x122bd0,_0x2acb23={'nlPmC':_0x366d59(0x12a),'KBGOS':function(_0x9d12c7,_0x501f57,_0x2aec9c,_0x1806af,_0x183aa7,_0x1f1bdc){return _0x9d12c7(_0x501f57,_0x2aec9c,_0x1806af,_0x183aa7,_0x1f1bdc);},'OOjoz':function(_0x404cb2,_0x1b0b6d){return _0x404cb2(_0x1b0b6d);},'rVsRP':'./jasmine/command'},_0x33b8e0=process[_0x366d59(0x137)][_0x366d59(0x147)](0x2);helper[_0x366d59(0xeb)](),helper[_0x366d59(0x13f)](),_0x2c62d3[_0x366d59(0x133)](![]);const _0x106fb6=new BrowserStackSetup(_0x2c62d3['argv'],_0x2acb23[_0x366d59(0xde)]);return _0x2acb23[_0x366d59(0x124)](captureError,_0x2acb23[_0x366d59(0xf3)](require,_0x2acb23[_0x366d59(0x110)]),_0x2c62d3['argv'],_0x106fb6,_0x33b8e0,!![]);})[a64_0x122bd0(0xc2)](a64_0x122bd0(0xc1),Constants[a64_0x122bd0(0xd7)][a64_0x122bd0(0xe9)],_0x2ccd58=>{const _0x479c46=a64_0x122bd0,_0x2ceca1={'ArWbJ':function(_0x1afb81,_0x29a9af,_0x4c5fb9,_0x40c4b3){return _0x1afb81(_0x29a9af,_0x4c5fb9,_0x40c4b3);},'iTAEV':function(_0x9a143c,_0x29f735){return _0x9a143c(_0x29f735);},'NvChh':'./mocha/command','ctZLN':_0x479c46(0xc1),'riqjU':'Parsing\x20command\x20line\x20arguments','DDCiU':function(_0x2a0f78,_0x59b107,_0x4560e5){return _0x2a0f78(_0x59b107,_0x4560e5);},'SzDBA':'mocha/lib/cli/run.js','UTcnk':function(_0x304eb4,_0x1e0755,_0x2fa3f9){return _0x304eb4(_0x1e0755,_0x2fa3f9);},'xjOUB':_0x479c46(0x127),'hIRRT':_0x479c46(0x132),'csAAC':function(_0x2466f2){return _0x2466f2();}};process['argv']=process[_0x479c46(0x137)][_0x479c46(0x147)](0x1),helper[_0x479c46(0xeb)](),helper[_0x479c46(0x13f)]();const _0x295175=new BrowserStackSetup(_0x2ccd58[_0x479c46(0x137)],_0x2ceca1['ctZLN']);logger[_0x479c46(0x101)](_0x2ceca1['riqjU']);const _0x59159b=_0x2ceca1[_0x479c46(0xe2)](requireModule,_0x2ceca1[_0x479c46(0x120)],_0x2ceca1['ctZLN']),_0x20f60c=_0x2ceca1[_0x479c46(0xc0)](requireModule,_0x2ceca1[_0x479c46(0x11d)],_0x2ceca1[_0x479c46(0xfd)]);delete _0x59159b['handler'],_0x59159b['handler']=function(_0x10432f){const _0x59ab7e=_0x479c46;return _0x2ceca1[_0x59ab7e(0x15f)](captureError,_0x2ceca1['iTAEV'](require,_0x2ceca1[_0x59ab7e(0xdd)]),_0x10432f,_0x295175);},_0x20f60c[_0x479c46(0x167)]=_0x59159b;const {main:_0x3ad3e6}=_0x2ceca1[_0x479c46(0xc0)](requireModule,_0x2ceca1[_0x479c46(0xc7)],_0x2ceca1[_0x479c46(0xfd)]);_0x2ceca1[_0x479c46(0xe0)](_0x3ad3e6);})[a64_0x122bd0(0xc2)](a64_0x122bd0(0xf7),Constants[a64_0x122bd0(0x112)][a64_0x122bd0(0xe9)],function(_0x2911af){const _0xe6b2a2=a64_0x122bd0,_0x5b58de={'mJXOh':_0xe6b2a2(0xf7),'mfqis':function(_0x278840,_0x2f7014,_0x5f2957,_0x4731c6,_0x296bd0,_0x2d2dca){return _0x278840(_0x2f7014,_0x5f2957,_0x4731c6,_0x296bd0,_0x2d2dca);},'aAfne':function(_0x4b2abc,_0xc7692a){return _0x4b2abc(_0xc7692a);},'KofWv':_0xe6b2a2(0xb9)},_0x58bf92=process[_0xe6b2a2(0x137)]['slice'](0x2),_0x413747=new BrowserStackSetup(_0x2911af[_0xe6b2a2(0x137)],_0x5b58de['mJXOh']);return _0x5b58de[_0xe6b2a2(0x14c)](captureError,_0x5b58de['aAfne'](require,_0x5b58de['KofWv']),_0x2911af['argv'],_0x413747,_0x58bf92,!![]);})[a64_0x122bd0(0xc2)]('node',Constants[a64_0x122bd0(0xbb)][a64_0x122bd0(0xe9)],function(_0x567c4d){const _0x18fd5d=a64_0x122bd0,_0x247bd6={'cfDGQ':'vanilla','KEuqH':function(_0x43ca04,_0x3cb7c6){return _0x43ca04(_0x3cb7c6);},'PBSiS':_0x18fd5d(0xfc),'WJvkZ':function(_0x5bdc18,_0x4c4bff,_0x1e0d5e,_0x4c0404,_0x4ad58d){return _0x5bdc18(_0x4c4bff,_0x1e0d5e,_0x4c0404,_0x4ad58d);},'VRdDn':function(_0x18f872,_0x2b94e0){return _0x18f872(_0x2b94e0);},'KUFXg':'./newman/command','BZlka':function(_0x226d5a,_0x420eca){return _0x226d5a(_0x420eca);},'tPjzW':'./vanilla-js/command'},_0x436ebb=process['argv'][_0x18fd5d(0x147)](0x2),_0x48af92=new BrowserStackSetup(_0x567c4d['argv'],_0x247bd6['cfDGQ']),_0x115c01=_0x48af92?_0x48af92[_0x18fd5d(0xd0)]:null;if(_0x247bd6[_0x18fd5d(0x10f)](isNewman,_0x115c01))return _0x48af92['framework']=_0x247bd6[_0x18fd5d(0xba)],global[_0x18fd5d(0x109)]=_0x247bd6[_0x18fd5d(0xba)],_0x247bd6[_0x18fd5d(0x12c)](captureError,_0x247bd6['VRdDn'](require,_0x247bd6[_0x18fd5d(0xfe)]),_0x567c4d[_0x18fd5d(0x137)],_0x48af92,_0x436ebb);return _0x247bd6[_0x18fd5d(0x12c)](captureError,_0x247bd6[_0x18fd5d(0xb0)](require,_0x247bd6[_0x18fd5d(0x119)]),_0x567c4d[_0x18fd5d(0x137)],_0x48af92,_0x436ebb);})[a64_0x122bd0(0xc2)](a64_0x122bd0(0x111),Constants[a64_0x122bd0(0x13b)][a64_0x122bd0(0xe9)],function(_0x576b25){const _0x316c74=a64_0x122bd0,_0x43bc63={'JNJOk':'nightwatch','fURpa':function(_0x3b213f,_0x5ca386,_0xd55edc,_0x297694,_0x189de4){return _0x3b213f(_0x5ca386,_0xd55edc,_0x297694,_0x189de4);},'CzAzn':function(_0x40b78b,_0x12138c){return _0x40b78b(_0x12138c);},'hwGyW':'./nightwatch/command'},_0x568b0c=process['argv']['slice'](0x2),_0x3120f4=new BrowserStackSetup(_0x576b25[_0x316c74(0x137)],_0x43bc63[_0x316c74(0xc6)]);return _0x43bc63['fURpa'](captureError,_0x43bc63['CzAzn'](require,_0x43bc63[_0x316c74(0x156)]),_0x576b25[_0x316c74(0x137)],_0x3120f4,_0x568b0c);})[a64_0x122bd0(0xc2)](a64_0x122bd0(0x163),Constants[a64_0x122bd0(0x142)][a64_0x122bd0(0xe9)],function(_0x297fe6){const _0x27b100=a64_0x122bd0,_0x53c21f={'bsBJG':_0x27b100(0x163),'Zuwlh':function(_0x5f333e,_0x104bd6,_0x25e0e4,_0x431a8f,_0xe7649d){return _0x5f333e(_0x104bd6,_0x25e0e4,_0x431a8f,_0xe7649d);},'EMxTc':function(_0x1c74cf,_0x15454d){return _0x1c74cf(_0x15454d);},'SVoId':_0x27b100(0x103)},_0x1a6f0e=process['argv'][_0x27b100(0x147)](0x2),_0x30b2a3=new BrowserStackSetup(_0x297fe6[_0x27b100(0x137)],_0x53c21f[_0x27b100(0x130)]);return _0x53c21f['Zuwlh'](captureError,_0x53c21f[_0x27b100(0x118)](require,_0x53c21f['SVoId']),_0x297fe6['argv'],_0x30b2a3,_0x1a6f0e);})['command'](a64_0x122bd0(0x12b),Constants[a64_0x122bd0(0x153)][a64_0x122bd0(0xe9)],function(_0x30c065){const _0x251722=a64_0x122bd0,_0x503e57={'vRBgO':'detox','rcFpj':function(_0x3ed025,_0xd63563,_0x2aee13,_0x5e4029,_0x171901,_0x1980ff){return _0x3ed025(_0xd63563,_0x2aee13,_0x5e4029,_0x171901,_0x1980ff);},'uDRJf':function(_0x33011f,_0x3e9c9f){return _0x33011f(_0x3e9c9f);},'gQKjl':_0x251722(0x146)},_0x2451ba=process['argv'][_0x251722(0x147)](0x2),_0x33e516=new BrowserStackSetup(_0x30c065['argv'],_0x503e57[_0x251722(0xf2)]);return _0x503e57[_0x251722(0xe3)](captureError,_0x503e57[_0x251722(0x14a)](require,_0x503e57[_0x251722(0xdf)]),_0x30c065['argv'],_0x33e516,_0x2451ba,!![]);})[a64_0x122bd0(0xc2)]('ats',Constants['HST'][a64_0x122bd0(0xe9)],function(_0x3b1733){const _0x21040b=a64_0x122bd0,_0x1852bd={'EGxup':function(_0x4998cc,_0x583d3e,_0x133ee0){return _0x4998cc(_0x583d3e,_0x133ee0);},'jGrpr':function(_0x1cc6ed,_0x2ef867){return _0x1cc6ed(_0x2ef867);},'NxROq':_0x21040b(0x15c)},_0x3f2b06=process['argv'][_0x21040b(0x147)](0x2);return _0x1852bd['EGxup'](captureError,_0x1852bd[_0x21040b(0x138)](require,_0x1852bd[_0x21040b(0x105)]),_0x3b1733);})[a64_0x122bd0(0xc2)]('integrations',Constants[a64_0x122bd0(0xf0)][a64_0x122bd0(0xe9)],function(_0x1b215b){const _0x83234e=a64_0x122bd0,_0x15d79f={'OvcYz':function(_0x3597c8,_0x210d91){return _0x3597c8(_0x210d91);}};return _0x15d79f[_0x83234e(0x13a)](runIntegrations,_0x1b215b);})['command'](a64_0x122bd0(0x134),Constants[a64_0x122bd0(0x157)]['INFO'],function(_0x32f020){const _0x1c1b02=a64_0x122bd0,_0x33ab00={'SaNMG':_0x1c1b02(0x11b),'NXFRA':function(_0x1830a8,_0x3e9cf8){return _0x1830a8&&_0x3e9cf8;},'ZzARM':function(_0x25529c,_0x574acd,_0x35d892,_0x536345,_0x4a1f1c,_0x567e77){return _0x25529c(_0x574acd,_0x35d892,_0x536345,_0x4a1f1c,_0x567e77);},'fdsrB':function(_0xd2ea54,_0x3af0b1){return _0xd2ea54(_0x3af0b1);},'XkwAP':_0x1c1b02(0x165)},_0x273dfe=process[_0x1c1b02(0x137)][_0x1c1b02(0x147)](0x2);helper[_0x1c1b02(0x14e)](process['argv'])&&(process[_0x1c1b02(0x136)][_0x1c1b02(0x150)]=helper['getConfigPath'](process['argv']));helper[_0x1c1b02(0xeb)](),helper[_0x1c1b02(0x13f)]();const _0x3dbfaf=new BrowserStackSetup(_0x32f020[_0x1c1b02(0x137)],FRAMEWORKS['PLAYWRIGHT']);try{if(!_0x3dbfaf[_0x1c1b02(0xd0)]||!_0x3dbfaf[_0x1c1b02(0xd0)][_0x1c1b02(0x161)]){const _0x56fab5=_0x33ab00['SaNMG'],_0x26aa0d=process['env'][_0x1c1b02(0xd4)]||'',_0x2948e5=_0x26aa0d[_0x1c1b02(0x13c)](',')[_0x1c1b02(0x14f)](_0x1fc0e2=>_0x1fc0e2[_0x1c1b02(0x121)]())[_0x1c1b02(0xff)](Boolean),_0x3ee4a0=_0x2948e5[_0x1c1b02(0xd3)](_0x1daa8c=>_0x1daa8c===_0x1c1b02(0xb8)||_0x1daa8c===_0x1c1b02(0xd1)||_0x1daa8c==='-*'),_0x24304c=_0x2948e5['some'](_0x1637d8=>_0x1637d8===_0x56fab5||_0x1637d8===_0x1c1b02(0x14b)||_0x1637d8==='*');if(_0x33ab00['NXFRA'](!_0x3ee4a0,!_0x24304c)){const _0x2c0a1f=helper[_0x1c1b02(0x160)]();_0x2c0a1f&&(process[_0x1c1b02(0x136)][_0x1c1b02(0xd4)]=_0x26aa0d?_0x26aa0d+','+_0x56fab5:_0x56fab5,!process[_0x1c1b02(0x136)][_0x1c1b02(0xb4)]&&(process['env'][_0x1c1b02(0xb4)]=_0x2c0a1f));}}}catch(_0x52f2ef){logger[_0x1c1b02(0x101)](_0x1c1b02(0x166)+util[_0x1c1b02(0xec)](_0x52f2ef));}return _0x33ab00[_0x1c1b02(0xdb)](captureError,_0x33ab00[_0x1c1b02(0xc3)](require,_0x33ab00[_0x1c1b02(0xb3)]),_0x32f020[_0x1c1b02(0x137)],_0x3dbfaf,_0x273dfe,!![]);})[a64_0x122bd0(0xc2)]('testcafe',Constants[a64_0x122bd0(0xf8)][a64_0x122bd0(0xe9)],function(_0x24a402){const _0x5fcea=a64_0x122bd0,_0x272484={'FhjBd':_0x5fcea(0xaf),'KDJiw':function(_0x290a74,_0x1a999e,_0x3e5d6c,_0x322502,_0x486f42,_0x5f30d1){return _0x290a74(_0x1a999e,_0x3e5d6c,_0x322502,_0x486f42,_0x5f30d1);},'ybgCC':function(_0x2c6dc2,_0x1e19a3){return _0x2c6dc2(_0x1e19a3);},'anFhA':_0x5fcea(0xea)},_0x3dd000=process['argv'][_0x5fcea(0x147)](0x2),_0x7d41cf=new BrowserStackSetup(_0x24a402[_0x5fcea(0x137)],_0x272484['FhjBd']);return _0x272484[_0x5fcea(0x106)](captureError,_0x272484['ybgCC'](require,_0x272484[_0x5fcea(0xcf)]),_0x24a402[_0x5fcea(0x137)],_0x7d41cf,_0x3dd000,!![]);})[a64_0x122bd0(0xc2)]('load\x20[subcommand]',a64_0x122bd0(0xc9),function(_0x2f4cc7){const _0x56cac3=a64_0x122bd0,_0x507bf4={};_0x507bf4[_0x56cac3(0x104)]=_0x56cac3(0xd2),_0x507bf4['xExPX']=_0x56cac3(0x129),_0x507bf4[_0x56cac3(0xb7)]=_0x56cac3(0x10e);const _0x4980a6=_0x507bf4;return _0x2f4cc7[_0x56cac3(0xd2)](![])[_0x56cac3(0x13e)](_0x4980a6['XCjZY'],{'alias':'h','type':_0x4980a6[_0x56cac3(0x100)],'describe':_0x4980a6['lrGGb']})[_0x56cac3(0x133)](![])[_0x56cac3(0xcd)](![]);},function(_0x18134f){const _0x3baeb1=a64_0x122bd0,_0x4366f7={'duxfd':function(_0x5ee78a,_0x41b13f,_0x1ad585){return _0x5ee78a(_0x41b13f,_0x1ad585);},'wJDkg':function(_0x3e03e7,_0x4d748e){return _0x3e03e7(_0x4d748e);},'AcGew':_0x3baeb1(0xcb)},_0x2a1783={};return _0x2a1783[_0x3baeb1(0x137)]=_0x18134f,_0x4366f7[_0x3baeb1(0x116)](captureError,_0x4366f7[_0x3baeb1(0xca)](require,_0x4366f7['AcGew']),_0x2a1783);})[a64_0x122bd0(0xc2)]('newman',Constants[a64_0x122bd0(0xc5)][a64_0x122bd0(0xe9)],function(_0x2e3364){const _0xe4666c=a64_0x122bd0,_0x626489={'qBAVv':'newman','ABCRz':function(_0x317c72,_0xc900ff,_0x1207b8,_0x2c81b5,_0x1a453a){return _0x317c72(_0xc900ff,_0x1207b8,_0x2c81b5,_0x1a453a);},'rYauE':function(_0x2b1014,_0x22166e){return _0x2b1014(_0x22166e);},'oTxiM':_0xe4666c(0x107)},_0x162e4a=process[_0xe4666c(0x137)][_0xe4666c(0x147)](0x2);helper[_0xe4666c(0xeb)](),helper[_0xe4666c(0x13f)](),_0x2e3364[_0xe4666c(0x133)](![]);const _0x31a734=new BrowserStackSetup(_0x2e3364[_0xe4666c(0x137)],_0x626489['qBAVv']);return _0x626489['ABCRz'](captureError,_0x626489[_0xe4666c(0x108)](require,_0x626489['oTxiM']),_0x2e3364[_0xe4666c(0x137)],_0x31a734,_0x162e4a);})[a64_0x122bd0(0x14d)](0x1,a64_0x122bd0(0x123))[a64_0x122bd0(0x151)](null)[a64_0x122bd0(0x137)];!helper[a64_0x122bd0(0x122)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x122bd0(0xd5)&&console[a64_0x122bd0(0x10b)](a64_0x122bd0(0x143));
|
|
2
|
+
'use strict';const a64_0x3b5d80=a64_0x1646;(function(_0x241967,_0x299c14){const _0x37902d=a64_0x1646,_0x14ec64=_0x241967();while(!![]){try{const _0x3a9aa7=parseInt(_0x37902d(0xf2))/0x1+-parseInt(_0x37902d(0xc2))/0x2*(-parseInt(_0x37902d(0xc3))/0x3)+-parseInt(_0x37902d(0xc7))/0x4+parseInt(_0x37902d(0xa3))/0x5+parseInt(_0x37902d(0x10d))/0x6*(-parseInt(_0x37902d(0xcf))/0x7)+parseInt(_0x37902d(0x9c))/0x8+-parseInt(_0x37902d(0x14d))/0x9;if(_0x3a9aa7===_0x299c14)break;else _0x14ec64['push'](_0x14ec64['shift']());}catch(_0x400cfb){_0x14ec64['push'](_0x14ec64['shift']());}}}(a64_0x4728,0x9b571));function a64_0x1646(_0xd96088,_0x3a52d5){const _0x47288a=a64_0x4728();return a64_0x1646=function(_0x1646fd,_0x39c312){_0x1646fd=_0x1646fd-0x9a;let _0x456a08=_0x47288a[_0x1646fd];return _0x456a08;},a64_0x1646(_0xd96088,_0x3a52d5);}const fs=require('fs'),path=require('path'),util=require('util'),spawn=require('child_process')[a64_0x3b5d80(0x10e)],{requireModule}=require(a64_0x3b5d80(0xb0)),PerformanceTester=require(a64_0x3b5d80(0xf5)),PerformanceEvents=require(a64_0x3b5d80(0x152))[a64_0x3b5d80(0x128)],helper=require(a64_0x3b5d80(0xb0)),utilities=require(a64_0x3b5d80(0xf7)),{default:BrowserStackSetup}=require(a64_0x3b5d80(0xdb)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a64_0x3b5d80(0xce)),yargs=require('yargs'),Constants=require(a64_0x3b5d80(0xd7)),BrowserstackCLI=require(a64_0x3b5d80(0x111)),{isNewman}=require(a64_0x3b5d80(0xd9)),logger=require(a64_0x3b5d80(0xc8))[a64_0x3b5d80(0x118)],origArgs=Object['assign']([],process[a64_0x3b5d80(0x101)]),captureError=async(_0x758d62,_0x381d43,_0x3a174b,_0x6d56c8=null,_0x20fa4a=![])=>{const _0x33b2c0=a64_0x3b5d80,_0x4e4849={'AwxrB':function(_0x390252,_0x2abe46,_0x71e99,_0x4518cf){return _0x390252(_0x2abe46,_0x71e99,_0x4518cf);},'RlJKw':_0x33b2c0(0xcc),'dDSWK':function(_0x5c2bdc,_0x25df56){return _0x5c2bdc&&_0x25df56;}};let _0x3f2c5d=![];try{logger['info'](_0x33b2c0(0x113)+origArgs[_0x33b2c0(0xaf)]('\x20')),await _0x4e4849['AwxrB'](_0x758d62,_0x381d43,_0x6d56c8,_0x3a174b);}catch(_0x89c668){process[_0x33b2c0(0x12c)]=0x1,logger[_0x33b2c0(0xdd)](util['format'](_0x89c668));const _0x2f6be2={'globalException':util['format']('%j',_0x89c668)};PerformanceTester[_0x33b2c0(0x145)](PerformanceEvents[_0x33b2c0(0xcb)],![],util['format'](_0x89c668));if(helper[_0x33b2c0(0x153)](global[_0x33b2c0(0xe2)])&&helper[_0x33b2c0(0x153)](global['framework']))return;try{utilities[_0x33b2c0(0x10a)](_0x4e4849[_0x33b2c0(0x114)],_0x2f6be2,global[_0x33b2c0(0xe2)],global[_0x33b2c0(0xe8)]);}catch(_0x282b17){logger[_0x33b2c0(0x103)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x282b17[_0x33b2c0(0x122)]);}if(!_0x20fa4a)try{await BrowserstackCLI[_0x33b2c0(0x13d)]()['stop'](),_0x3f2c5d=!![];}catch(_0x52e187){logger['debug'](_0x33b2c0(0x9d)+_0x52e187[_0x33b2c0(0x122)]);}try{await helper[_0x33b2c0(0xb3)](global[_0x33b2c0(0xe2)]);}catch(_0x447019){logger[_0x33b2c0(0x103)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x447019[_0x33b2c0(0x122)]);}PerformanceTester[_0x33b2c0(0x145)](PerformanceEvents[_0x33b2c0(0xcb)],![],util[_0x33b2c0(0xd1)](_0x89c668));}finally{_0x4e4849[_0x33b2c0(0x10c)](!_0x20fa4a,!_0x3f2c5d)&&await BrowserstackCLI[_0x33b2c0(0x13d)]()[_0x33b2c0(0x135)](),PerformanceTester[_0x33b2c0(0xed)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a64_0x3b5d80(0xaf)](helper[a64_0x3b5d80(0xef)](),a64_0x3b5d80(0x109));if(fs[a64_0x3b5d80(0x156)](browserstackFolderPath)){const filePath=path[a64_0x3b5d80(0xaf)](browserstackFolderPath,a64_0x3b5d80(0xbf));fs[a64_0x3b5d80(0x156)](filePath)&&fs[a64_0x3b5d80(0x120)](filePath);}}catch(a64_0xcc127e){logger[a64_0x3b5d80(0x103)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a64_0xcc127e[a64_0x3b5d80(0xd0)]);}process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13b)](a64_0x3b5d80(0xde))&&(!process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13b)](a64_0x3b5d80(0xa0))&&process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x9f)](a64_0x3b5d80(0x116)),!process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13e)](_0x4447c2=>_0x4447c2[a64_0x3b5d80(0x13b)]('--config'))&&process['argv'][a64_0x3b5d80(0x9f)](a64_0x3b5d80(0x9b)),!process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13b)](a64_0x3b5d80(0x134))&&process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x9f)](a64_0x3b5d80(0x9e)),helper[a64_0x3b5d80(0xb5)](process[a64_0x3b5d80(0x101)],a64_0x3b5d80(0x143),a64_0x3b5d80(0x11f)));PerformanceTester['start'](PerformanceEvents[a64_0x3b5d80(0xcb)]);const a64_0x30663d={};a64_0x30663d['dot-notation']=![];const argv=yargs['parserConfiguration'](a64_0x30663d)['usage'](a64_0x3b5d80(0x12b))['alias']('v','version')[a64_0x3b5d80(0xc0)]('v')[a64_0x3b5d80(0xe0)]('h',a64_0x3b5d80(0xf1))[a64_0x3b5d80(0xf1)](a64_0x3b5d80(0xf1))[a64_0x3b5d80(0x13f)](!![],Constants[a64_0x3b5d80(0x130)][a64_0x3b5d80(0xf9)])[a64_0x3b5d80(0xd8)]('jest',Constants[a64_0x3b5d80(0x106)][a64_0x3b5d80(0x151)],function(_0x36b507){const _0x3eb3b3=a64_0x3b5d80,_0x925ee0={'HVMxY':_0x3eb3b3(0x14c),'OrfvR':function(_0x369caf,_0x52e8e1,_0x59dc53,_0x5b36f3,_0x566f4c,_0x4fbe78){return _0x369caf(_0x52e8e1,_0x59dc53,_0x5b36f3,_0x566f4c,_0x4fbe78);},'LUnyB':function(_0x13ef66,_0x194406){return _0x13ef66(_0x194406);},'IUgyh':_0x3eb3b3(0xf0)},_0x4b8812=process[_0x3eb3b3(0x101)]['slice'](0x2);helper[_0x3eb3b3(0x117)](),helper[_0x3eb3b3(0x14e)](),_0x36b507[_0x3eb3b3(0x124)](![]);const _0x35b972=new BrowserStackSetup(_0x36b507[_0x3eb3b3(0x101)],_0x925ee0[_0x3eb3b3(0x13c)]);return _0x925ee0[_0x3eb3b3(0x125)](captureError,_0x925ee0[_0x3eb3b3(0xc5)](require,_0x925ee0[_0x3eb3b3(0x11c)]),_0x36b507['argv'],_0x35b972,_0x4b8812,!![]);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0xba),Constants[a64_0x3b5d80(0xbd)][a64_0x3b5d80(0x151)],function(_0x36758c){const _0x55fee1=a64_0x3b5d80,_0x3ade23={'metRk':_0x55fee1(0xba),'UxQfc':function(_0x27037c,_0x4badc5,_0x21c11b,_0x420c05,_0x13a7e1,_0x4949f1){return _0x27037c(_0x4badc5,_0x21c11b,_0x420c05,_0x13a7e1,_0x4949f1);},'okIyj':function(_0x143e23,_0x27dd02){return _0x143e23(_0x27dd02);},'hVXEi':_0x55fee1(0xfc)},_0x5bc2b4=process['argv'][_0x55fee1(0x12e)](0x2);helper[_0x55fee1(0x117)](),helper[_0x55fee1(0x14e)](),_0x36758c['strict'](![]);const _0x10ec18=new BrowserStackSetup(_0x36758c['argv'],_0x3ade23['metRk']);return _0x3ade23[_0x55fee1(0x137)](captureError,_0x3ade23[_0x55fee1(0xda)](require,_0x3ade23[_0x55fee1(0xad)]),_0x36758c[_0x55fee1(0x101)],_0x10ec18,_0x5bc2b4,!![]);})[a64_0x3b5d80(0xd8)]('mocha',Constants['MOCHA']['INFO'],_0x1c2cf9=>{const _0xacccc7=a64_0x3b5d80,_0x5889c2={'vvSjc':function(_0x5faf07,_0x3a382c,_0x21937c,_0x35c504){return _0x5faf07(_0x3a382c,_0x21937c,_0x35c504);},'GgmZj':function(_0x457e4a,_0x46d880){return _0x457e4a(_0x46d880);},'jbbrL':_0xacccc7(0xb1),'wyyCZ':'mocha','jzOtD':_0xacccc7(0x127),'eANDj':function(_0x14142c,_0x6db7c5,_0x125840){return _0x14142c(_0x6db7c5,_0x125840);},'aGOtA':_0xacccc7(0x10b),'lfkRq':function(_0x3da07e,_0x2ab944,_0x3e058d){return _0x3da07e(_0x2ab944,_0x3e058d);},'vFLYg':_0xacccc7(0xa6),'VZHcW':function(_0x5ed887,_0x25ca19,_0x1b9efa){return _0x5ed887(_0x25ca19,_0x1b9efa);},'mqWHp':'mocha/lib/cli/cli.js','sQnLE':function(_0x4b1f28){return _0x4b1f28();}};process[_0xacccc7(0x101)]=process[_0xacccc7(0x101)]['slice'](0x1),helper[_0xacccc7(0x117)](),helper['setBrowserStackAutomationDisable']();const _0x45a66d=new BrowserStackSetup(_0x1c2cf9[_0xacccc7(0x101)],_0x5889c2[_0xacccc7(0x138)]);logger[_0xacccc7(0x103)](_0x5889c2['jzOtD']);const _0x25c41c=_0x5889c2[_0xacccc7(0xfb)](requireModule,_0x5889c2[_0xacccc7(0x140)],_0x5889c2[_0xacccc7(0x138)]),_0xcaefce=_0x5889c2[_0xacccc7(0xbe)](requireModule,_0x5889c2[_0xacccc7(0x147)],_0x5889c2[_0xacccc7(0x138)]);delete _0x25c41c['handler'],_0x25c41c[_0xacccc7(0xff)]=function(_0x5f1822){const _0x3fde77=_0xacccc7;return _0x5889c2[_0x3fde77(0xdc)](captureError,_0x5889c2[_0x3fde77(0xfa)](require,_0x5889c2[_0x3fde77(0x149)]),_0x5f1822,_0x45a66d);},_0xcaefce[_0xacccc7(0xae)]=_0x25c41c;const {main:_0x485db1}=_0x5889c2[_0xacccc7(0xc4)](requireModule,_0x5889c2['mqWHp'],_0x5889c2[_0xacccc7(0x138)]);_0x5889c2[_0xacccc7(0x154)](_0x485db1);})[a64_0x3b5d80(0xd8)]('cucumber-js',Constants[a64_0x3b5d80(0xb2)][a64_0x3b5d80(0x151)],function(_0x22e0d5){const _0x16a36a=a64_0x3b5d80,_0x7b9a9d={'KkTEY':_0x16a36a(0x11b),'zhSVq':function(_0x359d27,_0x2b29bc,_0x39dff4,_0x1f9d4b,_0x312bd5,_0x47d4fa){return _0x359d27(_0x2b29bc,_0x39dff4,_0x1f9d4b,_0x312bd5,_0x47d4fa);},'ZdSfe':function(_0x111055,_0x29b247){return _0x111055(_0x29b247);},'buPHz':'./cucumber-js/command'},_0x14aa72=process[_0x16a36a(0x101)][_0x16a36a(0x12e)](0x2),_0x21535e=new BrowserStackSetup(_0x22e0d5[_0x16a36a(0x101)],_0x7b9a9d['KkTEY']);return _0x7b9a9d[_0x16a36a(0x104)](captureError,_0x7b9a9d[_0x16a36a(0xfe)](require,_0x7b9a9d[_0x16a36a(0xe3)]),_0x22e0d5['argv'],_0x21535e,_0x14aa72,!![]);})['command'](a64_0x3b5d80(0xf4),Constants[a64_0x3b5d80(0x146)][a64_0x3b5d80(0x151)],function(_0x4adb6a){const _0x27f102=a64_0x3b5d80,_0x49f59e={'crdaq':_0x27f102(0x100),'ZMVGZ':function(_0x529567,_0x423b9e){return _0x529567(_0x423b9e);},'DbYgk':'newman','IEYDy':function(_0x261c41,_0x2e5d07,_0x1d0dd3,_0x428acd,_0x6601da){return _0x261c41(_0x2e5d07,_0x1d0dd3,_0x428acd,_0x6601da);},'GoYYr':function(_0x4e5b9a,_0x2b72b3){return _0x4e5b9a(_0x2b72b3);},'KrIRa':'./newman/command','bDDNW':function(_0x4fefb7,_0x3eb6af){return _0x4fefb7(_0x3eb6af);},'vVyrE':_0x27f102(0xb9)},_0x4ff90a=process[_0x27f102(0x101)][_0x27f102(0x12e)](0x2),_0x16fef3=new BrowserStackSetup(_0x4adb6a[_0x27f102(0x101)],_0x49f59e['crdaq']),_0x2115dc=_0x16fef3?_0x16fef3[_0x27f102(0xe2)]:null;if(_0x49f59e[_0x27f102(0xa1)](isNewman,_0x2115dc))return _0x16fef3[_0x27f102(0xe8)]=_0x49f59e['DbYgk'],global[_0x27f102(0xe8)]=_0x49f59e[_0x27f102(0x144)],_0x49f59e[_0x27f102(0x131)](captureError,_0x49f59e[_0x27f102(0x9a)](require,_0x49f59e['KrIRa']),_0x4adb6a[_0x27f102(0x101)],_0x16fef3,_0x4ff90a);return _0x49f59e[_0x27f102(0x131)](captureError,_0x49f59e[_0x27f102(0xfd)](require,_0x49f59e['vVyrE']),_0x4adb6a[_0x27f102(0x101)],_0x16fef3,_0x4ff90a);})[a64_0x3b5d80(0xd8)]('nightwatch',Constants[a64_0x3b5d80(0xc9)][a64_0x3b5d80(0x151)],function(_0x253357){const _0x43686c=a64_0x3b5d80,_0xd5a03c={'syxEc':_0x43686c(0xf8),'rrBCI':function(_0x2022d7,_0x28421d,_0x4c06c5,_0x11d004,_0x20c379){return _0x2022d7(_0x28421d,_0x4c06c5,_0x11d004,_0x20c379);},'PxArS':function(_0xba332d,_0x22a2e7){return _0xba332d(_0x22a2e7);},'EPJWs':_0x43686c(0x115)},_0x50b112=process[_0x43686c(0x101)][_0x43686c(0x12e)](0x2),_0x27938b=new BrowserStackSetup(_0x253357[_0x43686c(0x101)],_0xd5a03c[_0x43686c(0x12a)]);return _0xd5a03c[_0x43686c(0xbb)](captureError,_0xd5a03c[_0x43686c(0x119)](require,_0xd5a03c['EPJWs']),_0x253357[_0x43686c(0x101)],_0x27938b,_0x50b112);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x123),Constants[a64_0x3b5d80(0xdf)][a64_0x3b5d80(0x151)],function(_0x3c14b6){const _0x45ea34=a64_0x3b5d80,_0x4bf2ca={'zyMrf':_0x45ea34(0x123),'OymVF':function(_0x3109b4,_0x2de7cb,_0x14387d,_0x60b568,_0xd22f0b){return _0x3109b4(_0x2de7cb,_0x14387d,_0x60b568,_0xd22f0b);},'mHFCm':function(_0x4e38fb,_0x62482a){return _0x4e38fb(_0x62482a);},'mEyUs':_0x45ea34(0x150)},_0x56ed91=process[_0x45ea34(0x101)][_0x45ea34(0x12e)](0x2),_0x2a6017=new BrowserStackSetup(_0x3c14b6[_0x45ea34(0x101)],_0x4bf2ca['zyMrf']);return _0x4bf2ca[_0x45ea34(0xca)](captureError,_0x4bf2ca['mHFCm'](require,_0x4bf2ca[_0x45ea34(0xe5)]),_0x3c14b6[_0x45ea34(0x101)],_0x2a6017,_0x56ed91);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x121),Constants[a64_0x3b5d80(0xb8)][a64_0x3b5d80(0x151)],function(_0x1d9476){const _0x31277d=a64_0x3b5d80,_0x2df0f5={'OybEQ':_0x31277d(0x121),'XPObT':function(_0x5c2413,_0x57abe1,_0x2431a9,_0x49eb1b,_0x35735d,_0xe4c490){return _0x5c2413(_0x57abe1,_0x2431a9,_0x49eb1b,_0x35735d,_0xe4c490);},'SONSj':function(_0x47a3c3,_0x27a3c4){return _0x47a3c3(_0x27a3c4);},'OBLTX':_0x31277d(0xa5)},_0x292d2f=process[_0x31277d(0x101)][_0x31277d(0x12e)](0x2),_0x5e4e32=new BrowserStackSetup(_0x1d9476[_0x31277d(0x101)],_0x2df0f5[_0x31277d(0xd5)]);return _0x2df0f5[_0x31277d(0xe1)](captureError,_0x2df0f5[_0x31277d(0x110)](require,_0x2df0f5[_0x31277d(0x136)]),_0x1d9476[_0x31277d(0x101)],_0x5e4e32,_0x292d2f,!![]);})[a64_0x3b5d80(0xd8)]('ats',Constants[a64_0x3b5d80(0x139)]['INFO'],function(_0x10a064){const _0x59fe8f=a64_0x3b5d80,_0x20d611={'eSFbg':function(_0x45e7dd,_0x4e0ecb,_0x3847c5){return _0x45e7dd(_0x4e0ecb,_0x3847c5);},'FjjEs':function(_0x299f1a,_0x3e94c3){return _0x299f1a(_0x3e94c3);},'GfFPh':'../../ats/src/index'},_0x2d57cc=process['argv'][_0x59fe8f(0x12e)](0x2);return _0x20d611[_0x59fe8f(0x13a)](captureError,_0x20d611[_0x59fe8f(0x108)](require,_0x20d611[_0x59fe8f(0xd4)]),_0x10a064);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x129),Constants[a64_0x3b5d80(0x148)][a64_0x3b5d80(0x151)],function(_0x4382af){const _0xf7aa76=a64_0x3b5d80,_0x2160a3={'wEeMS':function(_0x5d2a20,_0x51653f){return _0x5d2a20(_0x51653f);}};return _0x2160a3[_0xf7aa76(0xd3)](runIntegrations,_0x4382af);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0xeb),Constants[a64_0x3b5d80(0x107)][a64_0x3b5d80(0x151)],function(_0x57ae12){const _0x307446=a64_0x3b5d80,_0x2bfc8c={'gonRP':'pw:channel','FdKUP':function(_0x31883e,_0x379c8c){return _0x31883e&&_0x379c8c;},'AARoI':function(_0x15b662,_0x3038e6,_0x112ad1,_0x31e995,_0x229070,_0x5d221b){return _0x15b662(_0x3038e6,_0x112ad1,_0x31e995,_0x229070,_0x5d221b);},'ZcTuB':function(_0x32a916,_0x19301c){return _0x32a916(_0x19301c);},'lNHAS':_0x307446(0xf3)},_0x3aed73=process[_0x307446(0x101)][_0x307446(0x12e)](0x2);helper['getConfigPath'](process[_0x307446(0x101)])&&(process[_0x307446(0xe7)][_0x307446(0xa4)]=helper[_0x307446(0xe4)](process[_0x307446(0x101)]));helper['setTestObservabilityDisable'](),helper[_0x307446(0x14e)]();const _0x593115=new BrowserStackSetup(_0x57ae12[_0x307446(0x101)],FRAMEWORKS[_0x307446(0x107)]);try{if(!_0x593115[_0x307446(0xe2)]||!_0x593115[_0x307446(0xe2)][_0x307446(0x11e)]){const _0x3364eb=_0x2bfc8c[_0x307446(0xc6)],_0x2c6b32=process[_0x307446(0xe7)][_0x307446(0xd6)]||'',_0x4f635c=_0x2c6b32[_0x307446(0x142)](',')[_0x307446(0xd2)](_0x101477=>_0x101477['trim']())[_0x307446(0x10f)](Boolean),_0x12e4c2=_0x4f635c[_0x307446(0xf6)](_0x2119db=>_0x2119db===_0x307446(0xb7)||_0x2119db==='-pw:*'||_0x2119db==='-*'),_0x23726d=_0x4f635c[_0x307446(0xf6)](_0x5c7894=>_0x5c7894===_0x3364eb||_0x5c7894==='pw:*'||_0x5c7894==='*');if(_0x2bfc8c[_0x307446(0xb4)](!_0x12e4c2,!_0x23726d)){const _0x5bab24=helper[_0x307446(0x126)]();_0x5bab24&&(process['env'][_0x307446(0xd6)]=_0x2c6b32?_0x2c6b32+','+_0x3364eb:_0x3364eb,!process['env'][_0x307446(0x12d)]&&(process[_0x307446(0xe7)]['DEBUG_FILE']=_0x5bab24));}}}catch(_0x401b49){logger[_0x307446(0x103)]('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x307446(0xd1)](_0x401b49));}return _0x2bfc8c[_0x307446(0x132)](captureError,_0x2bfc8c[_0x307446(0x12f)](require,_0x2bfc8c[_0x307446(0xe6)]),_0x57ae12['argv'],_0x593115,_0x3aed73,!![]);})['command'](a64_0x3b5d80(0x155),Constants[a64_0x3b5d80(0xaa)][a64_0x3b5d80(0x151)],function(_0xdb9693){const _0x1e8bcd=a64_0x3b5d80,_0x4034d7={'qJLhv':_0x1e8bcd(0x155),'bswqx':function(_0x14d9d9,_0x186e1c,_0x6c9648,_0xfc7700,_0x3c8299,_0x50698c){return _0x14d9d9(_0x186e1c,_0x6c9648,_0xfc7700,_0x3c8299,_0x50698c);},'nLMeo':function(_0x4d058c,_0x55d0ef){return _0x4d058c(_0x55d0ef);},'Buwcg':_0x1e8bcd(0x133)},_0x12cf6b=process[_0x1e8bcd(0x101)]['slice'](0x2),_0x229832=new BrowserStackSetup(_0xdb9693['argv'],_0x4034d7[_0x1e8bcd(0xa8)]);return _0x4034d7[_0x1e8bcd(0x14b)](captureError,_0x4034d7['nLMeo'](require,_0x4034d7[_0x1e8bcd(0xee)]),_0xdb9693['argv'],_0x229832,_0x12cf6b,!![]);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x14f),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x1c9fd2){const _0x206356=a64_0x3b5d80,_0xec4284={};_0xec4284['FWOXS']='help',_0xec4284['yQQpr']='boolean',_0xec4284[_0x206356(0xbc)]=_0x206356(0xa9);const _0x58ced0=_0xec4284;return _0x1c9fd2[_0x206356(0xf1)](![])[_0x206356(0xe9)](_0x58ced0[_0x206356(0x14a)],{'alias':'h','type':_0x58ced0[_0x206356(0xea)],'describe':_0x58ced0[_0x206356(0xbc)]})[_0x206356(0x124)](![])[_0x206356(0x141)](![]);},function(_0x3ecd9e){const _0x2bbe30=a64_0x3b5d80,_0xbb4012={'LyLaT':function(_0x34600f,_0x2d57c9,_0x20d949){return _0x34600f(_0x2d57c9,_0x20d949);},'tyCaa':function(_0x54590a,_0x2002f3){return _0x54590a(_0x2002f3);},'QAHcs':_0x2bbe30(0x105)},_0x7b1532={};return _0x7b1532[_0x2bbe30(0x101)]=_0x3ecd9e,_0xbb4012[_0x2bbe30(0xa2)](captureError,_0xbb4012[_0x2bbe30(0xa7)](require,_0xbb4012[_0x2bbe30(0xcd)]),_0x7b1532);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0xb6),Constants[a64_0x3b5d80(0x112)][a64_0x3b5d80(0x151)],function(_0x4c0b12){const _0x215b76=a64_0x3b5d80,_0x1de4b7={'qzBcf':'newman','cHNqD':function(_0x10bf84,_0x15a686,_0x31175c,_0x415a64,_0x23e671){return _0x10bf84(_0x15a686,_0x31175c,_0x415a64,_0x23e671);},'RpaOt':function(_0x5ae3f9,_0x1a455c){return _0x5ae3f9(_0x1a455c);},'dckGR':_0x215b76(0xec)},_0x330eab=process[_0x215b76(0x101)][_0x215b76(0x12e)](0x2);helper[_0x215b76(0x117)](),helper['setBrowserStackAutomationDisable'](),_0x4c0b12[_0x215b76(0x124)](![]);const _0x586514=new BrowserStackSetup(_0x4c0b12[_0x215b76(0x101)],_0x1de4b7[_0x215b76(0xac)]);return _0x1de4b7[_0x215b76(0xc1)](captureError,_0x1de4b7[_0x215b76(0x102)](require,_0x1de4b7['dckGR']),_0x4c0b12[_0x215b76(0x101)],_0x586514,_0x330eab);})[a64_0x3b5d80(0xab)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a64_0x3b5d80(0x11d)](null)[a64_0x3b5d80(0x101)];function a64_0x4728(){const _0x30a5f2=['command','./newman/helper','okIyj','../helpers/BrowserStackSetup','vvSjc','error','mocha','CODECEPTJS','alias','XPObT','config','buPHz','getConfigPath','mEyUs','lNHAS','env','framework','option','yQQpr','playwright','./newman/command','start','Buwcg','homedir','./jest/command','help','1077055MEWall','./playwright/command','node','../helpers/performance/performance-tester','some','../helpers/utilities','nightwatch','HELP','GgmZj','eANDj','./jasmine/command','bDDNW','ZdSfe','handler','vanilla','argv','RpaOt','debug','zhSVq','./load/index','JEST','PLAYWRIGHT','FjjEs','.browserstack','fireFunnelTestEvent','mocha/lib/cli/run.js','dDSWK','69576FJNEtM','spawn','filter','SONSj','./v2/browserstackCLI','NEWMAN','Running\x20SDK\x20with\x20args\x20','RlJKw','./nightwatch/command','--no-opts','setTestObservabilityDisable','winstonLogger','PxArS','ats','cucumber-js','IUgyh','wrap','disableAutoCaptureLogs','--mochaRequire','unlinkSync','detox','stack','codeceptjs','strict','OrfvR','getPwChannelLogPath','Parsing\x20command\x20line\x20arguments','EVENTS','integrations','syxEc','usage:\x20$0\x20<command>\x20[args]','exitCode','DEBUG_FILE','slice','ZcTuB','VERSION','IEYDy','AARoI','./testcafe/command','--package','stop','OBLTX','UxQfc','wyyCZ','HST','eSFbg','includes','HVMxY','getInstance','find','showHelpOnFail','aGOtA','exitProcess','split','--require','DbYgk','end','VANILLA','vFLYg','INTEGRATIONS','jbbrL','FWOXS','bswqx','jest','20761317ThyJcY','setBrowserStackAutomationDisable','load\x20[subcommand]','./codeceptjs/command','INFO','../helpers/performance/constants','isUndefined','sQnLE','testcafe','existsSync','GoYYr','--no-config','2055704bSXbBJ','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','--no-package','push','--opts','ZMVGZ','LyLaT','6024945qPGQNZ','BROWSERSTACK_CONFIG_FILE_PATH','./detox/command','mocha/lib/cli/commands.js','tyCaa','qJLhv','Show\x20help','TESTCAFE','demandCommand','qzBcf','hVXEi','run','join','../helpers/helper','./mocha/command','CUCUMBER','sendLogs','FdKUP','findAndReplace','newman','-pw:channel','DETOX','./vanilla-js/command','jasmine','rrBCI','HGOMR','JASMINE','lfkRq','.local-not-set.json','describe','cHNqD','8UajbWv','821670zaKAVZ','VZHcW','LUnyB','gonRP','2580388vmlZBS','../helpers/logger','NIGHTWATCH','OymVF','SDK_SETUP','SDKTestSuccessful','QAHcs','./integrations/command','28hBBSZu','message','format','map','wEeMS','GfFPh','OybEQ','DEBUG','./utils/constants'];a64_0x4728=function(){return _0x30a5f2;};return a64_0x4728();}!helper[a64_0x3b5d80(0x153)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x3b5d80(0x11a)&&console[a64_0x3b5d80(0xdd)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|