browserstack-node-sdk 1.66.1 → 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
|
-
function a58_0x363d(_0x51bdb5,_0x456795){const _0x1fcf1b=a58_0x1fcf();return a58_0x363d=function(_0x363d58,_0x58806d){_0x363d58=_0x363d58-0x1c9;let _0xfb396=_0x1fcf1b[_0x363d58];return _0xfb396;},a58_0x363d(_0x51bdb5,_0x456795);}const a58_0x3c57f1=a58_0x363d;function a58_0x1fcf(){const _0x4a0ce5=['../../../helpers/test-observability/utils','QAqTQ','exports','message','env','error','NWrJn','default','BROWSERSTACK_TESTHUB_UUID_SEED','Error\x20writing\x20trace\x20file:\x20','getStoreDirSuffix','8776MlBSyn','addTraceFilePath','VIkqc','shutdown','string','toString','JiIkf','debug','getDirPath','MHlSu','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','setIntegrations','.browserstack','appendFileSync','sdshu','../../../helpers/logger','22372tDfWlT','__projectId','isValidEnvValue','recursive','SXcfm','getTraceZipDir','getIntegrations','_platformDetails.json','uuid','dvPEY','JspYq','5ZVSxgI','pHTRi','zFFWj','jzVrm','getFilePath','FvqYY','null','KcvLp','lsDne','wlDMy','project','join','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','qcgnN','getTraceFilePaths','setup','44eKbSsZ','getAccessibilityPlatformValidation','2727fZnshK','_test','retry','writeFileSync','98UjyFbJ','../../../helpers/test-observability/constants','undefined','bijVk','GUjIw','_projectId','some','StWDW','getStoreDirPath','getTestIdFromTestInfo','getTestRunIdFromTestInfo','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','../../../helpers/helper','2777067znfQvd','getStoreDirName','jDVXP','traceZipPaths','_integrations.json','_traceZipPaths.json','.json','getProjectIdFromTestInfo','testId','setAccessibilityPlatformValidation','stringify','rmSync','mkdirSync','parse','4697844aNmZfJ','1124165fCjour','WqvKh','.txt','filePath','tests','QBRHM','rIJSs','readFileSync','values','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','setTestDetails','sWMXf','existsSync','255740kOPAKo','heUeO','1831608ZVePup','AKCXN','forEach','path'];a58_0x1fcf=function(){return _0x4a0ce5;};return a58_0x1fcf();}(function(_0x2c3151,_0xc200e2){const _0x44a6c8=a58_0x363d,_0x3c93f9=_0x2c3151();while(!![]){try{const _0x114a69=parseInt(_0x44a6c8(0x233))/0x1*(parseInt(_0x44a6c8(0x212))/0x2)+-parseInt(_0x44a6c8(0x1d5))/0x3+-parseInt(_0x44a6c8(0x1f3))/0x4*(parseInt(_0x44a6c8(0x21d))/0x5)+parseInt(_0x44a6c8(0x1e3))/0x6+-parseInt(_0x44a6c8(0x1e4))/0x7+parseInt(_0x44a6c8(0x202))/0x8*(parseInt(_0x44a6c8(0x22f))/0x9)+-parseInt(_0x44a6c8(0x1f1))/0xa*(-parseInt(_0x44a6c8(0x22d))/0xb);if(_0x114a69===_0xc200e2)break;else _0x3c93f9['push'](_0x3c93f9['shift']());}catch(_0x5f6862){_0x3c93f9['push'](_0x3c93f9['shift']());}}}(a58_0x1fcf,0xbbea7));const fs=require('fs'),path=require(a58_0x3c57f1(0x1f6)),{v4:uuidv4}=require(a58_0x3c57f1(0x21a)),{TEMP_STORE_DIR_NAME}=require(a58_0x3c57f1(0x1c9)),{nestedKeyValue}=require(a58_0x3c57f1(0x1d4)),logger=require(a58_0x3c57f1(0x211))['winstonLogger'],{getLogDir}=require(a58_0x3c57f1(0x211)),util=require('util'),helper=require(a58_0x3c57f1(0x1d4)),{deterministicTestUUID}=require(a58_0x3c57f1(0x1f7));class TestDetails{static ['tests']={};static[a58_0x3c57f1(0x22c)](){const _0x27bf75=a58_0x3c57f1;this[_0x27bf75(0x205)]();const _0x2be30a={};_0x2be30a[_0x27bf75(0x215)]=!![],fs['mkdirSync'](this[_0x27bf75(0x20a)](),_0x2be30a);const _0x435975={};_0x435975[_0x27bf75(0x215)]=!![],fs['mkdirSync'](this[_0x27bf75(0x217)](),_0x435975);}static[a58_0x3c57f1(0x201)](){const _0x48915c=a58_0x3c57f1,_0x561fb4={};_0x561fb4[_0x48915c(0x222)]=function(_0x8a6335,_0x24b87d){return _0x8a6335!==_0x24b87d;},_0x561fb4[_0x48915c(0x1f8)]=_0x48915c(0x223),_0x561fb4['JiIkf']=_0x48915c(0x1ca),_0x561fb4[_0x48915c(0x1e5)]=function(_0x5dbb42,_0x4367c1){return _0x5dbb42===_0x4367c1;},_0x561fb4[_0x48915c(0x226)]=function(_0x19d78f,_0x146056){return _0x19d78f===_0x146056;},_0x561fb4[_0x48915c(0x224)]=_0x48915c(0x1fe);const _0x6414cb=_0x561fb4,_0x856168=process[_0x48915c(0x1fb)][_0x48915c(0x1ff)],_0x50820a=_0x856168&&_0x6414cb[_0x48915c(0x222)](_0x856168,_0x6414cb[_0x48915c(0x1f8)])&&_0x6414cb[_0x48915c(0x222)](_0x856168,_0x6414cb[_0x48915c(0x208)])?_0x856168:process[_0x48915c(0x1fb)]['BS_TESTOPS_BUILD_HASHED_ID'];if(!_0x50820a||_0x6414cb[_0x48915c(0x1e5)](_0x50820a,_0x6414cb[_0x48915c(0x208)])||_0x6414cb[_0x48915c(0x226)](_0x50820a,_0x6414cb['QAqTQ']))return _0x6414cb[_0x48915c(0x224)];return _0x50820a;}static[a58_0x3c57f1(0x1d6)](){const _0x1f6b8c=a58_0x3c57f1,_0x41b2cc={};_0x41b2cc[_0x1f6b8c(0x21f)]=function(_0x1c1810,_0x39940d){return _0x1c1810+_0x39940d;};const _0xd13dc6=_0x41b2cc;return _0xd13dc6['zFFWj'](_0xd13dc6[_0x1f6b8c(0x21f)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']());}static[a58_0x3c57f1(0x1d0)](){const _0x32a43e=a58_0x3c57f1,_0x2dc59b={};_0x2dc59b[_0x32a43e(0x216)]=function(_0x47dcac,_0x474381){return _0x47dcac+_0x474381;};const _0x29ac53=_0x2dc59b;return path[_0x32a43e(0x228)](_0x29ac53['SXcfm'](_0x29ac53[_0x32a43e(0x216)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x32a43e(0x201)]()));}static[a58_0x3c57f1(0x217)](){const _0x2e99da=a58_0x3c57f1,_0x24570c={};_0x24570c[_0x2e99da(0x21b)]=_0x2e99da(0x1d8);const _0x1ac5d8=_0x24570c;return path['join'](this[_0x2e99da(0x1d0)](),_0x1ac5d8[_0x2e99da(0x21b)]);}static[a58_0x3c57f1(0x20a)](){const _0x4b3a76=a58_0x3c57f1;return TestDetails[_0x4b3a76(0x1d6)]();}static[a58_0x3c57f1(0x221)](_0x3d1c01){const _0x29ad8c=a58_0x3c57f1,_0x211c50={};_0x211c50['StWDW']=function(_0x16a142,_0x386031){return _0x16a142+_0x386031;},_0x211c50[_0x29ad8c(0x21e)]=_0x29ad8c(0x1db);const _0x6d191f=_0x211c50;return path[_0x29ad8c(0x228)](this['getDirPath'](),_0x6d191f[_0x29ad8c(0x1cf)](_0x3d1c01,_0x6d191f['pHTRi']));}static[a58_0x3c57f1(0x1d2)](_0x4e2ab1){const _0x142df4=a58_0x3c57f1,_0x3f47e9={};_0x3f47e9[_0x142df4(0x210)]=function(_0x57555d,_0x500168){return _0x57555d+_0x500168;},_0x3f47e9[_0x142df4(0x220)]=function(_0x3cfee2,_0x79813){return _0x3cfee2+_0x79813;};const _0x41eb1c=_0x3f47e9;return _0x41eb1c[_0x142df4(0x210)](_0x41eb1c['jzVrm'](this[_0x142df4(0x1d1)](_0x4e2ab1),'-'),_0x4e2ab1[_0x142df4(0x231)]);}static[a58_0x3c57f1(0x1dc)](_0x5e9402){const _0x2e963e=a58_0x3c57f1,_0x8833e2={'jDVXP':function(_0x5d7a04,_0x374f6e,_0x4117fe){return _0x5d7a04(_0x374f6e,_0x4117fe);},'AKCXN':_0x2e963e(0x230),'NWrJn':_0x2e963e(0x1cd),'qcgnN':_0x2e963e(0x227),'MHlSu':_0x2e963e(0x213)};return _0x8833e2[_0x2e963e(0x1d7)](nestedKeyValue,_0x5e9402,[_0x8833e2[_0x2e963e(0x1f4)],_0x8833e2[_0x2e963e(0x1fd)]])||_0x8833e2[_0x2e963e(0x1d7)](nestedKeyValue,_0x5e9402,[_0x8833e2[_0x2e963e(0x22a)],_0x8833e2[_0x2e963e(0x20b)]]);}static[a58_0x3c57f1(0x1d1)](_0x4233e3){const _0x5a5df5=a58_0x3c57f1,_0x1fe5c7={'JspYq':function(_0x5397ed,_0x206b5e,_0x328fb4){return _0x5397ed(_0x206b5e,_0x328fb4);},'GUjIw':_0x5a5df5(0x230)};return _0x1fe5c7[_0x5a5df5(0x21c)](nestedKeyValue,_0x4233e3,[_0x1fe5c7[_0x5a5df5(0x1cc)],'id'])||_0x4233e3[_0x5a5df5(0x1dd)];}static['getTestUUID'](_0x2b35ee){const _0x1ba448=a58_0x3c57f1,_0xcb7e3a={'lsDne':function(_0x630316,_0x126f97){return _0x630316===_0x126f97;},'vPPWJ':_0x1ba448(0x206),'LgiTc':function(_0x21cace,_0xb8333a){return _0x21cace(_0xb8333a);},'VIkqc':function(_0x473f63){return _0x473f63();}};if(this[_0x1ba448(0x1e8)][_0x2b35ee]&&_0xcb7e3a[_0x1ba448(0x225)](typeof this[_0x1ba448(0x1e8)][_0x2b35ee]['uuid'],_0xcb7e3a['vPPWJ']))return this['tests'][_0x2b35ee][_0x1ba448(0x21a)];const _0x51d535=process['env'][_0x1ba448(0x1ff)];if(helper[_0x1ba448(0x214)](_0x51d535)){const _0x5011d3=_0xcb7e3a['LgiTc'](deterministicTestUUID,_0x2b35ee),_0x4ed291={};_0x4ed291[_0x1ba448(0x21a)]=_0x5011d3,this[_0x1ba448(0x1e8)][_0x2b35ee]=_0x4ed291;try{const _0x1bac54={};_0x1bac54['recursive']=!![],fs[_0x1ba448(0x1e1)](this['getDirPath'](),_0x1bac54),fs[_0x1ba448(0x232)](this[_0x1ba448(0x221)](_0x2b35ee),JSON[_0x1ba448(0x1df)](this[_0x1ba448(0x1e8)][_0x2b35ee]));}catch(_0x1db8eb){logger['debug'](_0x1ba448(0x1d3)+_0x2b35ee+':\x20'+(_0x1db8eb&&_0x1db8eb['message']));}return _0x5011d3;}const _0x43c02b=this[_0x1ba448(0x221)](_0x2b35ee);if(_0x43c02b&&fs['existsSync'](_0x43c02b)){const _0x36afb5=JSON[_0x1ba448(0x1e2)](fs['readFileSync'](_0x43c02b)[_0x1ba448(0x207)]());return this[_0x1ba448(0x1e8)][_0x2b35ee]=_0x36afb5,this[_0x1ba448(0x1e8)][_0x2b35ee]['uuid'];}return this['tests'][_0x2b35ee]={'uuid':_0xcb7e3a[_0x1ba448(0x204)](uuidv4)},fs[_0x1ba448(0x232)](_0x43c02b,JSON['stringify'](this[_0x1ba448(0x1e8)][_0x2b35ee])),this['tests'][_0x2b35ee][_0x1ba448(0x21a)];}static[a58_0x3c57f1(0x22e)](_0x135a76){const _0x45a571=a58_0x3c57f1,_0x535743=path[_0x45a571(0x228)](this[_0x45a571(0x20a)](),_0x135a76+_0x45a571(0x219));if(_0x535743&&fs[_0x45a571(0x1f0)](_0x535743))return fs[_0x45a571(0x1eb)](_0x535743)[_0x45a571(0x207)]();}static[a58_0x3c57f1(0x1de)](_0x43c944,_0xb141ec){const _0x48cf48=a58_0x3c57f1;try{const _0x103a36=this[_0x48cf48(0x20a)](),_0x402b33={};_0x402b33['recursive']=!![],fs[_0x48cf48(0x1e1)](_0x103a36,_0x402b33);const _0xde310a=path['join'](_0x103a36,_0xb141ec+_0x48cf48(0x219));fs['writeFileSync'](_0xde310a,_0x43c944[_0x48cf48(0x207)]());}catch(_0x38f0e2){logger[_0x48cf48(0x209)](_0x48cf48(0x20c)+_0xb141ec+':\x20'+(_0x38f0e2&&_0x38f0e2[_0x48cf48(0x1fa)]));}}static[a58_0x3c57f1(0x218)](_0x2d3777){const _0x33821f=a58_0x3c57f1,_0x3b5471=path[_0x33821f(0x228)](this[_0x33821f(0x20a)](),_0x2d3777+'_integrations.json');if(_0x3b5471&&fs['existsSync'](_0x3b5471))try{return JSON[_0x33821f(0x1e2)](fs[_0x33821f(0x1eb)](_0x3b5471)[_0x33821f(0x207)]());}catch(_0x4fdd7f){return logger['debug'](_0x33821f(0x1ed)+_0x2d3777+':\x20'+(_0x4fdd7f&&_0x4fdd7f['message'])),null;}return null;}static[a58_0x3c57f1(0x20d)](_0x5e75a9,_0x334284){const _0xcd8570=a58_0x3c57f1,_0x7ec66d={};_0x7ec66d[_0xcd8570(0x1ef)]=function(_0x52ebb7,_0x5987f8){return _0x52ebb7||_0x5987f8;};const _0x3c7555=_0x7ec66d;if(_0x3c7555[_0xcd8570(0x1ef)](!_0x5e75a9,!_0x334284))return;try{const _0x3ebd60=this[_0xcd8570(0x20a)](),_0x2fbaa4={};_0x2fbaa4[_0xcd8570(0x215)]=!![],fs[_0xcd8570(0x1e1)](_0x3ebd60,_0x2fbaa4);const _0x1e113a=path[_0xcd8570(0x228)](_0x3ebd60,_0x5e75a9+_0xcd8570(0x1d9));fs[_0xcd8570(0x232)](_0x1e113a,JSON[_0xcd8570(0x1df)](_0x334284));}catch(_0x47fea7){logger[_0xcd8570(0x209)](_0xcd8570(0x229)+_0x5e75a9+':\x20'+(_0x47fea7&&_0x47fea7[_0xcd8570(0x1fa)]));}}static[a58_0x3c57f1(0x205)](){const _0x42ffe5=a58_0x3c57f1,_0x5ea0f1={};_0x5ea0f1[_0x42ffe5(0x215)]=!![],_0x5ea0f1['force']=!![],fs[_0x42ffe5(0x1e0)](this[_0x42ffe5(0x20a)](),_0x5ea0f1);}static['getTestDetails'](_0x247953){const _0x198bcb=a58_0x3c57f1;if(this[_0x198bcb(0x1e8)][_0x247953])return this[_0x198bcb(0x1e8)][_0x247953];const _0x4f0409=this[_0x198bcb(0x221)](_0x247953);if(_0x4f0409&&fs[_0x198bcb(0x1f0)](_0x4f0409)){const _0x1fdcfd=JSON['parse'](fs['readFileSync'](_0x4f0409)[_0x198bcb(0x207)]());return this[_0x198bcb(0x1e8)][_0x247953]=_0x1fdcfd,_0x1fdcfd;}return{};}static[a58_0x3c57f1(0x1ee)](_0x165b04,_0x18accf){const _0x13c9ad=a58_0x3c57f1,_0x35f04a=this['getFilePath'](_0x165b04);if(_0x35f04a&&fs['existsSync'](_0x35f04a)){const _0x139336=JSON['parse'](fs[_0x13c9ad(0x1eb)](_0x35f04a)[_0x13c9ad(0x207)]()),_0x48d3f2={..._0x139336,..._0x18accf};this[_0x13c9ad(0x1e8)][_0x165b04]=_0x48d3f2;}else this[_0x13c9ad(0x1e8)][_0x165b04]=_0x18accf;fs['writeFileSync'](_0x35f04a,this['tests'][_0x165b04]);}static[a58_0x3c57f1(0x203)](_0x33e8c3){const _0xd4ee47=a58_0x3c57f1,_0x6a70b6={};_0x6a70b6['OtFmP']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x58d477=_0x6a70b6;try{const _0x2162c3=process['pid'],_0x395f1b=path[_0xd4ee47(0x228)](TestDetails[_0xd4ee47(0x217)](),_0x2162c3+_0xd4ee47(0x1da));let _0x21595a=[];_0x395f1b&&fs[_0xd4ee47(0x1f0)](_0x395f1b)&&(_0x21595a=JSON[_0xd4ee47(0x1e2)](fs[_0xd4ee47(0x1eb)](_0x395f1b)['toString']())),!_0x21595a[_0xd4ee47(0x1ce)](_0x1a0f93=>_0x1a0f93[_0xd4ee47(0x1e7)]===_0x33e8c3[_0xd4ee47(0x1e7)])&&(_0x21595a['push'](_0x33e8c3),fs[_0xd4ee47(0x232)](_0x395f1b,JSON[_0xd4ee47(0x1df)](_0x21595a)));}catch(_0x181383){logger[_0xd4ee47(0x1fc)](_0x58d477['OtFmP'],_0x181383);}}static[a58_0x3c57f1(0x22b)](){const _0x216af1=a58_0x3c57f1,_0xa7d4f2={};_0xa7d4f2[_0x216af1(0x1f2)]=_0x216af1(0x1da),_0xa7d4f2[_0x216af1(0x1ea)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x4ad46f=_0xa7d4f2,_0x5d639e=[];try{const _0x5b1057=TestDetails[_0x216af1(0x217)]();if(_0x5b1057&&!fs[_0x216af1(0x1f0)](_0x5b1057))return _0x5d639e;const _0x271ae0=fs['readdirSync'](_0x5b1057);_0x271ae0[_0x216af1(0x1f5)](_0x111701=>{const _0x376c12=_0x216af1;if(_0x111701&&_0x111701['endsWith'](_0x4ad46f[_0x376c12(0x1f2)])){const _0x357f14=JSON[_0x376c12(0x1e2)](fs['readFileSync'](path[_0x376c12(0x228)](_0x5b1057,_0x111701))[_0x376c12(0x207)]());_0x5d639e['push'](..._0x357f14);}});}catch(_0x35e1e2){logger['error'](util['format'](_0x4ad46f[_0x216af1(0x1ea)],_0x35e1e2));}const _0x517055={};return _0x5d639e[_0x216af1(0x1f5)](_0xe51fe4=>{const _0x22a286=_0x216af1;_0x517055[_0xe51fe4[_0x22a286(0x1e7)]]=_0xe51fe4;}),Object[_0x216af1(0x1ec)](_0x517055);}static['appendToTracePaths'](_0x3c0c67,_0x3912eb){const _0x50eb93=a58_0x3c57f1,_0x590748={};_0x590748[_0x50eb93(0x1e9)]=_0x50eb93(0x20e),_0x590748[_0x50eb93(0x1cb)]='utf8';const _0x5dc16d=_0x590748;try{const _0x582d41=path['join'](helper['homedir'](),_0x5dc16d[_0x50eb93(0x1e9)]);if(!fs['existsSync'](_0x582d41)){const _0x440908={};_0x440908[_0x50eb93(0x215)]=!![],fs[_0x50eb93(0x1e1)](_0x582d41,_0x440908);}fs[_0x50eb93(0x20f)](path['join'](_0x582d41,'trace_'+_0x3912eb+_0x50eb93(0x1e6)),_0x3c0c67+'\x0a',_0x5dc16d[_0x50eb93(0x1cb)]);}catch(_0x3bb015){console['error'](_0x50eb93(0x200)+_0x3bb015[_0x50eb93(0x1fa)]);}}}module[a58_0x3c57f1(0x1f9)]=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';const
|
|
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_0x3bf456=a60_0x1202;(function(_0x29e963,_0x27a6b2){const _0x55cae8=a60_0x1202,_0x33ce12=_0x29e963();while(!![]){try{const _0x7f1855=-parseInt(_0x55cae8(0xf8))/0x1*(parseInt(_0x55cae8(0xe2))/0x2)+parseInt(_0x55cae8(0x143))/0x3*(parseInt(_0x55cae8(0x175))/0x4)+-parseInt(_0x55cae8(0x133))/0x5*(parseInt(_0x55cae8(0x11c))/0x6)+parseInt(_0x55cae8(0xae))/0x7*(parseInt(_0x55cae8(0x14a))/0x8)+-parseInt(_0x55cae8(0x102))/0x9*(-parseInt(_0x55cae8(0xc7))/0xa)+-parseInt(_0x55cae8(0x160))/0xb+parseInt(_0x55cae8(0xd6))/0xc;if(_0x7f1855===_0x27a6b2)break;else _0x33ce12['push'](_0x33ce12['shift']());}catch(_0xf37d48){_0x33ce12['push'](_0x33ce12['shift']());}}}(a60_0x52ba,0x6d028));function a60_0x52ba(){const _0x351f60=['PLAYWRIGHT','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','_bstackDispatchPatched','BLfrR','browserstack','function','mWevA','282324Awxezq','project','patch','Page','testInfo','BSTACK_ATS_URL','_name','878312vNttDV','UXlMk','catch','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','../../helpers/test-observability/utils','sessionError','iUVoF','orXwl','_onMessage','sgEvJ','compareVersions','bstackPerformA11yScan','epKAF','titlePath','winstonLogger','xnMKE','capabilities','WZRBz','Failed\x20to\x20perform\x20scan\x20','Connection','includes','trackEvent','9701241AmDPyb','performScan','ywiNG','wAaeQ','lCrFX','QTgTo','split','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','accessibilityPlatform','safari','server','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','aeCZH','EOuFo','../utils/clientTroubleshootingService.js','QuVjW','product','platformName','frGUt','RLsVu','prototype','4QVKgQe','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','Performing\x20scan\x20for\x20','crConnection.js','CRConnection','VOoMK','4|3|6|7|1|2|0|5','Not\x20able\x20to\x20resolve\x20Connection\x20class','LQGIV','env','WkmpC','gWVeu','message','playwright','platform','UkIeB','getAutomationFramework','patchConnection','Error\x20in\x20importing\x20crConnection','url','qoftz','35epbziV','defineProperty','wDKOr','isRunning','currentTest','path','bsParams','calny','caps','oYYPI','Eeskx','../../bin/playwright/accessibility-helper','shouldWrapCommand','__driver','yzGQJ','JDwpF','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','../../helpers/test-observability/error-handler','../v2/state/automationFrameworkState.js','TZNsE','POST','browserName','resolve','YJOll','debug','2166800xhmeUR','../../helpers/accessibility-automation/accessibilityRetryHelper.js','CIqzG','BSTACK_URL','../../helpers/accessibility-automation/helper','local_grid','HUGJl','_defaultConnectOptions','DlJlZ','patchCRConnection','../utils/constants','info','COyUW','apply','ZcwOp','9350808rcpdGZ','currentSessionDetails','mWJyd','YIrXl','../../helpers/helper','lruPQ','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','getFrameworkVersion','JMaKA','_type','setupBrowserDetails','entries','116uybLkY','Not\x20able\x20to\x20import\x20crConnection','ATS_WSS_URL_REGEX','fromEntries','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','Page\x20Scan\x20result=','use','nRChL','ckKWU','version','QDKuU','yBaAe','../../helpers/logger','alYct','__workerDetails','grKml','channel','deviceModel','resolveConnectionClass','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','ntUKT','ZHDTp','15010gcFxPU','lib','params','../../helpers/accessibility-automation/scripts','NStDF','webkit','dispatch','FfTxN','QkNQr','assign','36qOpflH','fhaei','izOap','parse','automate','wsEndpoint','nfjVK','platformVersion','string','dJqct','RKeAL','reportSessionLinkingIssue','toLowerCase','./accessibility-helper','platform_version','sessionId','bStackParams','_connection','cNgCo','../v2/state/hookState.js','toString','xnrxh','cloudProvider','chromium','turboscale','ZlbNz','336kZROfR','isRemote','1.60.0','platformDetails','voJfa','edge','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','Device\x20Model\x20is\x20not\x20available','MFBDQ','CnmaF','bsSessionId','brkCg','browser','PkDgf','nDlyB','ipWvO','Error\x20in\x20finding\x20platform\x20details\x20','../v2/browserstackCLI','chrome','getInstance','sendMessageToServer','gFyZJ','8035bDCQAS','Kcevs','UxkOI','_browserType','ofjGD','xWtVc','unknown','AMtzl','jPjfZ'];a60_0x52ba=function(){return _0x351f60;};return a60_0x52ba();}const path=require(a60_0x3bf456(0xb3)),url=require(a60_0x3bf456(0xac)),util=require('util'),helper=require(a60_0x3bf456(0xda)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a60_0x3bf456(0xda)),{o11yErrorHandler}=require(a60_0x3bf456(0xbf)),{debug,getPlatformDetails}=require(a60_0x3bf456(0x14e)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a60_0x3bf456(0xcb)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a60_0x3bf456(0xee))[a60_0x3bf456(0x158)],scripts=require(a60_0x3bf456(0xfb)),{browserStackExecuteDriver}=require(a60_0x3bf456(0xb9)),AccessibilityHelper=require(a60_0x3bf456(0x10f)),constants=require(a60_0x3bf456(0xd1)),BrowserstackCLI=require(a60_0x3bf456(0x12e)),AutomationFrameworkState=require(a60_0x3bf456(0xc0)),HookState=require(a60_0x3bf456(0x115)),{performScanWithRetry}=require(a60_0x3bf456(0xc8)),ClientTroubleShootingService=require(a60_0x3bf456(0x16e)),getBrowserNameFromChannel=_0x4e1a29=>{const _0x1a74be=a60_0x3bf456,_0x23c3ea={};_0x23c3ea[_0x1a74be(0xb7)]=_0x1a74be(0x17b),_0x23c3ea[_0x1a74be(0x151)]=function(_0x2823c1,_0x2cc4a7){return _0x2823c1===_0x2cc4a7;},_0x23c3ea[_0x1a74be(0xef)]=_0x1a74be(0xfd),_0x23c3ea['wDKOr']='firefox',_0x23c3ea['suQbI']=_0x1a74be(0x169),_0x23c3ea[_0x1a74be(0x17d)]=_0x1a74be(0x119),_0x23c3ea['ZHDTp']=function(_0x4275d0,_0x4d08de){return _0x4275d0!==_0x4d08de;},_0x23c3ea[_0x1a74be(0x165)]=_0x1a74be(0x10a),_0x23c3ea['HUGJl']=_0x1a74be(0x12f),_0x23c3ea[_0x1a74be(0x180)]=_0x1a74be(0x121);const _0x545ccd=_0x23c3ea,_0x23380b=_0x545ccd[_0x1a74be(0xb7)][_0x1a74be(0x166)]('|');let _0x5e00f3=0x0;while(!![]){switch(_0x23380b[_0x5e00f3++]){case'0':if(_0x545ccd[_0x1a74be(0x151)](_0x4e1a29,_0x545ccd[_0x1a74be(0xef)]))return _0x545ccd[_0x1a74be(0xef)];continue;case'1':if(_0x4e1a29[_0x1a74be(0x15e)](_0x545ccd[_0x1a74be(0xb0)]))return _0x545ccd[_0x1a74be(0xb0)];continue;case'2':if(_0x4e1a29[_0x1a74be(0x15e)](_0x545ccd['suQbI']))return _0x545ccd['suQbI'];continue;case'3':if(_0x4e1a29[_0x1a74be(0x15e)](_0x545ccd['LQGIV']))return _0x545ccd[_0x1a74be(0x17d)];continue;case'4':if(!_0x4e1a29||_0x545ccd[_0x1a74be(0xf7)](typeof _0x4e1a29,_0x545ccd[_0x1a74be(0x165)]))return _0x545ccd[_0x1a74be(0x17d)];continue;case'5':return _0x4e1a29;case'6':if(_0x4e1a29['includes'](_0x545ccd['HUGJl']))return _0x545ccd[_0x1a74be(0xcd)];continue;case'7':if(_0x4e1a29['includes'](_0x545ccd[_0x1a74be(0x180)]))return _0x545ccd[_0x1a74be(0x180)];continue;}break;}},getBrowserFromWSEndpoint=_0x583d54=>{const _0x2dcb24=a60_0x3bf456,_0x58abf2={'BLfrR':_0x2dcb24(0x12f),'QDKuU':function(_0x25d3c6,_0x4cd3e2){return _0x25d3c6(_0x4cd3e2);}};try{const _0x4d6bee=url[_0x2dcb24(0x105)](_0x583d54),_0x4b174d=new URLSearchParams(_0x4d6bee['query']),_0x547274=Object[_0x2dcb24(0xe5)](_0x4b174d[_0x2dcb24(0xe1)]()),_0x395566=JSON['parse'](_0x547274[_0x2dcb24(0xb6)]);if(_0x395566&&(_0x395566[_0x2dcb24(0x129)]||_0x395566[_0x2dcb24(0xc3)]))return _0x395566['browser']||_0x395566[_0x2dcb24(0xc3)];return _0x58abf2[_0x2dcb24(0x13f)];}catch(_0x295916){_0x58abf2[_0x2dcb24(0xec)](debug,_0x2dcb24(0xbe)+_0x295916[_0x2dcb24(0x116)]());}},getCloudProviderFromWsEndpoint=_0x40e6d0=>{const _0x477d4c=a60_0x3bf456,_0x3cabc7={};_0x3cabc7[_0x477d4c(0xf6)]=_0x477d4c(0x140),_0x3cabc7[_0x477d4c(0x142)]='unknown_grid';const _0x2345fe=_0x3cabc7;if(_0x40e6d0['includes'](constants[_0x477d4c(0xca)])||_0x40e6d0['includes'](constants[_0x477d4c(0x148)]))return _0x2345fe[_0x477d4c(0xf6)];return _0x2345fe[_0x477d4c(0x142)];},a60_0x44f77d={};function a60_0x1202(_0x578fd1,_0xc80827){const _0x52ba6d=a60_0x52ba();return a60_0x1202=function(_0x12022e,_0x4283ae){_0x12022e=_0x12022e-0xa5;let _0x1d5329=_0x52ba6d[_0x12022e];return _0x1d5329;},a60_0x1202(_0x578fd1,_0xc80827);}a60_0x44f77d['cloudProvider']=undefined,a60_0x44f77d[a60_0x3bf456(0x127)]=undefined,a60_0x44f77d[a60_0x3bf456(0x129)]=undefined,a60_0x44f77d['browser_version']=undefined,a60_0x44f77d[a60_0x3bf456(0xa7)]=undefined,a60_0x44f77d[a60_0x3bf456(0x110)]=undefined,a60_0x44f77d['product']=undefined,a60_0x44f77d[a60_0x3bf456(0x15a)]={};class PlaywrightSessionDetails{static [a60_0x3bf456(0xd7)]=a60_0x44f77d;constructor(){const _0x20d722=a60_0x3bf456,_0xf64301={};_0xf64301['iUVoF']=_0x20d722(0x122);const _0x2cc2d0=_0xf64301;throw new Error(_0x2cc2d0[_0x20d722(0x150)]);}static [a60_0x3bf456(0x14f)]=null;static[a60_0x3bf456(0xe0)](_0x14efd2,_0x486078,_0x402b0c=null){const _0x2a8100=a60_0x3bf456,_0x51cd15={'dvwjX':_0x2a8100(0x123),'PkDgf':function(_0x4ac8a5){return _0x4ac8a5();},'YIrXl':'browserstack','lCrFX':_0x2a8100(0xcc),'ipWvO':_0x2a8100(0xa6),'EOuFo':_0x2a8100(0x139),'AMtzl':function(_0x8558dc,_0x3d9081){return _0x8558dc===_0x3d9081;},'YJOll':_0x2a8100(0x141),'WZRBz':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','cNgCo':_0x2a8100(0x124),'ofjGD':function(_0x4ffd0e,_0x42dbea){return _0x4ffd0e===_0x42dbea;},'ywiNG':function(_0x2375c6,_0x4903e5,_0x34216f){return _0x2375c6(_0x4903e5,_0x34216f);},'WkmpC':_0x2a8100(0x136),'ZcwOp':_0x2a8100(0xce),'JDwpF':function(_0x2d2392,_0x3f621c,_0x2bf539){return _0x2d2392(_0x3f621c,_0x2bf539);},'UXlMk':_0x2a8100(0x144),'calny':_0x2a8100(0xe8),'JMaKA':'connectOptions','xWtVc':function(_0x5f1d40,_0x5b2fa5){return _0x5f1d40(_0x5b2fa5);},'yBaAe':function(_0x363c3b,_0x20e333){return _0x363c3b===_0x20e333;},'VMYJg':_0x2a8100(0x11a),'wnVZF':_0x2a8100(0x106),'RBChy':function(_0x4df2f4,_0x3e30a3){return _0x4df2f4&&_0x3e30a3;},'UkIeB':function(_0x4866b4,_0xca5cb4){return _0x4866b4(_0xca5cb4);},'yzGQJ':function(_0x1560f8,_0x37b8ca){return _0x1560f8+_0x37b8ca;},'grKml':'playwright-','Eeskx':function(_0x53094d,_0xe0e4f1){return _0x53094d||_0xe0e4f1;},'tDWzw':function(_0x133343,_0xc29007,_0x231e3e){return _0x133343(_0xc29007,_0x231e3e);},'sgEvJ':_0x2a8100(0xe0)},_0x250ca6=this;return _0x51cd15['tDWzw'](o11yErrorHandler,async function _0x22a49b(_0x39e578,_0x8bbffb,_0x4b4822=null){const _0xd7d46d=_0x2a8100;if(!_0x39e578){logger[_0xd7d46d(0xc6)](_0x51cd15['dvwjX']),_0x250ca6[_0xd7d46d(0xd7)]=Object[_0xd7d46d(0x101)]({},_0x250ca6[_0xd7d46d(0xd7)],{'cloudProvider':_0x51cd15[_0xd7d46d(0x12a)](isBrowserstackInfra)?_0x51cd15['YIrXl']:_0x51cd15[_0xd7d46d(0x164)],'browser':_0x51cd15[_0xd7d46d(0x12c)],'browser_version':_0x51cd15[_0xd7d46d(0x16d)]});return;}let _0x133522=_0x39e578[_0xd7d46d(0x149)],_0x5895a9=null;_0x39e578&&_0x51cd15[_0xd7d46d(0x13a)](typeof _0x39e578[_0xd7d46d(0xeb)],_0x51cd15['YJOll'])?_0x5895a9=_0x39e578[_0xd7d46d(0xeb)]():logger[_0xd7d46d(0xc6)](_0x51cd15[_0xd7d46d(0x15b)]);let _0x1a7c83=null;_0x39e578&&_0x51cd15[_0xd7d46d(0x13a)](typeof _0x39e578['model'],_0x51cd15[_0xd7d46d(0xc5)])?_0x1a7c83=_0x39e578['model']():logger['debug'](_0x51cd15[_0xd7d46d(0x114)]);let _0x483aa4=null,_0x59be9f=null,_0x4466bf=null,_0x503957=_0x51cd15['lCrFX'];const _0xb04d54=_0x39e578[_0xd7d46d(0x113)]&&_0x51cd15[_0xd7d46d(0x137)](typeof _0x39e578[_0xd7d46d(0x113)][_0xd7d46d(0x11d)],_0x51cd15['YJOll'])?_0x39e578['_connection'][_0xd7d46d(0x11d)]():![];if(_0xb04d54||global[_0xd7d46d(0x168)]&&!process[_0xd7d46d(0x17e)][_0xd7d46d(0x14d)]){let _0x4f59c7=null;_0x51cd15[_0xd7d46d(0x162)](nestedKeyValue,_0x39e578,[_0x51cd15[_0xd7d46d(0x17f)],_0x51cd15[_0xd7d46d(0xd5)]])?_0x4f59c7=_0x39e578[_0xd7d46d(0x136)][_0xd7d46d(0xce)]:_0x4f59c7=_0x51cd15[_0xd7d46d(0xbd)](nestedKeyValue,_0x8bbffb,[_0x51cd15[_0xd7d46d(0x14b)],_0x51cd15[_0xd7d46d(0xb5)],_0x51cd15[_0xd7d46d(0xde)]]);const _0x26f929=_0x4b4822||_0x4f59c7&&_0x4f59c7[_0xd7d46d(0x107)];if(_0x26f929){_0x503957=_0x51cd15[_0xd7d46d(0x138)](getCloudProviderFromWsEndpoint,_0x26f929);if(_0x51cd15[_0xd7d46d(0xed)](_0x503957,_0x51cd15[_0xd7d46d(0xd9)]))_0x4466bf=constants[_0xd7d46d(0xe4)]['test'](_0x26f929)?_0x51cd15['VMYJg']:_0x51cd15['wnVZF'],_0x133522=_0x51cd15[_0xd7d46d(0x138)](getBrowserFromWSEndpoint,_0x26f929)||_0x133522,_0x483aa4=_0x250ca6[_0xd7d46d(0xd7)][_0xd7d46d(0xa7)],_0x59be9f=_0x250ca6[_0xd7d46d(0xd7)][_0xd7d46d(0x110)];else{const _0x163309=await _0x51cd15[_0xd7d46d(0x12a)](getPlatformDetails);_0x483aa4=_0x163309[_0xd7d46d(0x171)],_0x59be9f=_0x163309[_0xd7d46d(0x109)];}}if(_0x51cd15['RBChy'](!_0x483aa4,!_0x59be9f)&&!_0x51cd15[_0xd7d46d(0x12a)](isBrowserstackInfra)){const _0x43c3d3=await _0x51cd15['PkDgf'](getPlatformDetails);_0x483aa4=_0x43c3d3['platformName'],_0x59be9f=_0x43c3d3[_0xd7d46d(0x109)];}}else{_0x8bbffb&&_0x8bbffb[_0xd7d46d(0x144)][_0xd7d46d(0xe8)][_0xd7d46d(0xf2)]?_0x133522=_0x51cd15[_0xd7d46d(0xa8)](getBrowserNameFromChannel,_0x8bbffb[_0xd7d46d(0x144)][_0xd7d46d(0xe8)][_0xd7d46d(0xf2)]):_0x133522=_0x51cd15[_0xd7d46d(0xbc)](_0x51cd15[_0xd7d46d(0xf1)],_0x51cd15[_0xd7d46d(0xb8)](_0x133522,_0x51cd15[_0xd7d46d(0x16d)])[_0xd7d46d(0x10e)]());const _0x1c1945=await _0x51cd15[_0xd7d46d(0x12a)](getPlatformDetails);_0x483aa4=_0x1c1945['platformName'],_0x59be9f=_0x1c1945['platformVersion'];}const _0x16bf43={};_0x16bf43['browser']=_0x133522,_0x16bf43['browser_version']=_0x5895a9,_0x16bf43[_0xd7d46d(0x15a)]={},_0x16bf43[_0xd7d46d(0xa7)]=_0x483aa4,_0x16bf43[_0xd7d46d(0x110)]=_0x59be9f,_0x16bf43[_0xd7d46d(0x170)]=_0x4466bf;const _0x2474da=_0x16bf43;_0x1a7c83&&(_0x2474da[_0xd7d46d(0x15a)][_0xd7d46d(0xf3)]=_0x1a7c83);const _0xc214ff={};_0xc214ff[_0xd7d46d(0x118)]=_0x503957,_0x250ca6['currentSessionDetails']=Object[_0xd7d46d(0x101)]({},_0x250ca6[_0xd7d46d(0xd7)],_0xc214ff,_0x2474da);},_0x51cd15[_0x2a8100(0x153)])(_0x14efd2,_0x486078,_0x402b0c);}static[a60_0x3bf456(0x145)](){const _0x248ae1=a60_0x3bf456;this[_0x248ae1(0xaa)](),this[_0x248ae1(0xd0)]();}static[a60_0x3bf456(0xaa)](){const _0x40e85c=a60_0x3bf456,_0xf386ab={'QkNQr':function(_0x31e5a9,_0x979c0,_0x32a544){return _0x31e5a9(_0x979c0,_0x32a544);},'QuVjW':'currentTest','qoftz':_0x40e85c(0x147),'CIqzG':_0x40e85c(0x157),'ckKWU':_0x40e85c(0xf0),'nfjVK':'pwPage','SxrAt':function(_0x5143da,_0x58a898,_0x137d0a){return _0x5143da(_0x58a898,_0x137d0a);},'Kcevs':function(_0x5d501b,_0x21afba){return _0x5d501b===_0x21afba;},'gFyZJ':_0x40e85c(0x146),'izOap':function(_0x4aabe2,_0x4fbfa0,_0x3de3c0,_0x4f96e9){return _0x4aabe2(_0x4fbfa0,_0x3de3c0,_0x4f96e9);},'voJfa':function(_0x5d4118,_0x421c81){return _0x5d4118||_0x421c81;},'RKeAL':function(_0x43a205,_0x4d4e4d){return _0x43a205(_0x4d4e4d);},'COyUW':function(_0x26f387,_0x394a55){return _0x26f387(_0x394a55);},'pzgMC':_0x40e85c(0x17c),'POXYo':function(_0x3332c3,_0x167661){return _0x3332c3!=_0x167661;},'CnmaF':function(_0x5151fc,_0x470402){return _0x5151fc!=_0x470402;},'brkCg':function(_0x4a5e92){return _0x4a5e92();},'MFBDQ':_0x40e85c(0x131),'jPjfZ':function(_0x20aba6,_0x1b74bb){return _0x20aba6(_0x1b74bb);},'TZNsE':_0x40e85c(0xfe),'yoNNF':'Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)'},_0x673484=this;!this[_0x40e85c(0x15d)]&&(this['Connection']=helper[_0x40e85c(0xf4)](),!this[_0x40e85c(0x15d)]&&_0xf386ab['COyUW'](debug,_0xf386ab['pzgMC']));const _0x33b300=this[_0x40e85c(0x15d)];if(_0xf386ab['POXYo'](_0x33b300,null)&&_0x33b300[_0x40e85c(0x174)][_0x40e85c(0x13e)])return;try{if(_0xf386ab[_0x40e85c(0x126)](_0x33b300,null)){const _0x572ba4=_0x33b300[_0x40e85c(0x174)][_0x40e85c(0xfe)],_0x33b853=_0x33b300[_0x40e85c(0x174)]['sendMessageToServer'];_0xf386ab[_0x40e85c(0x128)](isAccessibilityAutomationSession)&&Object[_0x40e85c(0xaf)](_0x33b300[_0x40e85c(0x174)],_0xf386ab[_0x40e85c(0x125)],{'get':function(){const _0x4b4931=_0x40e85c,_0x42a0a5={'nRChL':function(_0x2aa936,_0x40fcc7,_0x20fef7){const _0x4f1c5a=a60_0x1202;return _0xf386ab[_0x4f1c5a(0x100)](_0x2aa936,_0x40fcc7,_0x20fef7);},'MNZcB':_0xf386ab[_0x4b4931(0x16f)],'xnMKE':_0xf386ab[_0x4b4931(0xad)],'mWJyd':_0xf386ab[_0x4b4931(0xc9)],'frGUt':_0xf386ab[_0x4b4931(0xea)],'ujHrS':_0xf386ab[_0x4b4931(0x108)],'RLsVu':function(_0x509c18,_0x24f88a,_0x1fad1a){return _0xf386ab['SxrAt'](_0x509c18,_0x24f88a,_0x1fad1a);},'epKAF':function(_0x51413f,_0x2fac9d){const _0x531ad7=_0x4b4931;return _0xf386ab[_0x531ad7(0x134)](_0x51413f,_0x2fac9d);},'aeCZH':_0xf386ab[_0x4b4931(0x132)],'PdSHI':function(_0x1f731b,_0x28dcae,_0x36cb59,_0x1b2f2d){const _0x365ef4=_0x4b4931;return _0xf386ab[_0x365ef4(0x104)](_0x1f731b,_0x28dcae,_0x36cb59,_0x1b2f2d);}};return async function(){const _0x2b6c44=_0x4b4931;try{if(!global[_0x2b6c44(0x155)]&&global[_0x2b6c44(0x168)]&&_0x42a0a5[_0x2b6c44(0xe9)](nestedKeyValue,global['__workerDetails'],[_0x42a0a5['MNZcB'],_0x42a0a5[_0x2b6c44(0x159)],_0x42a0a5[_0x2b6c44(0xd8)]])&&_0x42a0a5[_0x2b6c44(0xe9)](shouldScanTestForAccessibility,global[_0x2b6c44(0xf0)][_0x2b6c44(0xb2)][_0x2b6c44(0x147)][_0x2b6c44(0x157)],!![])&&scripts[_0x2b6c44(0xba)](arguments[0x1])){logger['debug'](_0x2b6c44(0x177)+arguments[0x1]),global[_0x2b6c44(0x155)]=!![];const _0x171a38=_0x42a0a5[_0x2b6c44(0xe9)](nestedKeyValue,global,[_0x42a0a5[_0x2b6c44(0x172)],_0x42a0a5['ujHrS']]);_0x171a38&&logger[_0x2b6c44(0xd2)](_0x2b6c44(0xe7)+util['format'](await _0x42a0a5[_0x2b6c44(0x173)](performScanWithRetry,_0x171a38,arguments[0x1]))),_0x42a0a5[_0x2b6c44(0x156)](arguments[0x0][_0x2b6c44(0xdf)],_0x42a0a5[_0x2b6c44(0x16c)])&&global[_0x2b6c44(0xbb)]&&logger[_0x2b6c44(0xd2)]('Driver\x20Scan\x20result='+util['format'](await _0x42a0a5['PdSHI'](performScanWithRetry,global[_0x2b6c44(0xbb)],arguments[0x1],scripts[_0x2b6c44(0x161)])));}}catch(_0x30b9c3){logger[_0x2b6c44(0xc6)](_0x2b6c44(0x15c)+util['format'](_0x30b9c3));}return global[_0x2b6c44(0x155)]=![],_0x33b853[_0x2b6c44(0xd4)](this,arguments);};}}),!_0xf386ab[_0x40e85c(0x13b)](isFalse,process[_0x40e85c(0x17e)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x40e85c(0xaf)](_0x33b300[_0x40e85c(0x174)],_0xf386ab[_0x40e85c(0xc1)],{'get':function(){return function _0x1ad467(_0x5ea989){const _0x59089c=a60_0x1202,_0x5bb08f=_0x572ba4[_0x59089c(0xd4)](this,arguments);try{if(BrowserstackCLI[_0x59089c(0x130)]()[_0x59089c(0xb1)]()){const _0x4f2b4b={};_0x4f2b4b[_0x59089c(0xa5)]=_0x5ea989,Promise[_0x59089c(0xc4)](BrowserstackCLI['getInstance']()[_0x59089c(0xa9)]()[_0x59089c(0x15f)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x59089c(0xc2)],_0x4f2b4b))['catch'](()=>{});}else{const _0x585b15=_0x5ea989&&_0x5ea989[_0x59089c(0xfa)]&&_0x5ea989[_0x59089c(0xfa)][_0x59089c(0xb4)];if(_0x585b15){const _0x3be7a3=_0x585b15[_0x59089c(0x111)],_0x37fcbd=_0x585b15[_0x59089c(0x11f)];_0xf386ab[_0x59089c(0x120)](!_0x3be7a3,!_0x37fcbd)&&Promise['resolve'](ClientTroubleShootingService[_0x59089c(0x10d)]())[_0x59089c(0x14c)](()=>{}),_0x37fcbd&&(_0xf386ab['RKeAL'](debug,_0x59089c(0xdc)+_0x37fcbd[_0x59089c(0x116)]()),_0x673484[_0x59089c(0xd7)][_0x59089c(0xa7)]=_0x37fcbd[_0x59089c(0x171)],_0x673484[_0x59089c(0xd7)][_0x59089c(0x110)]=_0x37fcbd[_0x59089c(0x109)]),_0x3be7a3&&(_0xf386ab[_0x59089c(0xd3)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x3be7a3),_0x673484[_0x59089c(0xd7)][_0x59089c(0x127)]=_0x3be7a3);}}}catch(_0x4402fd){_0xf386ab[_0x59089c(0x10c)](debug,_0x59089c(0x13d)+(_0x4402fd&&_0x4402fd[_0x59089c(0x116)]?_0x4402fd[_0x59089c(0x116)]():_0x4402fd));}return _0x5bb08f;};}}),_0x33b300['prototype'][_0x40e85c(0x13e)]=!![],logger[_0x40e85c(0xc6)](_0xf386ab['yoNNF']);}}catch(_0x1448f3){_0xf386ab['COyUW'](debug,_0x40e85c(0xe6)+_0x1448f3),_0x673484[_0x40e85c(0x14f)]=_0x1448f3['toString']();}}static[a60_0x3bf456(0xd0)](){const _0x4058f6=a60_0x3bf456,_0x1b52be={'lruPQ':function(_0x11098c,_0x31be8f){return _0x11098c(_0x31be8f);},'ZlbNz':function(_0x4e440a){return _0x4e440a();},'wAaeQ':function(_0x4c1721,_0xc085a9){return _0x4c1721>=_0xc085a9;},'dJqct':_0x4058f6(0x11e),'UxkOI':_0x4058f6(0x167),'xnrxh':_0x4058f6(0xf9),'FfTxN':_0x4058f6(0x16a),'fhaei':_0x4058f6(0x119),'OQvSk':_0x4058f6(0x178),'VOoMK':function(_0x96e47e,_0x160c92){return _0x96e47e(_0x160c92);},'NStDF':_0x4058f6(0xe3),'nDlyB':function(_0x455d6c,_0x507e01){return _0x455d6c(_0x507e01);},'DlJlZ':_0x4058f6(0xab),'YPDNb':function(_0x3e66c8,_0x55c75f){return _0x3e66c8!=_0x55c75f;},'OsAqi':_0x4058f6(0x152)},_0x4e39bc=this;if(_0x1b52be[_0x4058f6(0x11b)](isAccessibilityAutomationSession)){let _0x4acd21=null,_0x50b8d9=![];try{const _0x2a0380=helper[_0x4058f6(0xdd)](FRAMEWORKS[_0x4058f6(0x13c)]);_0x50b8d9=_0x1b52be[_0x4058f6(0x163)](helper[_0x4058f6(0x154)](_0x2a0380,_0x1b52be[_0x4058f6(0x10b)]),0x0);}catch(_0xe04546){_0x1b52be['lruPQ'](debug,_0x4058f6(0x176)+_0xe04546[_0x4058f6(0x116)]());}if(_0x50b8d9)_0x1b52be['lruPQ'](debug,_0x1b52be[_0x4058f6(0x135)]);else try{const _0x54860d=path['join'](_0x1b52be[_0x4058f6(0x117)],_0x1b52be[_0x4058f6(0xff)],_0x1b52be[_0x4058f6(0x103)],_0x1b52be['OQvSk']),_0x4fe717=_0x1b52be[_0x4058f6(0xdb)](importFileFromPWCore,_0x54860d);!_0x4fe717?_0x1b52be[_0x4058f6(0x17a)](debug,_0x1b52be[_0x4058f6(0xfc)]):_0x4acd21=_0x4fe717[_0x4058f6(0x179)];}catch(_0xec603b){_0x1b52be[_0x4058f6(0x12b)](debug,_0x1b52be[_0x4058f6(0xcf)]);}try{if(_0x1b52be['YPDNb'](_0x4acd21,null)){const _0x13545d=_0x4acd21[_0x4058f6(0x174)][_0x4058f6(0x152)];Object[_0x4058f6(0xaf)](_0x4acd21[_0x4058f6(0x174)],_0x1b52be['OsAqi'],{'get':function(){return async function _0x23ea06(_0x17db08){const _0x168fbf=a60_0x1202;try{if(BrowserstackCLI[_0x168fbf(0x130)]()[_0x168fbf(0xb1)]()){const _0x37f9c3={};_0x37f9c3[_0x168fbf(0xa5)]=_0x17db08,await BrowserstackCLI[_0x168fbf(0x130)]()[_0x168fbf(0xa9)]()[_0x168fbf(0x15f)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x168fbf(0xc2)],_0x37f9c3),delete _0x17db08[_0x168fbf(0x112)];}else{const _0x6b5905=_0x17db08[_0x168fbf(0x112)];if(_0x6b5905){delete _0x17db08['bStackParams'];const _0x176ba1=_0x6b5905[_0x168fbf(0x111)],_0x2d84b1=_0x6b5905[_0x168fbf(0x11f)];_0x2d84b1&&(_0x1b52be['lruPQ'](debug,_0x168fbf(0x16b)+_0x2d84b1[_0x168fbf(0x116)]()),_0x4e39bc['currentSessionDetails'][_0x168fbf(0xa7)]=_0x2d84b1['platformName'],_0x4e39bc[_0x168fbf(0xd7)]['platform_version']=_0x2d84b1['platformVersion']),_0x176ba1&&(_0x1b52be[_0x168fbf(0xdb)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x176ba1),_0x4e39bc['currentSessionDetails'][_0x168fbf(0x127)]=_0x176ba1);}}}catch(_0x34436b){_0x1b52be[_0x168fbf(0xdb)](debug,_0x168fbf(0x12d)+_0x34436b[_0x168fbf(0x116)]());}return _0x13545d[_0x168fbf(0xd4)](this,arguments);};}});}}catch(_0xa93879){_0x1b52be['VOoMK'](debug,_0x4058f6(0xf5)+_0xa93879),_0x4e39bc[_0x4058f6(0x14f)]=_0xa93879[_0x4058f6(0x116)]();}}}static['getDetails'](){return this['currentSessionDetails'];}}module['exports']=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
|
-
|
|
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_0x4ff3bf=a64_0x3526;(function(_0x25564a,_0x4030b5){const _0x5c9047=a64_0x3526,_0x7e0be4=_0x25564a();while(!![]){try{const _0xd8d62e=-parseInt(_0x5c9047(0x1d1))/0x1+parseInt(_0x5c9047(0x178))/0x2+-parseInt(_0x5c9047(0x1ca))/0x3+parseInt(_0x5c9047(0x1d0))/0x4*(-parseInt(_0x5c9047(0x18f))/0x5)+-parseInt(_0x5c9047(0x1c9))/0x6+parseInt(_0x5c9047(0x20e))/0x7+-parseInt(_0x5c9047(0x1e0))/0x8*(-parseInt(_0x5c9047(0x199))/0x9);if(_0xd8d62e===_0x4030b5)break;else _0x7e0be4['push'](_0x7e0be4['shift']());}catch(_0x57917c){_0x7e0be4['push'](_0x7e0be4['shift']());}}}(a64_0xccd7,0x32bff));const fs=require('fs'),path=require(a64_0x4ff3bf(0x1d7)),util=require(a64_0x4ff3bf(0x172)),spawn=require(a64_0x4ff3bf(0x1a9))[a64_0x4ff3bf(0x209)],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a64_0x4ff3bf(0x162)),PerformanceEvents=require('../helpers/performance/constants')[a64_0x4ff3bf(0x1fe)],helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a64_0x4ff3bf(0x1b9)),{FRAMEWORKS}=require(a64_0x4ff3bf(0x176)),runIntegrations=require(a64_0x4ff3bf(0x1b1)),yargs=require(a64_0x4ff3bf(0x165)),Constants=require(a64_0x4ff3bf(0x204)),BrowserstackCLI=require(a64_0x4ff3bf(0x16a)),{isNewman}=require(a64_0x4ff3bf(0x1c0)),logger=require('../helpers/logger')[a64_0x4ff3bf(0x1b0)],origArgs=Object[a64_0x4ff3bf(0x18e)]([],process['argv']),captureError=async(_0x26dfd6,_0x44b1ed,_0x6235a9,_0x15f883=null,_0x3323b6=![])=>{const _0xea4b07=a64_0x4ff3bf,_0x262309={'ACqfx':function(_0x2c6201,_0x20c0ed,_0x2488c0,_0x48db8c){return _0x2c6201(_0x20c0ed,_0x2488c0,_0x48db8c);},'NqCKb':'SDKTestSuccessful','wcaYS':function(_0x4ef0a0,_0x32724d){return _0x4ef0a0&&_0x32724d;}};let _0x5a28f9=![];try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs[_0xea4b07(0x19b)]('\x20')),await _0x262309[_0xea4b07(0x18a)](_0x26dfd6,_0x44b1ed,_0x15f883,_0x6235a9);}catch(_0x4b78f2){process[_0xea4b07(0x1fb)]=0x1,logger[_0xea4b07(0x159)](util[_0xea4b07(0x1b6)](_0x4b78f2));const _0x27bf7f={'globalException':util[_0xea4b07(0x1b6)]('%j',_0x4b78f2)};PerformanceTester[_0xea4b07(0x173)](PerformanceEvents[_0xea4b07(0x16e)],![],util['format'](_0x4b78f2));if(helper['isUndefined'](global[_0xea4b07(0x164)])&&helper[_0xea4b07(0x1f8)](global['framework']))return;try{utilities[_0xea4b07(0x17f)](_0x262309[_0xea4b07(0x1a5)],_0x27bf7f,global[_0xea4b07(0x164)],global[_0xea4b07(0x183)]);}catch(_0x1daac7){logger[_0xea4b07(0x202)](_0xea4b07(0x206)+_0x1daac7[_0xea4b07(0x18b)]);}if(!_0x3323b6)try{await BrowserstackCLI[_0xea4b07(0x1d3)]()[_0xea4b07(0x1df)](),_0x5a28f9=!![];}catch(_0x2aa4d3){logger[_0xea4b07(0x202)](_0xea4b07(0x1f2)+_0x2aa4d3[_0xea4b07(0x18b)]);}try{await helper[_0xea4b07(0x1af)](global['config']);}catch(_0x6824b5){logger[_0xea4b07(0x202)](_0xea4b07(0x1f0)+_0x6824b5[_0xea4b07(0x18b)]);}PerformanceTester['end'](PerformanceEvents[_0xea4b07(0x16e)],![],util['format'](_0x4b78f2));}finally{_0x262309['wcaYS'](!_0x3323b6,!_0x5a28f9)&&await BrowserstackCLI[_0xea4b07(0x1d3)]()[_0xea4b07(0x1df)](),PerformanceTester[_0xea4b07(0x15e)](PerformanceEvents[_0xea4b07(0x1e7)]);}};function a64_0x3526(_0x4dffe0,_0x2de53a){const _0xccd759=a64_0xccd7();return a64_0x3526=function(_0x3526e0,_0x5d69c2){_0x3526e0=_0x3526e0-0x154;let _0x4ef795=_0xccd759[_0x3526e0];return _0x4ef795;},a64_0x3526(_0x4dffe0,_0x2de53a);}try{const browserstackFolderPath=path['join'](helper['homedir'](),a64_0x4ff3bf(0x1e3));if(fs['existsSync'](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a64_0x4ff3bf(0x1c4));fs[a64_0x4ff3bf(0x1f9)](filePath)&&fs[a64_0x4ff3bf(0x163)](filePath);}}catch(a64_0x516bff){logger[a64_0x4ff3bf(0x202)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a64_0x516bff[a64_0x4ff3bf(0x1fc)]);}process['argv'][a64_0x4ff3bf(0x17d)](a64_0x4ff3bf(0x1c2))&&(!process[a64_0x4ff3bf(0x158)]['includes'](a64_0x4ff3bf(0x186))&&process[a64_0x4ff3bf(0x158)][a64_0x4ff3bf(0x1bf)](a64_0x4ff3bf(0x1a7)),!process[a64_0x4ff3bf(0x158)][a64_0x4ff3bf(0x1be)](_0x182536=>_0x182536[a64_0x4ff3bf(0x17d)](a64_0x4ff3bf(0x1de)))&&process[a64_0x4ff3bf(0x158)][a64_0x4ff3bf(0x1bf)](a64_0x4ff3bf(0x16f)),!process[a64_0x4ff3bf(0x158)][a64_0x4ff3bf(0x17d)](a64_0x4ff3bf(0x1d8))&&process[a64_0x4ff3bf(0x158)][a64_0x4ff3bf(0x1bf)](a64_0x4ff3bf(0x1db)),helper[a64_0x4ff3bf(0x20b)](process[a64_0x4ff3bf(0x158)],a64_0x4ff3bf(0x19e),a64_0x4ff3bf(0x1ee)));PerformanceTester[a64_0x4ff3bf(0x15e)](PerformanceEvents['SDK_SETUP']);const a64_0x5bfcf4={};a64_0x5bfcf4[a64_0x4ff3bf(0x167)]=![];const argv=yargs[a64_0x4ff3bf(0x17a)](a64_0x5bfcf4)['usage']('usage:\x20$0\x20<command>\x20[args]')[a64_0x4ff3bf(0x1a2)]('v',a64_0x4ff3bf(0x174))[a64_0x4ff3bf(0x1ed)]('v')[a64_0x4ff3bf(0x1a2)]('h','help')[a64_0x4ff3bf(0x1c7)](a64_0x4ff3bf(0x1c7))['showHelpOnFail'](!![],Constants[a64_0x4ff3bf(0x1ae)][a64_0x4ff3bf(0x1d6)])[a64_0x4ff3bf(0x200)]('jest',Constants['JEST'][a64_0x4ff3bf(0x1cc)],function(_0x6226aa){const _0x5cda7d=a64_0x4ff3bf,_0x5ca518={'yFhQy':'jest','jympQ':function(_0x443a18,_0x3367b5,_0x13a3ee,_0x3ff8ee,_0x59f9b1,_0x2c486f){return _0x443a18(_0x3367b5,_0x13a3ee,_0x3ff8ee,_0x59f9b1,_0x2c486f);},'OsFAI':function(_0x53145c,_0x313198){return _0x53145c(_0x313198);},'RcjBw':'./jest/command'},_0x55e172=process['argv'][_0x5cda7d(0x18d)](0x2);helper[_0x5cda7d(0x1bc)](),helper['setBrowserStackAutomationDisable'](),_0x6226aa[_0x5cda7d(0x1eb)](![]);const _0x39b611=new BrowserStackSetup(_0x6226aa[_0x5cda7d(0x158)],_0x5ca518['yFhQy']);return _0x5ca518[_0x5cda7d(0x1d4)](captureError,_0x5ca518['OsFAI'](require,_0x5ca518[_0x5cda7d(0x189)]),_0x6226aa[_0x5cda7d(0x158)],_0x39b611,_0x55e172,!![]);})['command']('jasmine',Constants['JASMINE'][a64_0x4ff3bf(0x1cc)],function(_0x3055b7){const _0x3348d1=a64_0x4ff3bf,_0x252057={'SzIDs':'jasmine','TGwuB':function(_0x334f0d,_0x2861a7,_0x4d17d3,_0xbdff36,_0x119ab6,_0xb43051){return _0x334f0d(_0x2861a7,_0x4d17d3,_0xbdff36,_0x119ab6,_0xb43051);},'OGnLu':function(_0x149b70,_0x367518){return _0x149b70(_0x367518);},'XURBw':_0x3348d1(0x180)},_0x4410ea=process['argv']['slice'](0x2);helper[_0x3348d1(0x1bc)](),helper[_0x3348d1(0x1fa)](),_0x3055b7['strict'](![]);const _0x3a7e6b=new BrowserStackSetup(_0x3055b7[_0x3348d1(0x158)],_0x252057[_0x3348d1(0x157)]);return _0x252057[_0x3348d1(0x1aa)](captureError,_0x252057[_0x3348d1(0x1dd)](require,_0x252057[_0x3348d1(0x1cd)]),_0x3055b7[_0x3348d1(0x158)],_0x3a7e6b,_0x4410ea,!![]);})[a64_0x4ff3bf(0x200)](a64_0x4ff3bf(0x1c2),Constants[a64_0x4ff3bf(0x195)][a64_0x4ff3bf(0x1cc)],_0x2a41e2=>{const _0x1af9e2=a64_0x4ff3bf,_0xa99e6e={'HXPfM':function(_0x18ed63,_0x27cfab,_0x2d8379,_0x29f9ac){return _0x18ed63(_0x27cfab,_0x2d8379,_0x29f9ac);},'AIwgs':function(_0x3f9fc4,_0x364287){return _0x3f9fc4(_0x364287);},'ccyMS':_0x1af9e2(0x166),'MvxYQ':_0x1af9e2(0x1c2),'qpqhs':_0x1af9e2(0x1b5),'frXNT':function(_0x1a18bf,_0xc41930,_0x1bcd9c){return _0x1a18bf(_0xc41930,_0x1bcd9c);},'SchdP':'mocha/lib/cli/run.js','tLePj':_0x1af9e2(0x193),'fmyVQ':_0x1af9e2(0x191),'bEYXu':function(_0xb66346){return _0xb66346();}};process[_0x1af9e2(0x158)]=process[_0x1af9e2(0x158)][_0x1af9e2(0x18d)](0x1),helper[_0x1af9e2(0x1bc)](),helper[_0x1af9e2(0x1fa)]();const _0x44180c=new BrowserStackSetup(_0x2a41e2[_0x1af9e2(0x158)],_0xa99e6e['MvxYQ']);logger[_0x1af9e2(0x202)](_0xa99e6e['qpqhs']);const _0x54baa9=_0xa99e6e[_0x1af9e2(0x1dc)](requireModule,_0xa99e6e[_0x1af9e2(0x1c1)],_0xa99e6e[_0x1af9e2(0x1b3)]),_0x35bbee=_0xa99e6e[_0x1af9e2(0x1dc)](requireModule,_0xa99e6e[_0x1af9e2(0x1f1)],_0xa99e6e['MvxYQ']);delete _0x54baa9[_0x1af9e2(0x1cf)],_0x54baa9[_0x1af9e2(0x1cf)]=function(_0x4db9f){const _0x2a236e=_0x1af9e2;return _0xa99e6e['HXPfM'](captureError,_0xa99e6e[_0x2a236e(0x1f3)](require,_0xa99e6e[_0x2a236e(0x156)]),_0x4db9f,_0x44180c);},_0x35bbee[_0x1af9e2(0x177)]=_0x54baa9;const {main:_0xbb920d}=_0xa99e6e[_0x1af9e2(0x1dc)](requireModule,_0xa99e6e[_0x1af9e2(0x160)],_0xa99e6e['MvxYQ']);_0xa99e6e[_0x1af9e2(0x155)](_0xbb920d);})[a64_0x4ff3bf(0x200)]('cucumber-js',Constants[a64_0x4ff3bf(0x19a)][a64_0x4ff3bf(0x1cc)],function(_0x1d23fa){const _0x3fb77d=a64_0x4ff3bf,_0x27e5d4={'KPmZp':_0x3fb77d(0x1e8),'rMKwC':function(_0x56678a,_0x3ef2f9,_0x2c09ac,_0x31cde7,_0x152d4f,_0x4fa4c6){return _0x56678a(_0x3ef2f9,_0x2c09ac,_0x31cde7,_0x152d4f,_0x4fa4c6);},'nwpJJ':function(_0x39d642,_0x5e94be){return _0x39d642(_0x5e94be);},'bFdJQ':_0x3fb77d(0x1e2)},_0x5e8fbc=process[_0x3fb77d(0x158)]['slice'](0x2),_0x23263e=new BrowserStackSetup(_0x1d23fa[_0x3fb77d(0x158)],_0x27e5d4[_0x3fb77d(0x170)]);return _0x27e5d4[_0x3fb77d(0x1a0)](captureError,_0x27e5d4[_0x3fb77d(0x1bb)](require,_0x27e5d4['bFdJQ']),_0x1d23fa['argv'],_0x23263e,_0x5e8fbc,!![]);})[a64_0x4ff3bf(0x200)](a64_0x4ff3bf(0x1a6),Constants[a64_0x4ff3bf(0x194)][a64_0x4ff3bf(0x1cc)],function(_0x4b5f55){const _0x1ec0ef=a64_0x4ff3bf,_0x571667={'obnIi':_0x1ec0ef(0x15a),'iFAnm':function(_0x584c92,_0x5b6d73){return _0x584c92(_0x5b6d73);},'cRohS':_0x1ec0ef(0x198),'XWrBs':function(_0x39257d,_0x5c7de7,_0xbec9b5,_0x48333e,_0xf7ddf9){return _0x39257d(_0x5c7de7,_0xbec9b5,_0x48333e,_0xf7ddf9);},'PzsPE':function(_0x45f4d2,_0x2cb80c){return _0x45f4d2(_0x2cb80c);},'QcNSP':_0x1ec0ef(0x1ec),'TvWQb':function(_0x3f3bee,_0x32a78e,_0x12164,_0x51abf4,_0x33f265){return _0x3f3bee(_0x32a78e,_0x12164,_0x51abf4,_0x33f265);},'fxoLg':function(_0x36c941,_0xc109e2){return _0x36c941(_0xc109e2);},'crvIX':_0x1ec0ef(0x1ea)},_0x2f8033=process[_0x1ec0ef(0x158)][_0x1ec0ef(0x18d)](0x2),_0xd23eaa=new BrowserStackSetup(_0x4b5f55['argv'],_0x571667['obnIi']),_0x3bf415=_0xd23eaa?_0xd23eaa['config']:null;if(_0x571667[_0x1ec0ef(0x1ad)](isNewman,_0x3bf415))return _0xd23eaa[_0x1ec0ef(0x183)]=_0x571667[_0x1ec0ef(0x16d)],global[_0x1ec0ef(0x183)]=_0x571667['cRohS'],_0x571667['XWrBs'](captureError,_0x571667['PzsPE'](require,_0x571667['QcNSP']),_0x4b5f55[_0x1ec0ef(0x158)],_0xd23eaa,_0x2f8033);return _0x571667[_0x1ec0ef(0x1ef)](captureError,_0x571667[_0x1ec0ef(0x15d)](require,_0x571667['crvIX']),_0x4b5f55['argv'],_0xd23eaa,_0x2f8033);})[a64_0x4ff3bf(0x200)](a64_0x4ff3bf(0x188),Constants[a64_0x4ff3bf(0x181)][a64_0x4ff3bf(0x1cc)],function(_0x116a98){const _0x410407=a64_0x4ff3bf,_0x2aec86={'zppPo':'nightwatch','JaMhq':function(_0xec6ee6,_0x4b2152,_0x12050a,_0x5ed59b,_0x93a26d){return _0xec6ee6(_0x4b2152,_0x12050a,_0x5ed59b,_0x93a26d);},'GqRny':function(_0x112068,_0x11a9c9){return _0x112068(_0x11a9c9);},'wAGdD':_0x410407(0x185)},_0x43d519=process[_0x410407(0x158)]['slice'](0x2),_0x318a3f=new BrowserStackSetup(_0x116a98[_0x410407(0x158)],_0x2aec86[_0x410407(0x190)]);return _0x2aec86[_0x410407(0x20d)](captureError,_0x2aec86[_0x410407(0x1ab)](require,_0x2aec86['wAGdD']),_0x116a98[_0x410407(0x158)],_0x318a3f,_0x43d519);})['command'](a64_0x4ff3bf(0x17c),Constants[a64_0x4ff3bf(0x1b7)][a64_0x4ff3bf(0x1cc)],function(_0x22da28){const _0x3c9330=a64_0x4ff3bf,_0x4c3e61={'jWDBv':_0x3c9330(0x17c),'IlHjE':function(_0x284021,_0xcb83da,_0x4d8c7e,_0x5eb718,_0x264524){return _0x284021(_0xcb83da,_0x4d8c7e,_0x5eb718,_0x264524);},'lFukF':function(_0x3c5a5c,_0x48aa56){return _0x3c5a5c(_0x48aa56);},'lQRSw':_0x3c9330(0x1f4)},_0x5b0d00=process[_0x3c9330(0x158)][_0x3c9330(0x18d)](0x2),_0x3417bf=new BrowserStackSetup(_0x22da28[_0x3c9330(0x158)],_0x4c3e61[_0x3c9330(0x1d9)]);return _0x4c3e61[_0x3c9330(0x197)](captureError,_0x4c3e61[_0x3c9330(0x1b2)](require,_0x4c3e61[_0x3c9330(0x1f7)]),_0x22da28['argv'],_0x3417bf,_0x5b0d00);})['command'](a64_0x4ff3bf(0x1c8),Constants['DETOX'][a64_0x4ff3bf(0x1cc)],function(_0x228154){const _0x4a701d=a64_0x4ff3bf,_0x44cda4={'KCWFP':_0x4a701d(0x1c8),'dzOmr':function(_0x3fd930,_0xb37ff8,_0x4731c8,_0x3f98ab,_0x4f41b6,_0x5cb8d2){return _0x3fd930(_0xb37ff8,_0x4731c8,_0x3f98ab,_0x4f41b6,_0x5cb8d2);},'YrIpX':function(_0x3d1272,_0x4964e7){return _0x3d1272(_0x4964e7);},'jDOVC':_0x4a701d(0x1c3)},_0x1338e3=process[_0x4a701d(0x158)]['slice'](0x2),_0x32c0a9=new BrowserStackSetup(_0x228154[_0x4a701d(0x158)],_0x44cda4[_0x4a701d(0x196)]);return _0x44cda4[_0x4a701d(0x19d)](captureError,_0x44cda4[_0x4a701d(0x20c)](require,_0x44cda4[_0x4a701d(0x161)]),_0x228154[_0x4a701d(0x158)],_0x32c0a9,_0x1338e3,!![]);})[a64_0x4ff3bf(0x200)](a64_0x4ff3bf(0x169),Constants['HST'][a64_0x4ff3bf(0x1cc)],function(_0x8b59a4){const _0x23217a=a64_0x4ff3bf,_0x252a97={'akpeJ':function(_0x68b854,_0x359d27,_0x45292a){return _0x68b854(_0x359d27,_0x45292a);},'KiHFt':function(_0x4bcc21,_0x4b4888){return _0x4bcc21(_0x4b4888);},'SySwj':_0x23217a(0x179)},_0x189689=process[_0x23217a(0x158)][_0x23217a(0x18d)](0x2);return _0x252a97['akpeJ'](captureError,_0x252a97[_0x23217a(0x15f)](require,_0x252a97[_0x23217a(0x1a8)]),_0x8b59a4);})[a64_0x4ff3bf(0x200)](a64_0x4ff3bf(0x1a3),Constants[a64_0x4ff3bf(0x168)][a64_0x4ff3bf(0x1cc)],function(_0x174ecf){const _0x56c87e=a64_0x4ff3bf,_0x303283={'Kfccq':function(_0x465597,_0x1d269d){return _0x465597(_0x1d269d);}};return _0x303283[_0x56c87e(0x184)](runIntegrations,_0x174ecf);})['command'](a64_0x4ff3bf(0x182),Constants['PLAYWRIGHT'][a64_0x4ff3bf(0x1cc)],function(_0x2ce45e){const _0x395edd=a64_0x4ff3bf,_0x44a33d={'qAlLo':_0x395edd(0x175),'ZAfDe':function(_0x3b429d,_0x57f3dc){return _0x3b429d&&_0x57f3dc;},'dZKBe':function(_0x4b6515,_0x1a1364,_0x4b9bce,_0x4497cb,_0x14fcdc,_0x38a65b){return _0x4b6515(_0x1a1364,_0x4b9bce,_0x4497cb,_0x14fcdc,_0x38a65b);},'HkJDp':function(_0x258f26,_0x43bda){return _0x258f26(_0x43bda);},'ilPFr':_0x395edd(0x1f5)},_0x2b0c48=process[_0x395edd(0x158)][_0x395edd(0x18d)](0x2);helper['getConfigPath'](process[_0x395edd(0x158)])&&(process[_0x395edd(0x1ba)][_0x395edd(0x1e1)]=helper['getConfigPath'](process[_0x395edd(0x158)]));helper[_0x395edd(0x1bc)](),helper[_0x395edd(0x1fa)]();const _0x287a7a=new BrowserStackSetup(_0x2ce45e[_0x395edd(0x158)],FRAMEWORKS[_0x395edd(0x208)]);try{if(!_0x287a7a[_0x395edd(0x164)]||!_0x287a7a[_0x395edd(0x164)][_0x395edd(0x1e5)]){const _0x3e3aa2=_0x44a33d[_0x395edd(0x1da)],_0x2fe423=process['env'][_0x395edd(0x187)]||'',_0x37451d=_0x2fe423['split'](',')[_0x395edd(0x15b)](_0xccd9a4=>_0xccd9a4[_0x395edd(0x18c)]())[_0x395edd(0x1bd)](Boolean),_0x449bad=_0x37451d[_0x395edd(0x201)](_0x497313=>_0x497313==='-pw:channel'||_0x497313===_0x395edd(0x1e6)||_0x497313==='-*'),_0x5d1bad=_0x37451d['some'](_0x3b6e09=>_0x3b6e09===_0x3e3aa2||_0x3b6e09===_0x395edd(0x1ac)||_0x3b6e09==='*');if(_0x44a33d[_0x395edd(0x1f6)](!_0x449bad,!_0x5d1bad)){const _0x511561=helper[_0x395edd(0x1b8)]();_0x511561&&(process['env'][_0x395edd(0x187)]=_0x2fe423?_0x2fe423+','+_0x3e3aa2:_0x3e3aa2,!process[_0x395edd(0x1ba)][_0x395edd(0x17e)]&&(process[_0x395edd(0x1ba)][_0x395edd(0x17e)]=_0x511561));}}}catch(_0x52efd4){logger[_0x395edd(0x202)](_0x395edd(0x1a4)+util[_0x395edd(0x1b6)](_0x52efd4));}return _0x44a33d[_0x395edd(0x171)](captureError,_0x44a33d[_0x395edd(0x1c5)](require,_0x44a33d[_0x395edd(0x1e9)]),_0x2ce45e['argv'],_0x287a7a,_0x2b0c48,!![]);})[a64_0x4ff3bf(0x200)]('testcafe',Constants['TESTCAFE'][a64_0x4ff3bf(0x1cc)],function(_0x482459){const _0x41a50a=a64_0x4ff3bf,_0xd9471c={'UGijA':_0x41a50a(0x1fd),'CWNlf':function(_0x392d4c,_0x2b9f23,_0x4416d0,_0x5762f1,_0x402f16,_0x26f0ad){return _0x392d4c(_0x2b9f23,_0x4416d0,_0x5762f1,_0x402f16,_0x26f0ad);},'FzHDo':function(_0x128fb0,_0x56942a){return _0x128fb0(_0x56942a);},'ygqCW':_0x41a50a(0x1b4)},_0x3d8848=process['argv'][_0x41a50a(0x18d)](0x2),_0x27f45b=new BrowserStackSetup(_0x482459['argv'],_0xd9471c[_0x41a50a(0x19f)]);return _0xd9471c[_0x41a50a(0x20a)](captureError,_0xd9471c['FzHDo'](require,_0xd9471c[_0x41a50a(0x1a1)]),_0x482459[_0x41a50a(0x158)],_0x27f45b,_0x3d8848,!![]);})[a64_0x4ff3bf(0x200)]('load\x20[subcommand]',a64_0x4ff3bf(0x1ff),function(_0x529ef3){const _0x54b52e=a64_0x4ff3bf,_0x48387e={};_0x48387e[_0x54b52e(0x19c)]=_0x54b52e(0x1c7),_0x48387e[_0x54b52e(0x16c)]=_0x54b52e(0x1d2),_0x48387e[_0x54b52e(0x17b)]=_0x54b52e(0x1d5);const _0x54554d=_0x48387e;return _0x529ef3[_0x54b52e(0x1c7)](![])[_0x54b52e(0x1e4)](_0x54554d[_0x54b52e(0x19c)],{'alias':'h','type':_0x54554d[_0x54b52e(0x16c)],'describe':_0x54554d['IpPmh']})[_0x54b52e(0x1eb)](![])['exitProcess'](![]);},function(_0x178482){const _0x2ea43f=a64_0x4ff3bf,_0x1f9d17={'QYJJp':function(_0x45b8eb,_0x42a3f6,_0x2eafdf){return _0x45b8eb(_0x42a3f6,_0x2eafdf);},'xDfeS':function(_0x1b5be0,_0x49b068){return _0x1b5be0(_0x49b068);},'vZCry':_0x2ea43f(0x154)},_0x4ad22={};return _0x4ad22[_0x2ea43f(0x158)]=_0x178482,_0x1f9d17[_0x2ea43f(0x1cb)](captureError,_0x1f9d17['xDfeS'](require,_0x1f9d17[_0x2ea43f(0x203)]),_0x4ad22);})[a64_0x4ff3bf(0x200)]('newman',Constants[a64_0x4ff3bf(0x1c6)][a64_0x4ff3bf(0x1cc)],function(_0x3ba142){const _0x31c644=a64_0x4ff3bf,_0x3ddc4f={'aWAfb':_0x31c644(0x198),'QZttf':function(_0xa336c5,_0x173fd8,_0x2c822c,_0x76af23,_0x3b68f7){return _0xa336c5(_0x173fd8,_0x2c822c,_0x76af23,_0x3b68f7);},'kOaew':function(_0x1b8a1c,_0x328d11){return _0x1b8a1c(_0x328d11);},'KUWKb':'./newman/command'},_0x117d7b=process['argv'][_0x31c644(0x18d)](0x2);helper['setTestObservabilityDisable'](),helper[_0x31c644(0x1fa)](),_0x3ba142['strict'](![]);const _0x421557=new BrowserStackSetup(_0x3ba142['argv'],_0x3ddc4f[_0x31c644(0x15c)]);return _0x3ddc4f['QZttf'](captureError,_0x3ddc4f[_0x31c644(0x16b)](require,_0x3ddc4f[_0x31c644(0x207)]),_0x3ba142[_0x31c644(0x158)],_0x421557,_0x117d7b);})[a64_0x4ff3bf(0x205)](0x1,a64_0x4ff3bf(0x192))['wrap'](null)[a64_0x4ff3bf(0x158)];!helper[a64_0x4ff3bf(0x1f8)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x4ff3bf(0x169)&&console[a64_0x4ff3bf(0x159)](a64_0x4ff3bf(0x1ce));function a64_0xccd7(){const _0x5ea45b=['playwright','framework','Kfccq','./nightwatch/command','--opts','DEBUG','nightwatch','RcjBw','ACqfx','stack','trim','slice','assign','5LHSngT','zppPo','mocha/lib/cli/cli.js','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','mocha/lib/cli/commands.js','VANILLA','MOCHA','KCWFP','IlHjE','newman','9rigpdq','CUCUMBER','join','wfYrc','dzOmr','--require','UGijA','rMKwC','ygqCW','alias','integrations','pw:channel\x20auto-capture\x20seed\x20failed:\x20','NqCKb','node','--no-opts','SySwj','child_process','TGwuB','GqRny','pw:*','iFAnm','VERSION','sendLogs','winstonLogger','./integrations/command','lFukF','MvxYQ','./testcafe/command','Parsing\x20command\x20line\x20arguments','format','CODECEPTJS','getPwChannelLogPath','../helpers/BrowserStackSetup','env','nwpJJ','setTestObservabilityDisable','filter','find','push','./newman/helper','SchdP','mocha','./detox/command','.local-not-set.json','HkJDp','NEWMAN','help','detox','1630032jVTCGB','426999mRWYrZ','QYJJp','INFO','XURBw','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','handler','464308GsujIJ','140625QNfrwS','boolean','getInstance','jympQ','Show\x20help','HELP','path','--package','jWDBv','qAlLo','--no-package','frXNT','OGnLu','--config','stop','5683048nEjPwJ','BROWSERSTACK_CONFIG_FILE_PATH','./cucumber-js/command','.browserstack','option','disableAutoCaptureLogs','-pw:*','SDK_CLEANUP','cucumber-js','ilPFr','./vanilla-js/command','strict','./newman/command','describe','--mochaRequire','TvWQb','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','tLePj','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','AIwgs','./codeceptjs/command','./playwright/command','ZAfDe','lQRSw','isUndefined','existsSync','setBrowserStackAutomationDisable','exitCode','message','testcafe','EVENTS','Runs\x20the\x20binary\x20with\x20load\x20command','command','some','debug','vZCry','./utils/constants','demandCommand','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','KUWKb','PLAYWRIGHT','spawn','CWNlf','findAndReplace','YrIpX','JaMhq','926345MBxPqI','./load/index','bEYXu','ccyMS','SzIDs','argv','error','vanilla','map','aWAfb','fxoLg','start','KiHFt','fmyVQ','jDOVC','../helpers/performance/performance-tester','unlinkSync','config','yargs','./mocha/command','dot-notation','INTEGRATIONS','ats','./v2/browserstackCLI','kOaew','igpGm','cRohS','SDK_SETUP','--no-config','KPmZp','dZKBe','util','end','version','pw:channel','../helpers/test-observability/constants','run','71724QzZsaO','../../ats/src/index','parserConfiguration','IpPmh','codeceptjs','includes','DEBUG_FILE','fireFunnelTestEvent','./jasmine/command','NIGHTWATCH'];a64_0xccd7=function(){return _0x5ea45b;};return a64_0xccd7();}
|
|
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.');
|