browserstack-node-sdk 1.65.1 → 1.65.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/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54_0x580d7c=a54_0x9bcd;(function(_0x16bd7c,_0x2fee78){const _0x536fbe=a54_0x9bcd,_0x413588=_0x16bd7c();while(!![]){try{const _0xd3c863=-parseInt(_0x536fbe(0x132))/0x1*(parseInt(_0x536fbe(0x154))/0x2)+-parseInt(_0x536fbe(0xf6))/0x3+parseInt(_0x536fbe(0x120))/0x4+-parseInt(_0x536fbe(0x119))/0x5+-parseInt(_0x536fbe(0x11d))/0x6*(-parseInt(_0x536fbe(0x13d))/0x7)+parseInt(_0x536fbe(0x14f))/0x8*(-parseInt(_0x536fbe(0x117))/0x9)+parseInt(_0x536fbe(0x129))/0xa;if(_0xd3c863===_0x2fee78)break;else _0x413588['push'](_0x413588['shift']());}catch(_0x57eab3){_0x413588['push'](_0x413588['shift']());}}}(a54_0xa37a,0x8a84b));const fs=require('fs'),path=require('path'),{TEMP_STORE_DIR_NAME}=require(a54_0x580d7c(0xf4)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a54_0x580d7c(0x14c))[a54_0x580d7c(0x139)],{getLogDir}=require(a54_0x580d7c(0x14c)),util=require(a54_0x580d7c(0x112)),helper=require(a54_0x580d7c(0x14d)),{deterministicTestUUID}=require(a54_0x580d7c(0xff));function a54_0x9bcd(_0x1bb02a,_0x4ec7f7){const _0xa37af8=a54_0xa37a();return a54_0x9bcd=function(_0x9bcdc0,_0x16bcd6){_0x9bcdc0=_0x9bcdc0-0xec;let _0x110464=_0xa37af8[_0x9bcdc0];return _0x110464;},a54_0x9bcd(_0x1bb02a,_0x4ec7f7);}class TestDetails{static [a54_0x580d7c(0x123)]={};static[a54_0x580d7c(0x138)](){const _0x4cd1fb=a54_0x580d7c;this[_0x4cd1fb(0x13a)]();const _0x35db9a={};_0x35db9a[_0x4cd1fb(0x113)]=!![],fs[_0x4cd1fb(0x151)](this[_0x4cd1fb(0x115)](),_0x35db9a);const _0x4e0cbf={};_0x4e0cbf[_0x4cd1fb(0x113)]=!![],fs['mkdirSync'](this[_0x4cd1fb(0x12c)](),_0x4e0cbf);}static[a54_0x580d7c(0x150)](){const _0x590103=a54_0x580d7c,_0x1c3391={};_0x1c3391['VfZie']=function(_0x24c04e,_0x52bcba){return _0x24c04e===_0x52bcba;},_0x1c3391['pLKeQ']=_0x590103(0x13b),_0x1c3391[_0x590103(0x105)]=function(_0x54a341,_0x23a34b){return _0x54a341===_0x23a34b;},_0x1c3391[_0x590103(0xf7)]='null',_0x1c3391[_0x590103(0xfd)]=_0x590103(0x14a);const _0xffe3b4=_0x1c3391,_0x5c946e=process[_0x590103(0x127)]['BS_TESTOPS_BUILD_HASHED_ID'];if(!_0x5c946e||_0xffe3b4[_0x590103(0xf1)](_0x5c946e,_0xffe3b4[_0x590103(0xec)])||_0xffe3b4[_0x590103(0x105)](_0x5c946e,_0xffe3b4[_0x590103(0xf7)]))return _0xffe3b4[_0x590103(0xfd)];return _0x5c946e;}static[a54_0x580d7c(0x109)](){const _0x1c8163=a54_0x580d7c,_0xf04ebc={};_0xf04ebc[_0x1c8163(0x13e)]=function(_0x463638,_0x9c895a){return _0x463638+_0x9c895a;};const _0x1a9e77=_0xf04ebc;return _0x1a9e77[_0x1c8163(0x13e)](_0x1a9e77['CJURZ'](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x1c8163(0x150)]());}static[a54_0x580d7c(0xef)](){const _0x287064=a54_0x580d7c,_0x5db34b={};_0x5db34b[_0x287064(0x133)]=function(_0x43d078,_0x24beeb){return _0x43d078+_0x24beeb;};const _0x3abd37=_0x5db34b;return path[_0x287064(0x13c)](_0x3abd37['wTnzz'](_0x3abd37[_0x287064(0x133)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x287064(0x150)]()));}static['getTraceZipDir'](){const _0x3e9751=a54_0x580d7c,_0x1fa271={};_0x1fa271[_0x3e9751(0x107)]=_0x3e9751(0xfa);const _0x5b636f=_0x1fa271;return path['join'](this[_0x3e9751(0xef)](),_0x5b636f[_0x3e9751(0x107)]);}static[a54_0x580d7c(0x115)](){const _0x513c74=a54_0x580d7c;return TestDetails[_0x513c74(0x109)]();}static[a54_0x580d7c(0x102)](_0x23eb20){const _0x50d049=a54_0x580d7c,_0xe16846={};_0xe16846[_0x50d049(0x137)]=function(_0x253a9b,_0x13f06e){return _0x253a9b+_0x13f06e;},_0xe16846[_0x50d049(0x10c)]=_0x50d049(0x121);const _0x44c734=_0xe16846;return path['join'](this['getDirPath'](),_0x44c734[_0x50d049(0x137)](_0x23eb20,_0x44c734[_0x50d049(0x10c)]));}static[a54_0x580d7c(0x148)](_0x1ffaf7){const _0x14bd72=a54_0x580d7c,_0x4cfdc6={};_0x4cfdc6[_0x14bd72(0x135)]=function(_0x535d61,_0x1e5c55){return _0x535d61+_0x1e5c55;};const _0x2f8e66=_0x4cfdc6;return _0x2f8e66['JezRz'](_0x2f8e66[_0x14bd72(0x135)](this[_0x14bd72(0xf2)](_0x1ffaf7),'-'),_0x1ffaf7[_0x14bd72(0x14e)]);}static[a54_0x580d7c(0xf3)](_0x255748){const _0x303f7c=a54_0x580d7c,_0x28874a={'yysJB':function(_0x18f45d,_0x15403a,_0x49df97){return _0x18f45d(_0x15403a,_0x49df97);},'rOuSu':_0x303f7c(0x11a),'lrNjT':_0x303f7c(0xee),'NEbjt':_0x303f7c(0xf0),'MiDFJ':'__projectId'};return _0x28874a[_0x303f7c(0x136)](nestedKeyValue,_0x255748,[_0x28874a['rOuSu'],_0x28874a[_0x303f7c(0x128)]])||_0x28874a[_0x303f7c(0x136)](nestedKeyValue,_0x255748,[_0x28874a[_0x303f7c(0x142)],_0x28874a['MiDFJ']]);}static[a54_0x580d7c(0xf2)](_0x2fe8fe){const _0x594cdc=a54_0x580d7c,_0x3aa0f7={'EOJEZ':function(_0x6e5b58,_0x4cab92,_0x539438){return _0x6e5b58(_0x4cab92,_0x539438);},'gHwSE':_0x594cdc(0x11a)};return _0x3aa0f7[_0x594cdc(0xfe)](nestedKeyValue,_0x2fe8fe,[_0x3aa0f7[_0x594cdc(0x14b)],'id'])||_0x2fe8fe[_0x594cdc(0x11c)];}static['getTestUUID'](_0x36c40f){const _0x100a85=a54_0x580d7c,_0x1ec860={'SKash':function(_0x55ad21,_0x248ee3){return _0x55ad21(_0x248ee3);},'nyOda':function(_0x2bfa45,_0xd80781){return _0x2bfa45===_0xd80781;},'GDlYZ':_0x100a85(0x149)},_0x3c3dd0=_0x1ec860[_0x100a85(0x106)](deterministicTestUUID,_0x36c40f);try{if(this[_0x100a85(0x123)][_0x36c40f]&&_0x1ec860['nyOda'](typeof this['tests'][_0x36c40f][_0x100a85(0x134)],_0x1ec860[_0x100a85(0x12f)]))return this[_0x100a85(0x123)][_0x36c40f]['uuid'];const _0x336c2f=this[_0x100a85(0x102)](_0x36c40f);try{if(_0x336c2f&&fs[_0x100a85(0xf5)](_0x336c2f)){const _0x3fc2d0=JSON[_0x100a85(0x103)](fs[_0x100a85(0x144)](_0x336c2f)[_0x100a85(0x12b)]());if(_0x3fc2d0&&_0x1ec860[_0x100a85(0x141)](typeof _0x3fc2d0[_0x100a85(0x134)],_0x1ec860['GDlYZ']))return this[_0x100a85(0x123)][_0x36c40f]=_0x3fc2d0,_0x3fc2d0[_0x100a85(0x134)];}}catch(_0x3a3ea4){logger[_0x100a85(0x110)](_0x100a85(0x11b)+_0x36c40f+_0x100a85(0x12e)+_0x3a3ea4[_0x100a85(0x101)]);}const _0x9e557d={};_0x9e557d[_0x100a85(0x134)]=_0x3c3dd0,this[_0x100a85(0x123)][_0x36c40f]=_0x9e557d;try{fs['writeFileSync'](_0x336c2f,JSON['stringify'](this[_0x100a85(0x123)][_0x36c40f]));}catch(_0x17819f){logger[_0x100a85(0x110)](_0x100a85(0x10d)+_0x36c40f+':\x20'+_0x17819f['message']);}return _0x3c3dd0;}catch(_0xa3ea81){return logger[_0x100a85(0x110)]('getTestUUID\x20error\x20for\x20'+_0x36c40f+_0x100a85(0x12e)+_0xa3ea81[_0x100a85(0x101)]),_0x3c3dd0;}}static[a54_0x580d7c(0x108)](_0x4fbd67){const _0x541511=a54_0x580d7c,_0x566b29=path['join'](this[_0x541511(0x115)](),_0x4fbd67+_0x541511(0x118));if(_0x566b29&&fs['existsSync'](_0x566b29))return fs[_0x541511(0x144)](_0x566b29)['toString']();}static['setAccessibilityPlatformValidation'](_0x16949f,_0xddb185){const _0x3bc533=a54_0x580d7c;try{const _0x346f8a=this[_0x3bc533(0x115)](),_0x4c1eb5={};_0x4c1eb5[_0x3bc533(0x113)]=!![],fs['mkdirSync'](_0x346f8a,_0x4c1eb5);const _0x23fbf5=path['join'](_0x346f8a,_0xddb185+_0x3bc533(0x118));fs['writeFileSync'](_0x23fbf5,_0x16949f[_0x3bc533(0x12b)]());}catch(_0x46baae){logger[_0x3bc533(0x110)]('Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20'+_0xddb185+':\x20'+(_0x46baae&&_0x46baae['message']));}}static['getIntegrations'](_0x5d05f7){const _0x83c786=a54_0x580d7c,_0xe07732=path[_0x83c786(0x13c)](this[_0x83c786(0x115)](),_0x5d05f7+_0x83c786(0x143));if(_0xe07732&&fs[_0x83c786(0xf5)](_0xe07732))try{return JSON['parse'](fs[_0x83c786(0x144)](_0xe07732)[_0x83c786(0x12b)]());}catch(_0xb2412c){return logger['debug'](_0x83c786(0x124)+_0x5d05f7+':\x20'+(_0xb2412c&&_0xb2412c[_0x83c786(0x101)])),null;}return null;}static['setIntegrations'](_0x256190,_0x17f1c9){const _0x1de6e0=a54_0x580d7c,_0x5d2038={};_0x5d2038[_0x1de6e0(0x11f)]=function(_0x46eed7,_0x31314e){return _0x46eed7||_0x31314e;};const _0x4529f2=_0x5d2038;if(_0x4529f2['BQQUm'](!_0x256190,!_0x17f1c9))return;try{const _0x420d12=this[_0x1de6e0(0x115)](),_0x2d14d9={};_0x2d14d9[_0x1de6e0(0x113)]=!![],fs[_0x1de6e0(0x151)](_0x420d12,_0x2d14d9);const _0x1a815c=path[_0x1de6e0(0x13c)](_0x420d12,_0x256190+_0x1de6e0(0x143));fs[_0x1de6e0(0x147)](_0x1a815c,JSON['stringify'](_0x17f1c9));}catch(_0x26655e){logger[_0x1de6e0(0x110)](_0x1de6e0(0x116)+_0x256190+':\x20'+(_0x26655e&&_0x26655e[_0x1de6e0(0x101)]));}}static[a54_0x580d7c(0x13a)](){const _0x21a475=a54_0x580d7c,_0x3661ea={};_0x3661ea[_0x21a475(0x113)]=!![],_0x3661ea[_0x21a475(0x146)]=!![],fs[_0x21a475(0xed)](this[_0x21a475(0x115)](),_0x3661ea);}static[a54_0x580d7c(0x11e)](_0x17db81){const _0x27cab2=a54_0x580d7c;if(this[_0x27cab2(0x123)][_0x17db81])return this[_0x27cab2(0x123)][_0x17db81];const _0x3741f4=this['getFilePath'](_0x17db81);if(_0x3741f4&&fs[_0x27cab2(0xf5)](_0x3741f4)){const _0x1687d6=JSON[_0x27cab2(0x103)](fs['readFileSync'](_0x3741f4)[_0x27cab2(0x12b)]());return this['tests'][_0x17db81]=_0x1687d6,_0x1687d6;}return{};}static[a54_0x580d7c(0x10f)](_0x59a3fc,_0x2dc3db){const _0xb4af43=a54_0x580d7c,_0x5621db=this[_0xb4af43(0x102)](_0x59a3fc);if(_0x5621db&&fs[_0xb4af43(0xf5)](_0x5621db)){const _0x3d07e2=JSON['parse'](fs['readFileSync'](_0x5621db)['toString']()),_0x3a8b46={..._0x3d07e2,..._0x2dc3db};this[_0xb4af43(0x123)][_0x59a3fc]=_0x3a8b46;}else this[_0xb4af43(0x123)][_0x59a3fc]=_0x2dc3db;fs['writeFileSync'](_0x5621db,this['tests'][_0x59a3fc]);}static[a54_0x580d7c(0x10a)](_0x596cfe){const _0x6c1dcc=a54_0x580d7c,_0x3a0c46={};_0x3a0c46[_0x6c1dcc(0x104)]=_0x6c1dcc(0x130);const _0x171788=_0x3a0c46;try{const _0x244228=process[_0x6c1dcc(0x131)],_0x1f2748=path[_0x6c1dcc(0x13c)](TestDetails[_0x6c1dcc(0x12c)](),_0x244228+_0x6c1dcc(0x122));let _0x12e3a5=[];_0x1f2748&&fs[_0x6c1dcc(0xf5)](_0x1f2748)&&(_0x12e3a5=JSON['parse'](fs[_0x6c1dcc(0x144)](_0x1f2748)[_0x6c1dcc(0x12b)]())),!_0x12e3a5[_0x6c1dcc(0x12a)](_0x18de6a=>_0x18de6a[_0x6c1dcc(0x140)]===_0x596cfe[_0x6c1dcc(0x140)])&&(_0x12e3a5[_0x6c1dcc(0x10e)](_0x596cfe),fs[_0x6c1dcc(0x147)](_0x1f2748,JSON[_0x6c1dcc(0xfc)](_0x12e3a5)));}catch(_0xc86b87){logger['error'](_0x171788[_0x6c1dcc(0x104)],_0xc86b87);}}static[a54_0x580d7c(0x114)](){const _0x2f7f35=a54_0x580d7c,_0x5a4797={};_0x5a4797[_0x2f7f35(0xf8)]=_0x2f7f35(0x122),_0x5a4797[_0x2f7f35(0xfb)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x3230f1=_0x5a4797,_0x365ff2=[];try{const _0x1bb30f=TestDetails[_0x2f7f35(0x12c)]();if(_0x1bb30f&&!fs['existsSync'](_0x1bb30f))return _0x365ff2;const _0x6ea9f6=fs[_0x2f7f35(0x126)](_0x1bb30f);_0x6ea9f6[_0x2f7f35(0x152)](_0x7ae431=>{const _0x50f795=_0x2f7f35;if(_0x7ae431&&_0x7ae431['endsWith'](_0x3230f1[_0x50f795(0xf8)])){const _0x56c30c=JSON[_0x50f795(0x103)](fs[_0x50f795(0x144)](path[_0x50f795(0x13c)](_0x1bb30f,_0x7ae431))[_0x50f795(0x12b)]());_0x365ff2[_0x50f795(0x10e)](..._0x56c30c);}});}catch(_0x5aaa02){logger['error'](util['format'](_0x3230f1[_0x2f7f35(0xfb)],_0x5aaa02));}const _0x4dcdec={};return _0x365ff2[_0x2f7f35(0x152)](_0x4ce60c=>{const _0x5067ba=_0x2f7f35;_0x4dcdec[_0x4ce60c[_0x5067ba(0x140)]]=_0x4ce60c;}),Object[_0x2f7f35(0x111)](_0x4dcdec);}static[a54_0x580d7c(0x12d)](_0x47e6c9,_0x55224f){const _0x1dde65=a54_0x580d7c,_0x19152a={};_0x19152a[_0x1dde65(0x10b)]='.browserstack',_0x19152a['ucNGM']='utf8';const _0x124bad=_0x19152a;try{const _0x5ececd=path[_0x1dde65(0x13c)](helper[_0x1dde65(0xf9)](),_0x124bad[_0x1dde65(0x10b)]);if(!fs[_0x1dde65(0xf5)](_0x5ececd)){const _0xb23275={};_0xb23275[_0x1dde65(0x113)]=!![],fs[_0x1dde65(0x151)](_0x5ececd,_0xb23275);}fs[_0x1dde65(0x100)](path[_0x1dde65(0x13c)](_0x5ececd,'trace_'+_0x55224f+_0x1dde65(0x13f)),_0x47e6c9+'\x0a',_0x124bad['ucNGM']);}catch(_0x594936){console[_0x1dde65(0x145)](_0x1dde65(0x125)+_0x594936[_0x1dde65(0x101)]);}}}function a54_0xa37a(){const _0x263ca6=['getTestIdFromTestInfo','getProjectIdFromTestInfo','../../../helpers/test-observability/constants','existsSync','2154261vNrrgo','EgKJh','uSfkD','homedir','traceZipPaths','qlQEJ','stringify','lerzX','EOJEZ','../../../helpers/test-observability/utils','appendFileSync','message','getFilePath','parse','ZxWqz','oobCH','SKash','FGZoq','getAccessibilityPlatformValidation','getStoreDirName','addTraceFilePath','mjqpl','zSIxC','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','push','setTestDetails','debug','values','util','recursive','getTraceFilePaths','getDirPath','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','3556503ZfVfJz','_platformDetails.json','464895zctZZG','_test','getTestUUID:\x20could\x20not\x20read\x20cached\x20uuid\x20for\x20','testId','954uQcrKk','getTestDetails','BQQUm','4035436maOhiR','.json','_traceZipPaths.json','tests','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','Error\x20writing\x20trace\x20file:\x20','readdirSync','env','lrNjT','4855950iztQZo','some','toString','getTraceZipDir','appendToTracePaths',',\x20using\x20deterministic\x20uuid:\x20','GDlYZ','Error\x20handling\x20trace\x20file\x20paths:\x20','pid','1huKXkZ','wTnzz','uuid','JezRz','yysJB','CIXps','setup','winstonLogger','shutdown','undefined','join','37359yFbRAm','CJURZ','.txt','filePath','nyOda','NEbjt','_integrations.json','readFileSync','error','force','writeFileSync','getTestRunIdFromTestInfo','string','default','gHwSE','../../../helpers/logger','../../../helpers/helper','retry','8IdQIzP','getStoreDirSuffix','mkdirSync','forEach','exports','1138866TBfiQY','pLKeQ','rmSync','_projectId','getStoreDirPath','project','VfZie'];a54_0xa37a=function(){return _0x263ca6;};return a54_0xa37a();}module[a54_0x580d7c(0x153)]=TestDetails;
|
|
1
|
+
const a54_0x5c46a4=a54_0x2522;function a54_0xc8cc(){const _0x61896f=['VMfFM','getTestRunIdFromTestInfo','UxMLg','../../../helpers/helper','utf8','endsWith','pBAPs','YZIGD','stringify','qiaUU','_integrations.json','env','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','BS_TESTOPS_BUILD_HASHED_ID','DGcVP','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','exports','tTIFy','uuid','421550LkZqno','getDirPath','appendFileSync','forEach','mkdirSync','24nsHsoB','existsSync','readFileSync','default','homedir','getAccessibilityPlatformValidation','setAccessibilityPlatformValidation','getStoreDirSuffix','project','__projectId','addTraceFilePath','Owhvw','setIntegrations','1894755QocXvx','toString','rmSync','.json','../../../helpers/logger','11asdXxa','format','push','GdPxh','winstonLogger','pid','trace_','some','WHWJN','tests','getProjectIdFromTestInfo','.txt','filePath','getStoreDirName','1115atXjku','getTestUUID','siiUD','values','util','qcXrr','getFilePath','cOjaW','traceZipPaths','WxEee','null','_traceZipPaths.json','rWpqS','qHwMk','4500330LUfMhq','writeFileSync','FCwrY','undefined','_test','njyrv','CNHAF','readdirSync','SUpAf','message','getTraceZipDir','testId','getStoreDirPath','parse','lMObM','672QMqFBu','error','64686nBGTuw','getTestDetails','shutdown','setTestDetails','ilohn','_platformDetails.json','4UNjuqN','NJFTR','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','getTestIdFromTestInfo','setup','2943027HGfyKJ','1458QFICJm','debug','SfMsP','join','recursive','919644eQgWWZ'];a54_0xc8cc=function(){return _0x61896f;};return a54_0xc8cc();}(function(_0x4a50d2,_0x87b92f){const _0x3a9f49=a54_0x2522,_0xad271b=_0x4a50d2();while(!![]){try{const _0x235fd1=-parseInt(_0x3a9f49(0xa6))/0x1*(-parseInt(_0x3a9f49(0xd1))/0x2)+-parseInt(_0x3a9f49(0x93))/0x3*(parseInt(_0x3a9f49(0xcb))/0x4)+-parseInt(_0x3a9f49(0x81))/0x5+parseInt(_0x3a9f49(0xc5))/0x6*(parseInt(_0x3a9f49(0xc3))/0x7)+parseInt(_0x3a9f49(0x86))/0x8*(-parseInt(_0x3a9f49(0xd0))/0x9)+parseInt(_0x3a9f49(0xb4))/0xa+parseInt(_0x3a9f49(0x98))/0xb*(-parseInt(_0x3a9f49(0x6d))/0xc);if(_0x235fd1===_0x87b92f)break;else _0xad271b['push'](_0xad271b['shift']());}catch(_0x90f741){_0xad271b['push'](_0xad271b['shift']());}}}(a54_0xc8cc,0x8000f));function a54_0x2522(_0x5a7ba0,_0xd3a38d){const _0xc8cc80=a54_0xc8cc();return a54_0x2522=function(_0x252209,_0x49f365){_0x252209=_0x252209-0x69;let _0x42bf34=_0xc8cc80[_0x252209];return _0x42bf34;},a54_0x2522(_0x5a7ba0,_0xd3a38d);}const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a54_0x5c46a4(0x80)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a54_0x5c46a4(0x97))[a54_0x5c46a4(0x9c)],{getLogDir}=require('../../../helpers/logger'),util=require(a54_0x5c46a4(0xaa)),helper=require(a54_0x5c46a4(0x71));class TestDetails{static [a54_0x5c46a4(0xa1)]={};static[a54_0x5c46a4(0xcf)](){const _0x3d173a=a54_0x5c46a4;this[_0x3d173a(0xc7)]();const _0xa93bf4={};_0xa93bf4[_0x3d173a(0x6c)]=!![],fs[_0x3d173a(0x85)](this[_0x3d173a(0x82)](),_0xa93bf4);const _0x1b4409={};_0x1b4409['recursive']=!![],fs[_0x3d173a(0x85)](this[_0x3d173a(0xbe)](),_0x1b4409);}static[a54_0x5c46a4(0x8d)](){const _0x408cdb=a54_0x5c46a4,_0x14409a={};_0x14409a[_0x408cdb(0xb3)]=function(_0x21aaeb,_0x439584){return _0x21aaeb===_0x439584;},_0x14409a['WHWJN']=_0x408cdb(0xb7),_0x14409a['WxEee']=function(_0x10c66f,_0x137055){return _0x10c66f===_0x137055;},_0x14409a[_0x408cdb(0x74)]=_0x408cdb(0xb0),_0x14409a[_0x408cdb(0xb9)]=_0x408cdb(0x89);const _0x5396e1=_0x14409a,_0xd0b1f2=process[_0x408cdb(0x79)][_0x408cdb(0x7b)];if(!_0xd0b1f2||_0x5396e1[_0x408cdb(0xb3)](_0xd0b1f2,_0x5396e1[_0x408cdb(0xa0)])||_0x5396e1[_0x408cdb(0xaf)](_0xd0b1f2,_0x5396e1[_0x408cdb(0x74)]))return _0x5396e1[_0x408cdb(0xb9)];return _0xd0b1f2;}static[a54_0x5c46a4(0xa5)](){const _0x1b6966=a54_0x5c46a4,_0x3aa86a={};_0x3aa86a[_0x1b6966(0x6a)]=function(_0x15c509,_0x326d60){return _0x15c509+_0x326d60;};const _0x4ee2fa=_0x3aa86a;return _0x4ee2fa[_0x1b6966(0x6a)](_0x4ee2fa['SfMsP'](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']());}static['getStoreDirPath'](){const _0x51877c=a54_0x5c46a4,_0x35af6f={};_0x35af6f[_0x51877c(0x7f)]=function(_0x94756a,_0x341e2d){return _0x94756a+_0x341e2d;};const _0x4c2016=_0x35af6f;return path[_0x51877c(0x6b)](_0x4c2016[_0x51877c(0x7f)](_0x4c2016[_0x51877c(0x7f)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x51877c(0x8d)]()));}static['getTraceZipDir'](){const _0x5020e9=a54_0x5c46a4,_0x349dde={};_0x349dde['lMObM']=_0x5020e9(0xae);const _0xc133e8=_0x349dde;return path[_0x5020e9(0x6b)](this[_0x5020e9(0xc0)](),_0xc133e8[_0x5020e9(0xc2)]);}static[a54_0x5c46a4(0x82)](){const _0x2d090d=a54_0x5c46a4;return TestDetails[_0x2d090d(0xa5)]();}static['getFilePath'](_0x3457c8){const _0x18d46d=a54_0x5c46a4,_0x554271={};_0x554271['VMfFM']=function(_0x46b762,_0xfc6f10){return _0x46b762+_0xfc6f10;},_0x554271[_0x18d46d(0xb2)]=_0x18d46d(0x96);const _0x8a6dbc=_0x554271;return path[_0x18d46d(0x6b)](this['getDirPath'](),_0x8a6dbc[_0x18d46d(0x6e)](_0x3457c8,_0x8a6dbc[_0x18d46d(0xb2)]));}static[a54_0x5c46a4(0x6f)](_0x44b4ea){const _0x592f8a=a54_0x5c46a4,_0x31e93a={};_0x31e93a[_0x592f8a(0x7c)]=function(_0x38b563,_0x323037){return _0x38b563+_0x323037;};const _0x17a1a7=_0x31e93a;return _0x17a1a7[_0x592f8a(0x7c)](_0x17a1a7['DGcVP'](this[_0x592f8a(0xce)](_0x44b4ea),'-'),_0x44b4ea['retry']);}static[a54_0x5c46a4(0xa2)](_0x291bc8){const _0x59825d=a54_0x5c46a4,_0x2fcfb0={'YZIGD':function(_0x3433d7,_0x20ef83,_0x5aae6e){return _0x3433d7(_0x20ef83,_0x5aae6e);},'Owhvw':'_test','ilohn':'_projectId','FCwrY':_0x59825d(0x8e),'SUpAf':_0x59825d(0x8f)};return _0x2fcfb0['YZIGD'](nestedKeyValue,_0x291bc8,[_0x2fcfb0[_0x59825d(0x91)],_0x2fcfb0[_0x59825d(0xc9)]])||_0x2fcfb0[_0x59825d(0x75)](nestedKeyValue,_0x291bc8,[_0x2fcfb0[_0x59825d(0xb6)],_0x2fcfb0[_0x59825d(0xbc)]]);}static['getTestIdFromTestInfo'](_0x69c344){const _0x44e8cb=a54_0x5c46a4,_0x2a0676={'UXNOk':function(_0x2f52c1,_0x2740be,_0x241b22){return _0x2f52c1(_0x2740be,_0x241b22);},'NJFTR':_0x44e8cb(0xb8)};return _0x2a0676['UXNOk'](nestedKeyValue,_0x69c344,[_0x2a0676[_0x44e8cb(0xcc)],'id'])||_0x69c344[_0x44e8cb(0xbf)];}static[a54_0x5c46a4(0xa7)](_0x4dbd29){const _0x5733ab=a54_0x5c46a4,_0x17974d={'eGOEL':function(_0xe94420,_0x3ff7e3){return _0xe94420===_0x3ff7e3;},'cOjaW':'string','siiUD':function(_0x107e81){return _0x107e81();}};if(this[_0x5733ab(0xa1)][_0x4dbd29]&&_0x17974d['eGOEL'](typeof this['tests'][_0x4dbd29][_0x5733ab(0x80)],_0x17974d[_0x5733ab(0xad)]))return this[_0x5733ab(0xa1)][_0x4dbd29][_0x5733ab(0x80)];const _0x2ab3d5=this[_0x5733ab(0xac)](_0x4dbd29);if(_0x2ab3d5&&fs[_0x5733ab(0x87)](_0x2ab3d5)){const _0x6f7c9=JSON['parse'](fs[_0x5733ab(0x88)](_0x2ab3d5)[_0x5733ab(0x94)]());return this[_0x5733ab(0xa1)][_0x4dbd29]=_0x6f7c9,this[_0x5733ab(0xa1)][_0x4dbd29][_0x5733ab(0x80)];}return this[_0x5733ab(0xa1)][_0x4dbd29]={'uuid':_0x17974d[_0x5733ab(0xa8)](uuidv4)},fs[_0x5733ab(0xb5)](_0x2ab3d5,JSON[_0x5733ab(0x76)](this['tests'][_0x4dbd29])),this[_0x5733ab(0xa1)][_0x4dbd29][_0x5733ab(0x80)];}static[a54_0x5c46a4(0x8b)](_0x2d6ebc){const _0x5e974a=a54_0x5c46a4,_0x2c690b=path['join'](this[_0x5e974a(0x82)](),_0x2d6ebc+_0x5e974a(0xca));if(_0x2c690b&&fs['existsSync'](_0x2c690b))return fs['readFileSync'](_0x2c690b)['toString']();}static[a54_0x5c46a4(0x8c)](_0x2fadee,_0x5197ec){const _0x56ef00=a54_0x5c46a4;try{const _0x1ae8d6=this['getDirPath'](),_0x531758={};_0x531758[_0x56ef00(0x6c)]=!![],fs[_0x56ef00(0x85)](_0x1ae8d6,_0x531758);const _0x353d60=path['join'](_0x1ae8d6,_0x5197ec+_0x56ef00(0xca));fs[_0x56ef00(0xb5)](_0x353d60,_0x2fadee['toString']());}catch(_0xde0c){logger['debug'](_0x56ef00(0x7a)+_0x5197ec+':\x20'+(_0xde0c&&_0xde0c[_0x56ef00(0xbd)]));}}static['getIntegrations'](_0x3e394f){const _0x55d782=a54_0x5c46a4,_0x5ca1b3=path[_0x55d782(0x6b)](this['getDirPath'](),_0x3e394f+_0x55d782(0x78));if(_0x5ca1b3&&fs[_0x55d782(0x87)](_0x5ca1b3))try{return JSON['parse'](fs[_0x55d782(0x88)](_0x5ca1b3)[_0x55d782(0x94)]());}catch(_0x2477da){return logger[_0x55d782(0x69)](_0x55d782(0x7d)+_0x3e394f+':\x20'+(_0x2477da&&_0x2477da[_0x55d782(0xbd)])),null;}return null;}static[a54_0x5c46a4(0x92)](_0x4846a4,_0x435ded){const _0xfbde81=a54_0x5c46a4,_0x3fcf11={};_0x3fcf11['qcXrr']=function(_0x455e7e,_0x27aafe){return _0x455e7e||_0x27aafe;};const _0x38c87b=_0x3fcf11;if(_0x38c87b[_0xfbde81(0xab)](!_0x4846a4,!_0x435ded))return;try{const _0x1de35c=this[_0xfbde81(0x82)](),_0x3e5bf8={};_0x3e5bf8['recursive']=!![],fs[_0xfbde81(0x85)](_0x1de35c,_0x3e5bf8);const _0x2fd6f4=path['join'](_0x1de35c,_0x4846a4+'_integrations.json');fs[_0xfbde81(0xb5)](_0x2fd6f4,JSON[_0xfbde81(0x76)](_0x435ded));}catch(_0x55b6f9){logger[_0xfbde81(0x69)](_0xfbde81(0xcd)+_0x4846a4+':\x20'+(_0x55b6f9&&_0x55b6f9['message']));}}static[a54_0x5c46a4(0xc7)](){const _0x2d125c=a54_0x5c46a4,_0x2ecb8b={};_0x2ecb8b[_0x2d125c(0x6c)]=!![],_0x2ecb8b['force']=!![],fs[_0x2d125c(0x95)](this[_0x2d125c(0x82)](),_0x2ecb8b);}static[a54_0x5c46a4(0xc6)](_0x4fa076){const _0x5ae6f2=a54_0x5c46a4;if(this['tests'][_0x4fa076])return this['tests'][_0x4fa076];const _0x1b32b4=this[_0x5ae6f2(0xac)](_0x4fa076);if(_0x1b32b4&&fs['existsSync'](_0x1b32b4)){const _0x514f59=JSON[_0x5ae6f2(0xc1)](fs[_0x5ae6f2(0x88)](_0x1b32b4)['toString']());return this['tests'][_0x4fa076]=_0x514f59,_0x514f59;}return{};}static[a54_0x5c46a4(0xc8)](_0x1c553a,_0x95503f){const _0x4d7fdf=a54_0x5c46a4,_0x32091e=this['getFilePath'](_0x1c553a);if(_0x32091e&&fs[_0x4d7fdf(0x87)](_0x32091e)){const _0x1ea35c=JSON[_0x4d7fdf(0xc1)](fs[_0x4d7fdf(0x88)](_0x32091e)[_0x4d7fdf(0x94)]()),_0x2959c1={..._0x1ea35c,..._0x95503f};this[_0x4d7fdf(0xa1)][_0x1c553a]=_0x2959c1;}else this['tests'][_0x1c553a]=_0x95503f;fs[_0x4d7fdf(0xb5)](_0x32091e,this[_0x4d7fdf(0xa1)][_0x1c553a]);}static[a54_0x5c46a4(0x90)](_0x4cc91b){const _0x4278be=a54_0x5c46a4,_0x18e6c6={};_0x18e6c6['qiaUU']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0xe5feaa=_0x18e6c6;try{const _0x3eca7d=process[_0x4278be(0x9d)],_0x4bf497=path[_0x4278be(0x6b)](TestDetails[_0x4278be(0xbe)](),_0x3eca7d+_0x4278be(0xb1));let _0x1c1142=[];_0x4bf497&&fs[_0x4278be(0x87)](_0x4bf497)&&(_0x1c1142=JSON['parse'](fs[_0x4278be(0x88)](_0x4bf497)[_0x4278be(0x94)]())),!_0x1c1142[_0x4278be(0x9f)](_0x213481=>_0x213481[_0x4278be(0xa4)]===_0x4cc91b['filePath'])&&(_0x1c1142[_0x4278be(0x9a)](_0x4cc91b),fs['writeFileSync'](_0x4bf497,JSON[_0x4278be(0x76)](_0x1c1142)));}catch(_0x2059ee){logger[_0x4278be(0xc4)](_0xe5feaa[_0x4278be(0x77)],_0x2059ee);}}static['getTraceFilePaths'](){const _0x9dae1a=a54_0x5c46a4,_0x560785={};_0x560785['jbTbp']=_0x9dae1a(0xb1),_0x560785[_0x9dae1a(0xba)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x475ca0=_0x560785,_0x257ba0=[];try{const _0x5cb5e2=TestDetails['getTraceZipDir']();if(_0x5cb5e2&&!fs[_0x9dae1a(0x87)](_0x5cb5e2))return _0x257ba0;const _0x2b348f=fs[_0x9dae1a(0xbb)](_0x5cb5e2);_0x2b348f[_0x9dae1a(0x84)](_0x2ee716=>{const _0x227eb6=_0x9dae1a;if(_0x2ee716&&_0x2ee716[_0x227eb6(0x73)](_0x475ca0['jbTbp'])){const _0xd63d95=JSON[_0x227eb6(0xc1)](fs[_0x227eb6(0x88)](path[_0x227eb6(0x6b)](_0x5cb5e2,_0x2ee716))['toString']());_0x257ba0[_0x227eb6(0x9a)](..._0xd63d95);}});}catch(_0x5a941a){logger[_0x9dae1a(0xc4)](util[_0x9dae1a(0x99)](_0x475ca0[_0x9dae1a(0xba)],_0x5a941a));}const _0x3fd657={};return _0x257ba0[_0x9dae1a(0x84)](_0x9df300=>{const _0x5c75b7=_0x9dae1a;_0x3fd657[_0x9df300[_0x5c75b7(0xa4)]]=_0x9df300;}),Object[_0x9dae1a(0xa9)](_0x3fd657);}static['appendToTracePaths'](_0x461953,_0x3ccbb2){const _0x1c7f12=a54_0x5c46a4,_0x3d13bb={};_0x3d13bb[_0x1c7f12(0x9b)]='.browserstack',_0x3d13bb['UxMLg']=_0x1c7f12(0x72);const _0x12a8cb=_0x3d13bb;try{const _0x442a74=path['join'](helper[_0x1c7f12(0x8a)](),_0x12a8cb[_0x1c7f12(0x9b)]);if(!fs[_0x1c7f12(0x87)](_0x442a74)){const _0x1cc9ab={};_0x1cc9ab[_0x1c7f12(0x6c)]=!![],fs[_0x1c7f12(0x85)](_0x442a74,_0x1cc9ab);}fs[_0x1c7f12(0x83)](path[_0x1c7f12(0x6b)](_0x442a74,_0x1c7f12(0x9e)+_0x3ccbb2+_0x1c7f12(0xa3)),_0x461953+'\x0a',_0x12a8cb[_0x1c7f12(0x70)]);}catch(_0x4def54){console['error']('Error\x20writing\x20trace\x20file:\x20'+_0x4def54[_0x1c7f12(0xbd)]);}}}module[a54_0x5c46a4(0x7e)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a55_0x23ba(){const _0x429e02=['find','win32','string','split','qaUwa','3378hVFASn','mergeBrowserstackReporterIntoCliReporterFlag','UgZJN','../../helpers/logger','lRaDj','dVBPw','slice','154971ZtCkcs','Vqjyz','1336415KzPBvd','BeDRl','join','gCEoG','ZpKoX','warn','1731652bjKqzg','GymDo','2ZynRhB','Rqwnq','path','XdkaE','flagIdx','nBFqK','length','trim','debug','30gCvAik','winstonLogger','startsWith','1792sJVhKr','324526ZIYRbd','[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.','resolve','454003yByFip','rjgOj','iHWgN','[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20','cRlcp','platform','bCncJ','204588lceaAx','[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20','RbbVI','104OHdXVx','aGSMB','includes','pjoZq','prefix','KfEcd','BROWSERSTACK_PW_REPORTER_PATH'];a55_0x23ba=function(){return _0x429e02;};return a55_0x23ba();}function a55_0x2a7b(_0x199b38,_0x1c1d93){const _0x23ba6a=a55_0x23ba();return a55_0x2a7b=function(_0x2a7b2b,_0x3fc48c){_0x2a7b2b=_0x2a7b2b-0x1eb;let _0x3976d2=_0x23ba6a[_0x2a7b2b];return _0x3976d2;},a55_0x2a7b(_0x199b38,_0x1c1d93);}const a55_0xd9d042=a55_0x2a7b;(function(_0x1ed146,_0x4d0adf){const _0x5edd19=a55_0x2a7b,_0x13af65=_0x1ed146();while(!![]){try{const _0x350ad3=-parseInt(_0x5edd19(0x1f5))/0x1*(-parseInt(_0x5edd19(0x202))/0x2)+parseInt(_0x5edd19(0x1eb))/0x3+-parseInt(_0x5edd19(0x1f3))/0x4+-parseInt(_0x5edd19(0x1ed))/0x5+parseInt(_0x5edd19(0x21b))/0x6*(parseInt(_0x5edd19(0x201))/0x7)+parseInt(_0x5edd19(0x20f))/0x8*(parseInt(_0x5edd19(0x20c))/0x9)+-parseInt(_0x5edd19(0x1fe))/0xa*(-parseInt(_0x5edd19(0x205))/0xb);if(_0x350ad3===_0x4d0adf)break;else _0x13af65['push'](_0x13af65['shift']());}catch(_0x5084bb){_0x13af65['push'](_0x13af65['shift']());}}}(a55_0x23ba,0x3a75a));const path=require(a55_0xd9d042(0x1f7)),{format}=require('util'),logger=require(a55_0xd9d042(0x21e))[a55_0xd9d042(0x1ff)],BROWSERSTACK_PW_REPORTER_PATH=path[a55_0xd9d042(0x1ef)](__dirname,'./reporter/reporter.js'),INLINE_PREFIXES=['--reporter='],BARE_FLAGS=['--reporter'],stripQuotes=_0x3b99cf=>{const _0x264e8e=a55_0xd9d042,_0x344b1a={'kfwwK':function(_0x39ed36,_0x99765b){return _0x39ed36(_0x99765b);},'XdkaE':function(_0x1249e2,_0x2e13a7){return _0x1249e2>=_0x2e13a7;},'UgZJN':function(_0x181683,_0xa6b818){return _0x181683-_0xa6b818;},'ZpKoX':function(_0x2d6a5d,_0x5e16e1){return _0x2d6a5d===_0x5e16e1;},'qaUwa':function(_0x57b6bd,_0x55fc7a){return _0x57b6bd===_0x55fc7a;},'mCupm':function(_0x30f349,_0xc937b1){return _0x30f349===_0xc937b1;}},_0x523b7e=_0x344b1a['kfwwK'](String,_0x3b99cf);if(_0x344b1a[_0x264e8e(0x1f8)](_0x523b7e[_0x264e8e(0x1fb)],0x2)){const _0x3825dd=_0x523b7e[0x0],_0x4c064f=_0x523b7e[_0x344b1a[_0x264e8e(0x21d)](_0x523b7e[_0x264e8e(0x1fb)],0x1)];if(_0x344b1a['ZpKoX'](_0x3825dd,'\x22')&&_0x344b1a[_0x264e8e(0x1f1)](_0x4c064f,'\x22')||_0x344b1a[_0x264e8e(0x21a)](_0x3825dd,'\x27')&&_0x344b1a['mCupm'](_0x4c064f,'\x27'))return _0x523b7e[_0x264e8e(0x221)](0x1,-0x1);}return _0x523b7e;},resolveQuietly=_0x436116=>{const _0x442c9a=a55_0xd9d042;try{return path[_0x442c9a(0x204)](_0x436116);}catch(_0x42e592){return null;}},renderValue=(_0x4740b8,_0x1ee13a)=>{const _0x3d202d=a55_0xd9d042,_0x10e528={};_0x10e528[_0x3d202d(0x1f6)]=function(_0x69e1b5,_0x50f851){return _0x69e1b5===_0x50f851;},_0x10e528[_0x3d202d(0x207)]=_0x3d202d(0x217);const _0x214a9a=_0x10e528,_0x871c12=_0x4740b8[_0x3d202d(0x1ef)](',');return _0x214a9a['Rqwnq'](_0x1ee13a,_0x214a9a[_0x3d202d(0x207)])?'\x22'+_0x871c12+'\x22':_0x871c12;},buildMergedList=(_0x1e4278,_0x4e9332)=>{const _0x35ba6a=a55_0xd9d042,_0x42899c={'KfEcd':function(_0xbe6cce,_0x3b50c2){return _0xbe6cce(_0x3b50c2);},'dVBPw':function(_0x5eb7b4,_0x5a1f5d){return _0x5eb7b4===_0x5a1f5d;},'pjoZq':function(_0x45d8cc,_0x499eb9){return _0x45d8cc(_0x499eb9);}};if(_0x42899c[_0x35ba6a(0x214)](String,_0x4e9332)[_0x35ba6a(0x211)](','))return null;const _0xe471cc=_0x42899c[_0x35ba6a(0x214)](stripQuotes,_0x1e4278)[_0x35ba6a(0x219)](',')['map'](_0x3ff4ac=>_0x3ff4ac[_0x35ba6a(0x1fc)]())['filter'](_0xaee71b=>_0xaee71b[_0x35ba6a(0x1fb)]>0x0);if(_0x42899c[_0x35ba6a(0x220)](_0xe471cc[_0x35ba6a(0x1fb)],0x0))return null;const _0x14632a=_0x42899c[_0x35ba6a(0x212)](resolveQuietly,_0x4e9332),_0x1c4d3d=_0xe471cc['some'](_0x215ebe=>_0x215ebe===_0x4e9332||_0x14632a!==null&&resolveQuietly(_0x215ebe)===_0x14632a);return!_0x1c4d3d&&_0xe471cc['push'](_0x4e9332),_0xe471cc;},findLastReporterFlag=_0x11a6b0=>{const _0x385d36=a55_0xd9d042,_0x2465f2={};_0x2465f2['rjgOj']=function(_0x4ab5b8,_0x581a14){return _0x4ab5b8-_0x581a14;},_0x2465f2[_0x385d36(0x1f4)]=function(_0x30c5b9,_0x123ed7){return _0x30c5b9>=_0x123ed7;},_0x2465f2[_0x385d36(0x1fa)]=function(_0x34f8d2,_0x5570ef){return _0x34f8d2!==_0x5570ef;},_0x2465f2['gCEoG']=_0x385d36(0x218);const _0x413d92=_0x2465f2;for(let _0x150833=_0x413d92[_0x385d36(0x206)](_0x11a6b0[_0x385d36(0x1fb)],0x1);_0x413d92[_0x385d36(0x1f4)](_0x150833,0x0);_0x150833--){const _0x145069=_0x11a6b0[_0x150833];if(_0x413d92['nBFqK'](typeof _0x145069,_0x413d92[_0x385d36(0x1f0)]))continue;const _0x1bef94=INLINE_PREFIXES[_0x385d36(0x216)](_0x4b52e7=>_0x145069['startsWith'](_0x4b52e7));if(_0x1bef94){const _0x3c20b2={};return _0x3c20b2[_0x385d36(0x1f9)]=_0x150833,_0x3c20b2['prefix']=_0x1bef94,_0x3c20b2;}if(BARE_FLAGS[_0x385d36(0x211)](_0x145069)){const _0x5d8c83={};return _0x5d8c83[_0x385d36(0x1f9)]=_0x150833,_0x5d8c83[_0x385d36(0x213)]=null,_0x5d8c83;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x379e2f,_0x111cc4={})=>{const _0x1feec3=a55_0xd9d042,_0x3b6523={'Vqjyz':function(_0x46afe6,_0x38076f){return _0x46afe6===_0x38076f;},'aGSMB':function(_0x4eef95,_0x3b1834){return _0x4eef95(_0x3b1834);},'bCncJ':function(_0x371e1f,_0xeafee9){return _0x371e1f===_0xeafee9;},'BeDRl':function(_0x5b301e,_0xd015d0){return _0x5b301e+_0xd015d0;},'RbbVI':function(_0x8870e6,_0x70a32c){return _0x8870e6>=_0x70a32c;},'XaRkv':function(_0x549d7a,_0x424959){return _0x549d7a!==_0x424959;},'lRaDj':_0x1feec3(0x218),'AOYUO':function(_0x1f6bd3,_0x51ee6b,_0x5cd4c4){return _0x1f6bd3(_0x51ee6b,_0x5cd4c4);},'ojYqu':function(_0x5d36ae,_0x195660,_0x1adffe){return _0x5d36ae(_0x195660,_0x1adffe);},'cRlcp':_0x1feec3(0x203)};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0x1feec3(0x20a)]}=_0x111cc4;if(_0x3b6523[_0x1feec3(0x1ec)](enabled,![]))return;if(!Array['isArray'](_0x379e2f))return;const _0x3d37b1=_0x3b6523[_0x1feec3(0x210)](findLastReporterFlag,_0x379e2f);if(_0x3b6523[_0x1feec3(0x20b)](_0x3d37b1,null))return;let _0x5c0b4c,_0x53524f;if(_0x3d37b1[_0x1feec3(0x213)])_0x5c0b4c=_0x3d37b1['flagIdx'],_0x53524f=_0x379e2f[_0x3d37b1[_0x1feec3(0x1f9)]][_0x1feec3(0x221)](_0x3d37b1[_0x1feec3(0x213)][_0x1feec3(0x1fb)]);else{_0x5c0b4c=_0x3b6523[_0x1feec3(0x1ee)](_0x3d37b1[_0x1feec3(0x1f9)],0x1);if(_0x3b6523[_0x1feec3(0x20e)](_0x5c0b4c,_0x379e2f[_0x1feec3(0x1fb)])||_0x3b6523['XaRkv'](typeof _0x379e2f[_0x5c0b4c],_0x3b6523[_0x1feec3(0x21f)])||_0x379e2f[_0x5c0b4c][_0x1feec3(0x200)]('-'))return;_0x53524f=_0x379e2f[_0x5c0b4c];}const _0x1892bc=_0x3b6523['AOYUO'](buildMergedList,_0x53524f,reporterPath);if(_0x3b6523[_0x1feec3(0x20b)](_0x1892bc,null))return;const _0x130209=_0x3b6523['ojYqu'](renderValue,_0x1892bc,platform);_0x379e2f[_0x5c0b4c]=_0x3d37b1[_0x1feec3(0x213)]?''+_0x3d37b1['prefix']+_0x130209:_0x130209,logger[_0x1feec3(0x1f2)](_0x3b6523[_0x1feec3(0x209)]),logger['debug'](_0x1feec3(0x208)+_0x379e2f[_0x5c0b4c]);}catch(_0x45277d){logger[_0x1feec3(0x1fd)](_0x1feec3(0x20d)+_0x3b6523[_0x1feec3(0x210)](format,_0x45277d));}},a55_0x26e0e9={};a55_0x26e0e9[a55_0xd9d042(0x21c)]=mergeBrowserstackReporterIntoCliReporterFlag,a55_0x26e0e9[a55_0xd9d042(0x215)]=BROWSERSTACK_PW_REPORTER_PATH,module['exports']=a55_0x26e0e9;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a56_0x1a9411=a56_0x32ae;(function(_0x5f0529,_0x475463){const _0x31ccd0=a56_0x32ae,_0x2dd6f5=_0x5f0529();while(!![]){try{const _0x3fa2d7=-parseInt(_0x31ccd0(0x132))/0x1+parseInt(_0x31ccd0(0x10d))/0x2*(-parseInt(_0x31ccd0(0x156))/0x3)+-parseInt(_0x31ccd0(0xde))/0x4*(-parseInt(_0x31ccd0(0x10c))/0x5)+-parseInt(_0x31ccd0(0x19a))/0x6+-parseInt(_0x31ccd0(0x19d))/0x7*(parseInt(_0x31ccd0(0x15a))/0x8)+-parseInt(_0x31ccd0(0x163))/0x9+parseInt(_0x31ccd0(0x17c))/0xa*(parseInt(_0x31ccd0(0xea))/0xb);if(_0x3fa2d7===_0x475463)break;else _0x2dd6f5['push'](_0x2dd6f5['shift']());}catch(_0x5189bf){_0x2dd6f5['push'](_0x2dd6f5['shift']());}}}(a56_0x264e,0xc14b0));const path=require('path'),url=require(a56_0x1a9411(0xe8)),util=require(a56_0x1a9411(0x166)),helper=require(a56_0x1a9411(0x1a5)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a56_0x1a9411(0x18f)),{debug,getPlatformDetails}=require(a56_0x1a9411(0xdf)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{FRAMEWORKS}=require(a56_0x1a9411(0x1a9)),logger=require('../../helpers/logger')['winstonLogger'],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a56_0x1a9411(0x182)),constants=require('../utils/constants'),BrowserstackCLI=require(a56_0x1a9411(0x176)),AutomationFrameworkState=require(a56_0x1a9411(0x196)),HookState=require(a56_0x1a9411(0xdd)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a56_0x1a9411(0x16b)),getBrowserNameFromChannel=_0x2ee32e=>{const _0x325fac=a56_0x1a9411,_0x2898c1={};_0x2898c1[_0x325fac(0x114)]=_0x325fac(0x131),_0x2898c1[_0x325fac(0x11b)]=_0x325fac(0x181),_0x2898c1['mHdYz']='safari',_0x2898c1[_0x325fac(0x167)]=function(_0x44729d,_0x1a9929){return _0x44729d!==_0x1a9929;},_0x2898c1[_0x325fac(0xe0)]=_0x325fac(0xef),_0x2898c1[_0x325fac(0x165)]=_0x325fac(0x16c),_0x2898c1[_0x325fac(0x158)]=_0x325fac(0xda),_0x2898c1[_0x325fac(0xfe)]=_0x325fac(0x135),_0x2898c1[_0x325fac(0x11d)]=function(_0x370ef9,_0x546464){return _0x370ef9===_0x546464;},_0x2898c1[_0x325fac(0xf0)]=_0x325fac(0x11f);const _0x21701c=_0x2898c1,_0x13c7be=_0x21701c['zSrlI'][_0x325fac(0x15d)]('|');let _0x3d6488=0x0;while(!![]){switch(_0x13c7be[_0x3d6488++]){case'0':if(_0x2ee32e[_0x325fac(0x172)](_0x21701c[_0x325fac(0x11b)]))return _0x21701c[_0x325fac(0x11b)];continue;case'1':if(_0x2ee32e['includes'](_0x21701c['mHdYz']))return _0x21701c[_0x325fac(0xf1)];continue;case'2':if(!_0x2ee32e||_0x21701c[_0x325fac(0x167)](typeof _0x2ee32e,_0x21701c[_0x325fac(0xe0)]))return _0x21701c[_0x325fac(0x165)];continue;case'3':if(_0x2ee32e[_0x325fac(0x172)](_0x21701c[_0x325fac(0x158)]))return _0x21701c[_0x325fac(0x158)];continue;case'4':if(_0x2ee32e[_0x325fac(0x172)](_0x21701c[_0x325fac(0xfe)]))return _0x21701c[_0x325fac(0xfe)];continue;case'5':return _0x2ee32e;case'6':if(_0x21701c[_0x325fac(0x11d)](_0x2ee32e,_0x21701c['ZlCiR']))return _0x21701c['ZlCiR'];continue;case'7':if(_0x2ee32e['includes'](_0x21701c[_0x325fac(0x165)]))return _0x21701c[_0x325fac(0x165)];continue;}break;}},getBrowserFromWSEndpoint=_0x473cbf=>{const _0x566955=a56_0x1a9411,_0x40beb3={'PPwOc':_0x566955(0xda),'plMlu':function(_0x14f207,_0x3c1783){return _0x14f207(_0x3c1783);}};try{const _0x28f20e=url[_0x566955(0x188)](_0x473cbf),_0x2f0a4a=new URLSearchParams(_0x28f20e[_0x566955(0x159)]),_0x37d4ab=Object[_0x566955(0x10a)](_0x2f0a4a[_0x566955(0xe6)]()),_0x32dfad=JSON[_0x566955(0x188)](_0x37d4ab[_0x566955(0x149)]);if(_0x32dfad&&(_0x32dfad[_0x566955(0x199)]||_0x32dfad[_0x566955(0x142)]))return _0x32dfad['browser']||_0x32dfad['browserName'];return _0x40beb3[_0x566955(0x143)];}catch(_0x3f0637){_0x40beb3[_0x566955(0x13e)](debug,_0x566955(0xfc)+_0x3f0637[_0x566955(0x140)]());}},getCloudProviderFromWsEndpoint=_0x3d752f=>{const _0xc88ee6=a56_0x1a9411,_0x295b3a={};_0x295b3a[_0xc88ee6(0x169)]='browserstack',_0x295b3a['hBpJp']='unknown_grid';const _0xab743d=_0x295b3a;if(_0x3d752f['includes'](constants['BSTACK_URL'])||_0x3d752f[_0xc88ee6(0x172)](constants[_0xc88ee6(0x18c)]))return _0xab743d[_0xc88ee6(0x169)];return _0xab743d[_0xc88ee6(0x197)];},a56_0x1fcc23={};a56_0x1fcc23[a56_0x1a9411(0x18b)]=undefined,a56_0x1fcc23['bsSessionId']=undefined,a56_0x1fcc23[a56_0x1a9411(0x199)]=undefined,a56_0x1fcc23['browser_version']=undefined,a56_0x1fcc23[a56_0x1a9411(0x11c)]=undefined,a56_0x1fcc23[a56_0x1a9411(0xeb)]=undefined,a56_0x1fcc23[a56_0x1a9411(0x19b)]=undefined,a56_0x1fcc23['capabilities']={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a56_0x1fcc23;constructor(){const _0x3ffb6f=a56_0x1a9411,_0x4a2a78={};_0x4a2a78[_0x3ffb6f(0xdb)]=_0x3ffb6f(0x126);const _0x260f31=_0x4a2a78;throw new Error(_0x260f31[_0x3ffb6f(0xdb)]);}static [a56_0x1a9411(0xf6)]=null;static[a56_0x1a9411(0x16d)](_0xe7bd05,_0x5e23a1,_0x36c971=null){const _0x2b3e5f=a56_0x1a9411,_0x5c3745={'rvGrt':_0x2b3e5f(0x151),'kTlHi':function(_0x2ffaf3){return _0x2ffaf3();},'JiWXR':_0x2b3e5f(0x19c),'BhZRn':_0x2b3e5f(0x128),'wbgMA':_0x2b3e5f(0x139),'olglj':_0x2b3e5f(0xf4),'ZTuBc':function(_0x3ed803,_0x1dabe1){return _0x3ed803===_0x1dabe1;},'sLbzo':_0x2b3e5f(0x136),'WdxoX':_0x2b3e5f(0x14b),'laFFC':_0x2b3e5f(0x18d),'ROpqM':function(_0x319ec0,_0x3fdf19){return _0x319ec0===_0x3fdf19;},'kBuRp':function(_0x4adee2,_0x4bf9aa,_0x59ceb4){return _0x4adee2(_0x4bf9aa,_0x59ceb4);},'pqDbv':_0x2b3e5f(0x164),'NCYGa':_0x2b3e5f(0x144),'QMczz':_0x2b3e5f(0x17a),'hEUBL':_0x2b3e5f(0x187),'tfQKr':_0x2b3e5f(0xf7),'aATZz':function(_0x3249be,_0x449b62){return _0x3249be(_0x449b62);},'POIBS':function(_0x6f5ab,_0x5ec856){return _0x6f5ab===_0x5ec856;},'mjByM':_0x2b3e5f(0x12d),'rNuwq':_0x2b3e5f(0x177),'rrqYK':function(_0x30589b,_0x3000a8){return _0x30589b(_0x3000a8);},'rURCU':function(_0x2e956e){return _0x2e956e();},'aMSwv':function(_0x5743f4,_0x2d76e4){return _0x5743f4&&_0x2d76e4;},'fgYqp':function(_0x31964c,_0x3b415a){return _0x31964c+_0x3b415a;},'qSBEI':_0x2b3e5f(0xe4),'jaHYD':function(_0x19758b,_0x47e452){return _0x19758b||_0x47e452;},'fSNFX':_0x2b3e5f(0x16d)},_0x4ffd19=this;return _0x5c3745[_0x2b3e5f(0x1a3)](o11yErrorHandler,async function _0x6ac8b2(_0x2142a5,_0x13654f,_0x1bdaa1=null){const _0x1785dc=_0x2b3e5f;if(!_0x2142a5){logger[_0x1785dc(0xfd)](_0x5c3745['rvGrt']),_0x4ffd19['currentSessionDetails']=Object[_0x1785dc(0x1a1)]({},_0x4ffd19[_0x1785dc(0x125)],{'cloudProvider':_0x5c3745[_0x1785dc(0x191)](isBrowserstackInfra)?_0x5c3745['JiWXR']:_0x5c3745[_0x1785dc(0x15f)],'browser':_0x5c3745['wbgMA'],'browser_version':_0x5c3745['olglj']});return;}let _0x3dbac2=_0x2142a5[_0x1785dc(0x124)],_0xfb8d0c=null;_0x2142a5&&_0x5c3745[_0x1785dc(0xf5)](typeof _0x2142a5[_0x1785dc(0x13b)],_0x5c3745[_0x1785dc(0x122)])?_0xfb8d0c=_0x2142a5[_0x1785dc(0x13b)]():logger[_0x1785dc(0xfd)](_0x5c3745[_0x1785dc(0x19e)]);let _0x5d02c8=null;_0x2142a5&&_0x5c3745[_0x1785dc(0xf5)](typeof _0x2142a5[_0x1785dc(0xff)],_0x5c3745[_0x1785dc(0x122)])?_0x5d02c8=_0x2142a5['model']():logger[_0x1785dc(0xfd)](_0x5c3745[_0x1785dc(0x14c)]);let _0x495b47=null,_0x3037f4=null,_0x29661b=null,_0x5a23be=_0x5c3745[_0x1785dc(0x15f)];const _0x31a1ca=_0x2142a5[_0x1785dc(0xe7)]&&_0x5c3745[_0x1785dc(0x193)](typeof _0x2142a5[_0x1785dc(0xe7)][_0x1785dc(0x17d)],_0x5c3745[_0x1785dc(0x122)])?_0x2142a5[_0x1785dc(0xe7)][_0x1785dc(0x17d)]():![];if(_0x31a1ca||global['accessibilityPlatform']&&!process[_0x1785dc(0x16e)][_0x1785dc(0x15c)]){let _0x11306a=null;_0x5c3745['kBuRp'](nestedKeyValue,_0x2142a5,[_0x5c3745[_0x1785dc(0x147)],_0x5c3745[_0x1785dc(0x119)]])?_0x11306a=_0x2142a5[_0x1785dc(0x164)][_0x1785dc(0x144)]:_0x11306a=_0x5c3745[_0x1785dc(0x1a3)](nestedKeyValue,_0x13654f,[_0x5c3745[_0x1785dc(0x152)],_0x5c3745[_0x1785dc(0x160)],_0x5c3745['tfQKr']]);const _0x27ecde=_0x1bdaa1||_0x11306a&&_0x11306a[_0x1785dc(0xe1)];if(_0x27ecde){_0x5a23be=_0x5c3745[_0x1785dc(0x109)](getCloudProviderFromWsEndpoint,_0x27ecde);if(_0x5c3745[_0x1785dc(0x168)](_0x5a23be,_0x5c3745['JiWXR']))_0x29661b=constants[_0x1785dc(0x138)][_0x1785dc(0x14d)](_0x27ecde)?_0x5c3745[_0x1785dc(0x104)]:_0x5c3745[_0x1785dc(0x14a)],_0x3dbac2=_0x5c3745[_0x1785dc(0x12b)](getBrowserFromWSEndpoint,_0x27ecde)||_0x3dbac2,_0x495b47=_0x4ffd19[_0x1785dc(0x125)][_0x1785dc(0x11c)],_0x3037f4=_0x4ffd19[_0x1785dc(0x125)]['platform_version'];else{const _0x213dd2=await _0x5c3745['rURCU'](getPlatformDetails);_0x495b47=_0x213dd2[_0x1785dc(0x155)],_0x3037f4=_0x213dd2[_0x1785dc(0x130)];}}if(_0x5c3745['aMSwv'](!_0x495b47,!_0x3037f4)&&!_0x5c3745[_0x1785dc(0x173)](isBrowserstackInfra)){const _0x57de71=await _0x5c3745[_0x1785dc(0x173)](getPlatformDetails);_0x495b47=_0x57de71['platformName'],_0x3037f4=_0x57de71['platformVersion'];}}else{_0x13654f&&_0x13654f[_0x1785dc(0x17a)]['use'][_0x1785dc(0x101)]?_0x3dbac2=_0x5c3745[_0x1785dc(0x12b)](getBrowserNameFromChannel,_0x13654f[_0x1785dc(0x17a)][_0x1785dc(0x187)][_0x1785dc(0x101)]):_0x3dbac2=_0x5c3745[_0x1785dc(0x12a)](_0x5c3745[_0x1785dc(0xf8)],_0x5c3745[_0x1785dc(0xf9)](_0x3dbac2,_0x5c3745['olglj'])[_0x1785dc(0x106)]());const _0x3b938a=await _0x5c3745[_0x1785dc(0x191)](getPlatformDetails);_0x495b47=_0x3b938a[_0x1785dc(0x155)],_0x3037f4=_0x3b938a[_0x1785dc(0x130)];}const _0x3dfdfa={};_0x3dfdfa['browser']=_0x3dbac2,_0x3dfdfa[_0x1785dc(0x180)]=_0xfb8d0c,_0x3dfdfa['capabilities']={},_0x3dfdfa['platform']=_0x495b47,_0x3dfdfa[_0x1785dc(0xeb)]=_0x3037f4,_0x3dfdfa['product']=_0x29661b;const _0x5bf031=_0x3dfdfa;_0x5d02c8&&(_0x5bf031['capabilities'][_0x1785dc(0x15e)]=_0x5d02c8);const _0x1b84c8={};_0x1b84c8[_0x1785dc(0x18b)]=_0x5a23be,_0x4ffd19[_0x1785dc(0x125)]=Object['assign']({},_0x4ffd19[_0x1785dc(0x125)],_0x1b84c8,_0x5bf031);},_0x5c3745[_0x2b3e5f(0x112)])(_0xe7bd05,_0x5e23a1,_0x36c971);}static[a56_0x1a9411(0xe3)](){const _0x42f214=a56_0x1a9411;this['patchConnection'](),this[_0x42f214(0x120)]();}static[a56_0x1a9411(0x1a6)](){const _0xe22a15=a56_0x1a9411,_0x1a2af7={'gKjKx':function(_0x4b43e3,_0x4479b1,_0x5e681e){return _0x4b43e3(_0x4479b1,_0x5e681e);},'HsfcN':_0xe22a15(0x174),'eLBeb':_0xe22a15(0xe2),'hjGZN':'titlePath','yLKkl':function(_0x5d84df,_0x54a9d1,_0x53e240){return _0x5d84df(_0x54a9d1,_0x53e240);},'Sjlrd':_0xe22a15(0x186),'mLNLc':_0xe22a15(0x1a2),'NQhoi':function(_0x342b32,_0x15526e,_0x174e75){return _0x342b32(_0x15526e,_0x174e75);},'MSMig':function(_0xbe5a73,_0x3bead7){return _0xbe5a73===_0x3bead7;},'rjfJU':_0xe22a15(0x100),'ScNBy':function(_0x453a10,_0x52199f,_0x3e0a82,_0x35e1e0){return _0x453a10(_0x52199f,_0x3e0a82,_0x35e1e0);},'KLwMB':function(_0x227e13,_0xdf1ec1){return _0x227e13||_0xdf1ec1;},'BeyPm':function(_0x3afd3a,_0x532c02){return _0x3afd3a(_0x532c02);},'gEnch':function(_0x4b84f1,_0x163176){return _0x4b84f1(_0x163176);},'FMRtp':function(_0x550093,_0x2f33dc){return _0x550093(_0x2f33dc);},'QJGed':_0xe22a15(0x141),'AxaQe':function(_0x53bc9b,_0x1a79e0){return _0x53bc9b!=_0x1a79e0;},'rLSTS':function(_0x504a8e){return _0x504a8e();},'ErczU':_0xe22a15(0x133),'aXxRd':'dispatch','vVCEE':'Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','MJYNE':function(_0x514920,_0x46b9b7){return _0x514920(_0x46b9b7);}},_0xdeb777=this;!this['Connection']&&(this[_0xe22a15(0x117)]=helper[_0xe22a15(0x134)](),!this[_0xe22a15(0x117)]&&_0x1a2af7['FMRtp'](debug,_0x1a2af7[_0xe22a15(0x16a)]));const _0x1c49f2=this[_0xe22a15(0x117)];if(_0x1a2af7[_0xe22a15(0x162)](_0x1c49f2,null)&&_0x1c49f2[_0xe22a15(0x18a)]['_bstackDispatchPatched'])return;try{if(_0x1a2af7[_0xe22a15(0x162)](_0x1c49f2,null)){const _0x5ebaff=_0x1c49f2[_0xe22a15(0x18a)][_0xe22a15(0x1a7)],_0x188248=_0x1c49f2[_0xe22a15(0x18a)][_0xe22a15(0x133)];_0x1a2af7[_0xe22a15(0x150)](isAccessibilityAutomationSession)&&Object[_0xe22a15(0x11a)](_0x1c49f2['prototype'],_0x1a2af7[_0xe22a15(0x1aa)],{'get':function(){return async function(){const _0x34e69f=a56_0x32ae;try{if(!global[_0x34e69f(0x123)]&&global[_0x34e69f(0xfa)]&&_0x1a2af7[_0x34e69f(0x116)](nestedKeyValue,global['__workerDetails'],[_0x1a2af7['HsfcN'],_0x1a2af7['eLBeb'],_0x1a2af7['hjGZN']])&&_0x1a2af7[_0x34e69f(0x183)](shouldScanTestForAccessibility,global[_0x34e69f(0x186)][_0x34e69f(0x174)][_0x34e69f(0xe2)][_0x34e69f(0x14e)],!![])&&scripts[_0x34e69f(0xe9)](arguments[0x1])){logger[_0x34e69f(0xfd)](_0x34e69f(0x154)+arguments[0x1]),global[_0x34e69f(0x123)]=!![];const _0x54bc1a=_0x1a2af7['yLKkl'](nestedKeyValue,global,[_0x1a2af7[_0x34e69f(0x175)],_0x1a2af7['mLNLc']]);_0x54bc1a&&logger[_0x34e69f(0xf3)](_0x34e69f(0x121)+util[_0x34e69f(0x10b)](await _0x1a2af7[_0x34e69f(0x157)](performScanWithRetry,_0x54bc1a,arguments[0x1]))),_0x1a2af7[_0x34e69f(0x12e)](arguments[0x0][_0x34e69f(0x103)],_0x1a2af7[_0x34e69f(0x11e)])&&global[_0x34e69f(0x198)]&&logger[_0x34e69f(0xf3)](_0x34e69f(0xdc)+util[_0x34e69f(0x10b)](await _0x1a2af7[_0x34e69f(0x179)](performScanWithRetry,global['__driver'],arguments[0x1],scripts['performScan'])));}}catch(_0x53e5fd){logger['debug'](_0x34e69f(0x13c)+util[_0x34e69f(0x10b)](_0x53e5fd));}return global[_0x34e69f(0x123)]=![],_0x188248[_0x34e69f(0x108)](this,arguments);};}}),!_0x1a2af7[_0xe22a15(0x12c)](isFalse,process[_0xe22a15(0x16e)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object['defineProperty'](_0x1c49f2[_0xe22a15(0x18a)],_0x1a2af7[_0xe22a15(0x19f)],{'get':function(){const _0x3544ce={'cZydp':function(_0x528fb6,_0x5b49e4){return _0x1a2af7['KLwMB'](_0x528fb6,_0x5b49e4);},'MbOhw':function(_0x3777c0,_0x4a954b){const _0x4254c1=a56_0x32ae;return _0x1a2af7[_0x4254c1(0xd9)](_0x3777c0,_0x4a954b);},'ubrhq':function(_0x27d085,_0x1c1cf0){const _0x3e81a9=a56_0x32ae;return _0x1a2af7[_0x3e81a9(0x12c)](_0x27d085,_0x1c1cf0);},'KvIKo':function(_0x443949,_0x5931f2){const _0x37dda0=a56_0x32ae;return _0x1a2af7[_0x37dda0(0x12c)](_0x443949,_0x5931f2);}};return function _0x10182c(_0x4f9fb9){const _0x44086e=a56_0x32ae,_0x19fb9f=_0x5ebaff[_0x44086e(0x108)](this,arguments);try{if(BrowserstackCLI[_0x44086e(0xfb)]()[_0x44086e(0x17f)]()){const _0x127194={};_0x127194[_0x44086e(0x194)]=_0x4f9fb9,Promise[_0x44086e(0x185)](BrowserstackCLI[_0x44086e(0xfb)]()[_0x44086e(0x171)]()[_0x44086e(0x192)](AutomationFrameworkState[_0x44086e(0x13f)],HookState[_0x44086e(0x170)],_0x127194))[_0x44086e(0x16f)](()=>{});}else{const _0x35aa2f=_0x4f9fb9&&_0x4f9fb9[_0x44086e(0x111)]&&_0x4f9fb9['params'][_0x44086e(0x118)];if(_0x35aa2f){const _0x4cadb7=_0x35aa2f[_0x44086e(0x153)],_0x372554=_0x35aa2f[_0x44086e(0x102)];_0x3544ce[_0x44086e(0x14f)](!_0x4cadb7,!_0x372554)&&Promise[_0x44086e(0x185)](ClientTroubleShootingService['reportSessionLinkingIssue']())[_0x44086e(0x16f)](()=>{}),_0x372554&&(_0x3544ce[_0x44086e(0x146)](debug,_0x44086e(0xe5)+_0x372554[_0x44086e(0x140)]()),_0xdeb777[_0x44086e(0x125)][_0x44086e(0x11c)]=_0x372554[_0x44086e(0x155)],_0xdeb777[_0x44086e(0x125)][_0x44086e(0xeb)]=_0x372554[_0x44086e(0x130)]),_0x4cadb7&&(_0x3544ce[_0x44086e(0x1a0)](debug,_0x44086e(0x1a8)+_0x4cadb7),_0xdeb777[_0x44086e(0x125)][_0x44086e(0x13d)]=_0x4cadb7);}}}catch(_0x10576a){_0x3544ce[_0x44086e(0x129)](debug,'dispatch\x20instrumentation\x20error\x20(non-fatal):\x20'+(_0x10576a&&_0x10576a[_0x44086e(0x140)]?_0x10576a['toString']():_0x10576a));}return _0x19fb9f;};}}),_0x1c49f2[_0xe22a15(0x18a)]['_bstackDispatchPatched']=!![],logger[_0xe22a15(0xfd)](_0x1a2af7['vVCEE']);}}catch(_0x2b5e05){_0x1a2af7[_0xe22a15(0x115)](debug,_0xe22a15(0x145)+_0x2b5e05),_0xdeb777[_0xe22a15(0xf6)]=_0x2b5e05[_0xe22a15(0x140)]();}}static[a56_0x1a9411(0x120)](){const _0x280ac7=a56_0x1a9411,_0x5c3781={'IxFPq':function(_0x243069,_0x5e3443){return _0x243069(_0x5e3443);},'LztwY':function(_0x4f18c7){return _0x4f18c7();},'ZUSqf':function(_0x10b355,_0x2f4cf2){return _0x10b355>=_0x2f4cf2;},'zuizs':_0x280ac7(0x1a4),'fQwCa':function(_0x2a2ced,_0x34af8a){return _0x2a2ced(_0x34af8a);},'jBHAZ':_0x280ac7(0x17e),'hkRcO':'lib','cLvps':_0x280ac7(0xec),'WGWpA':_0x280ac7(0x16c),'BzOea':'crConnection.js','sdGVR':_0x280ac7(0x13a),'TSnrr':'Error\x20in\x20importing\x20crConnection','uREGC':function(_0x18e512,_0x502247){return _0x18e512!=_0x502247;},'DySOY':'_onMessage'},_0x1ddf93=this;if(_0x5c3781[_0x280ac7(0x105)](isAccessibilityAutomationSession)){let _0x1c773c=null,_0x26ceeb=![];try{const _0x267f51=helper[_0x280ac7(0x10e)](FRAMEWORKS[_0x280ac7(0x195)]);_0x26ceeb=_0x5c3781[_0x280ac7(0x10f)](helper['compareVersions'](_0x267f51,_0x5c3781[_0x280ac7(0x184)]),0x0);}catch(_0x356db4){_0x5c3781[_0x280ac7(0x161)](debug,_0x280ac7(0xf2)+_0x356db4[_0x280ac7(0x140)]());}if(_0x26ceeb)_0x5c3781[_0x280ac7(0x12f)](debug,_0x5c3781['jBHAZ']);else try{const _0x57a3f1=path[_0x280ac7(0x148)](_0x5c3781[_0x280ac7(0x110)],_0x5c3781['cLvps'],_0x5c3781[_0x280ac7(0xed)],_0x5c3781[_0x280ac7(0x18e)]),_0x122ece=_0x5c3781[_0x280ac7(0x161)](importFileFromPWCore,_0x57a3f1);!_0x122ece?_0x5c3781[_0x280ac7(0x161)](debug,_0x5c3781[_0x280ac7(0xee)]):_0x1c773c=_0x122ece[_0x280ac7(0x113)];}catch(_0x2a96f3){_0x5c3781['IxFPq'](debug,_0x5c3781['TSnrr']);}try{if(_0x5c3781[_0x280ac7(0x189)](_0x1c773c,null)){const _0x4787aa=_0x1c773c[_0x280ac7(0x18a)][_0x280ac7(0x15b)];Object[_0x280ac7(0x11a)](_0x1c773c['prototype'],_0x5c3781['DySOY'],{'get':function(){const _0x530732={'JKgnk':function(_0xc89bd,_0x12feb1){const _0x14c503=a56_0x32ae;return _0x5c3781[_0x14c503(0x161)](_0xc89bd,_0x12feb1);},'fQyys':function(_0xdb8532,_0x523ea4){return _0x5c3781['IxFPq'](_0xdb8532,_0x523ea4);}};return async function _0x325fe7(_0x19afef){const _0x26321d=a56_0x32ae;try{if(BrowserstackCLI[_0x26321d(0xfb)]()[_0x26321d(0x17f)]()){const _0x2009aa={};_0x2009aa[_0x26321d(0x194)]=_0x19afef,await BrowserstackCLI[_0x26321d(0xfb)]()[_0x26321d(0x171)]()[_0x26321d(0x192)](AutomationFrameworkState[_0x26321d(0x13f)],HookState[_0x26321d(0x170)],_0x2009aa),delete _0x19afef[_0x26321d(0x127)];}else{const _0x2c7d3c=_0x19afef['bStackParams'];if(_0x2c7d3c){delete _0x19afef[_0x26321d(0x127)];const _0x500075=_0x2c7d3c['sessionId'],_0x1e1994=_0x2c7d3c[_0x26321d(0x102)];_0x1e1994&&(_0x530732[_0x26321d(0x107)](debug,_0x26321d(0x190)+_0x1e1994[_0x26321d(0x140)]()),_0x1ddf93[_0x26321d(0x125)][_0x26321d(0x11c)]=_0x1e1994['platformName'],_0x1ddf93[_0x26321d(0x125)][_0x26321d(0xeb)]=_0x1e1994['platformVersion']),_0x500075&&(_0x530732[_0x26321d(0x107)](debug,_0x26321d(0x17b)+_0x500075),_0x1ddf93[_0x26321d(0x125)][_0x26321d(0x13d)]=_0x500075);}}}catch(_0x2c8ab4){_0x530732[_0x26321d(0x137)](debug,_0x26321d(0x178)+_0x2c8ab4[_0x26321d(0x140)]());}return _0x4787aa[_0x26321d(0x108)](this,arguments);};}});}}catch(_0xfbdbd2){_0x5c3781[_0x280ac7(0x12f)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0xfbdbd2),_0x1ddf93[_0x280ac7(0xf6)]=_0xfbdbd2[_0x280ac7(0x140)]();}}}static['getDetails'](){const _0x40bcad=a56_0x1a9411;return this[_0x40bcad(0x125)];}}function a56_0x32ae(_0x4c12b3,_0x5d8295){const _0x264ed8=a56_0x264e();return a56_0x32ae=function(_0x32ae03,_0x4a2d56){_0x32ae03=_0x32ae03-0xd9;let _0x126ac2=_0x264ed8[_0x32ae03];return _0x126ac2;},a56_0x32ae(_0x4c12b3,_0x5d8295);}function a56_0x264e(){const _0x36363c=['params','fSNFX','CRConnection','zSrlI','MJYNE','gKjKx','Connection','bsParams','NCYGa','defineProperty','jdroA','platform','toPob','rjfJU','webkit','patchCRConnection','Page\x20Scan\x20result=','sLbzo','bstackPerformA11yScan','_name','currentSessionDetails','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','bStackParams','local_grid','KvIKo','fgYqp','rrqYK','gEnch','turboscale','MSMig','fQwCa','platformVersion','2|7|3|4|0|1|6|5','701640BiffdQ','sendMessageToServer','resolveConnectionClass','edge','function','fQyys','ATS_WSS_URL_REGEX','playwright','Not\x20able\x20to\x20import\x20crConnection','version','Failed\x20to\x20perform\x20scan\x20','bsSessionId','plMlu','PLAYWRIGHT_DISPATCH','toString','Not\x20able\x20to\x20resolve\x20Connection\x20class','browserName','PPwOc','_defaultConnectOptions','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','MbOhw','pqDbv','join','caps','rNuwq','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','laFFC','test','titlePath','cZydp','rLSTS','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','QMczz','sessionId','Performing\x20scan\x20for\x20','platformName','537063IPRKTt','NQhoi','QxxAH','query','8bAbhKZ','_onMessage','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','split','deviceModel','BhZRn','hEUBL','IxFPq','AxaQe','12329802oTbTwD','_browserType','BpElb','util','NrVoo','POIBS','BhFEI','QJGed','../utils/clientTroubleshootingService.js','chromium','setupBrowserDetails','env','catch','POST','getAutomationFramework','includes','rURCU','currentTest','Sjlrd','../v2/browserstackCLI','automate','Error\x20in\x20finding\x20platform\x20details\x20','ScNBy','project','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','40LSSWYY','isRemote','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','isRunning','browser_version','firefox','./accessibility-helper','yLKkl','zuizs','resolve','__workerDetails','use','parse','uREGC','prototype','cloudProvider','BSTACK_ATS_URL','Device\x20Model\x20is\x20not\x20available','BzOea','../../helpers/test-observability/error-handler','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','kTlHi','trackEvent','ROpqM','message','PLAYWRIGHT','../v2/state/automationFrameworkState.js','hBpJp','__driver','browser','9148464SFPGcs','product','browserstack','8036679bxCeox','WdxoX','aXxRd','ubrhq','assign','pwPage','kBuRp','1.60.0','../../helpers/helper','patchConnection','dispatch','Setting\x20session\x20id\x20received\x20from\x20BS\x20','../../helpers/test-observability/constants','ErczU','BeyPm','chrome','WoTcQ','Driver\x20Scan\x20result=','../v2/state/hookState.js','188VChobe','../../helpers/test-observability/utils','kfYVr','wsEndpoint','testInfo','patch','playwright-','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','entries','_connection','url','shouldWrapCommand','12538559OOzQGx','platform_version','server','WGWpA','sdGVR','string','ZlCiR','mHdYz','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','info','unknown','ZTuBc','sessionError','connectOptions','qSBEI','jaHYD','accessibilityPlatform','getInstance','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','debug','ydWki','model','Page','channel','platformDetails','_type','mjByM','LztwY','toLowerCase','JKgnk','apply','aATZz','fromEntries','format','141995KNMhJz','4wKYHMM','getFrameworkVersion','ZUSqf','hkRcO'];a56_0x264e=function(){return _0x36363c;};return a56_0x264e();}module['exports']=PlaywrightSessionDetails;
|
|
1
|
+
const a56_0x3c678e=a56_0x36ff;(function(_0xc58abe,_0xe3d8d0){const _0x5cfcf2=a56_0x36ff,_0x213821=_0xc58abe();while(!![]){try{const _0x508b59=-parseInt(_0x5cfcf2(0x195))/0x1+-parseInt(_0x5cfcf2(0x169))/0x2+-parseInt(_0x5cfcf2(0x158))/0x3*(parseInt(_0x5cfcf2(0x187))/0x4)+parseInt(_0x5cfcf2(0x1b0))/0x5+parseInt(_0x5cfcf2(0x138))/0x6+parseInt(_0x5cfcf2(0x14e))/0x7+parseInt(_0x5cfcf2(0x121))/0x8;if(_0x508b59===_0xe3d8d0)break;else _0x213821['push'](_0x213821['shift']());}catch(_0x5ed084){_0x213821['push'](_0x213821['shift']());}}}(a56_0x3b71,0xebe50));const path=require(a56_0x3c678e(0x18d)),url=require(a56_0x3c678e(0x154)),util=require(a56_0x3c678e(0x173)),helper=require(a56_0x3c678e(0x176)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a56_0x3c678e(0x134)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a56_0x3c678e(0x14a)),{FRAMEWORKS}=require(a56_0x3c678e(0x11d)),logger=require(a56_0x3c678e(0xf6))[a56_0x3c678e(0xfd)],scripts=require(a56_0x3c678e(0x133)),{browserStackExecuteDriver}=require(a56_0x3c678e(0x1ab)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a56_0x3c678e(0x114)),BrowserstackCLI=require(a56_0x3c678e(0x106)),AutomationFrameworkState=require(a56_0x3c678e(0x10f)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a56_0x3c678e(0x1a5)),getBrowserNameFromChannel=_0x1c7293=>{const _0x1d97c2=a56_0x3c678e,_0x58cffc={};_0x58cffc[_0x1d97c2(0x17c)]=_0x1d97c2(0x101),_0x58cffc['JBtun']='firefox',_0x58cffc['lhZPN']='edge',_0x58cffc[_0x1d97c2(0x120)]='safari',_0x58cffc['QkqHg']=_0x1d97c2(0xf8),_0x58cffc[_0x1d97c2(0x174)]=function(_0x5008ba,_0x3c0150){return _0x5008ba===_0x3c0150;},_0x58cffc[_0x1d97c2(0x175)]='webkit',_0x58cffc[_0x1d97c2(0x15d)]=function(_0x8fded9,_0x56dd80){return _0x8fded9!==_0x56dd80;},_0x58cffc[_0x1d97c2(0x110)]='string',_0x58cffc['SdAGK']=_0x1d97c2(0x131);const _0x36d577=_0x58cffc,_0x352330=_0x36d577[_0x1d97c2(0x17c)]['split']('|');let _0x4ee841=0x0;while(!![]){switch(_0x352330[_0x4ee841++]){case'0':if(_0x1c7293['includes'](_0x36d577[_0x1d97c2(0x163)]))return _0x36d577[_0x1d97c2(0x163)];continue;case'1':if(_0x1c7293['includes'](_0x36d577['lhZPN']))return _0x36d577[_0x1d97c2(0x19d)];continue;case'2':if(_0x1c7293['includes'](_0x36d577[_0x1d97c2(0x120)]))return _0x36d577[_0x1d97c2(0x120)];continue;case'3':if(_0x1c7293['includes'](_0x36d577[_0x1d97c2(0x160)]))return _0x36d577[_0x1d97c2(0x160)];continue;case'4':if(_0x36d577['xWcNR'](_0x1c7293,_0x36d577[_0x1d97c2(0x175)]))return _0x36d577[_0x1d97c2(0x175)];continue;case'5':if(!_0x1c7293||_0x36d577[_0x1d97c2(0x15d)](typeof _0x1c7293,_0x36d577['XBpXn']))return _0x36d577['SdAGK'];continue;case'6':return _0x1c7293;case'7':if(_0x1c7293[_0x1d97c2(0x180)](_0x36d577[_0x1d97c2(0x115)]))return _0x36d577['SdAGK'];continue;}break;}},getBrowserFromWSEndpoint=_0x4b975f=>{const _0x4b7eba=a56_0x3c678e,_0x5080eb={'nZiVZ':_0x4b7eba(0xf8),'qAIlO':function(_0x3ec3da,_0x4cca33){return _0x3ec3da(_0x4cca33);}};try{const _0x217e29=url[_0x4b7eba(0x10b)](_0x4b975f),_0x441c24=new URLSearchParams(_0x217e29['query']),_0x43f8fb=Object['fromEntries'](_0x441c24['entries']()),_0x14c574=JSON[_0x4b7eba(0x10b)](_0x43f8fb['caps']);if(_0x14c574&&(_0x14c574[_0x4b7eba(0x13c)]||_0x14c574[_0x4b7eba(0x17a)]))return _0x14c574['browser']||_0x14c574[_0x4b7eba(0x17a)];return _0x5080eb[_0x4b7eba(0x130)];}catch(_0x5d6631){_0x5080eb[_0x4b7eba(0x108)](debug,_0x4b7eba(0x171)+_0x5d6631[_0x4b7eba(0x17d)]());}},getCloudProviderFromWsEndpoint=_0x2d837a=>{const _0x7a5438=a56_0x3c678e,_0x258de5={};_0x258de5['xdDQS']='browserstack',_0x258de5['NZpKA']='unknown_grid';const _0x1a7f1e=_0x258de5;if(_0x2d837a[_0x7a5438(0x180)](constants[_0x7a5438(0x189)])||_0x2d837a[_0x7a5438(0x180)](constants['BSTACK_ATS_URL']))return _0x1a7f1e[_0x7a5438(0x182)];return _0x1a7f1e[_0x7a5438(0x113)];},a56_0x89f4ae={};a56_0x89f4ae['cloudProvider']=undefined,a56_0x89f4ae[a56_0x3c678e(0x152)]=undefined,a56_0x89f4ae['browser']=undefined,a56_0x89f4ae[a56_0x3c678e(0x18b)]=undefined,a56_0x89f4ae[a56_0x3c678e(0x19f)]=undefined,a56_0x89f4ae[a56_0x3c678e(0x127)]=undefined,a56_0x89f4ae['product']=undefined,a56_0x89f4ae[a56_0x3c678e(0x16b)]={};function a56_0x3b71(){const _0x35a66b=['parse','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','_name','1.60.0','../v2/state/automationFrameworkState.js','XBpXn','_onMessage','resolveConnectionClass','NZpKA','../utils/constants','SdAGK','Failed\x20to\x20perform\x20scan\x20','VzmkM','Jksls','getAutomationFramework','project','LSdsH','deviceModel','../../helpers/test-observability/constants','ZYPJI','getInstance','rbejv','2670792fXziOd','slrgV','Setting\x20session\x20id\x20received\x20from\x20BS\x20','dBRGG','HOcrF','Not\x20able\x20to\x20import\x20crConnection','platform_version','_type','browserstack','trackEvent','dnusi','Connection','testInfo','version','playwright-','nZiVZ','chromium','Device\x20Model\x20is\x20not\x20available','../../helpers/accessibility-automation/scripts','../../helpers/test-observability/error-handler','Page\x20Scan\x20result=','env','PNmAT','836706Shdljx','exports','isRemote','defineProperty','browser','TUpIm','Pvswq','wwChS','dispatch','SAczB','apply','xSUJJ','prototype','getDetails','Driver\x20Scan\x20result=','use','model','product','../../helpers/accessibility-automation/helper','PLAYWRIGHT','VDSOk','BNHPf','1342992qbdgzY','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','bsSessionId','debug','url','lib','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','vRAut','36pooVFk','unknown','BEIUy','test','wABrj','wdYdZ','crConnection.js','MTeeZ','QkqHg','QSVTM','oxVPC','JBtun','setupBrowserDetails','_defaultConnectOptions','platformDetails','bsParams','Error\x20in\x20importing\x20crConnection','1080832nltoKR','info','capabilities','LUxAT','catch','pVUNx','IPtpz','__driver','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Error\x20in\x20finding\x20platform\x20details\x20','util','xWcNR','pkdDD','../../helpers/helper','params','join','patchConnection','browserName','reportSessionLinkingIssue','ruRuC','toString','vtWjf','sessionId','includes','AmxEU','xdDQS','rLXkL','jteAu','shouldWrapCommand','YxQiY','22588xHLzIT','cRoOC','BSTACK_URL','Not\x20able\x20to\x20resolve\x20Connection\x20class','browser_version','sessionError','path','format','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','Njwuv','_connection','Page','qPrmY','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','415866ltHuFM','channel','CjcBH','_browserType','tFlsq','compareVersions','ENOTP','ATS_WSS_URL_REGEX','lhZPN','cbADM','platform','iXDmX','Seekq','yrYcY','accessibilityPlatform','platformVersion','../utils/clientTroubleshootingService.js','VaNNB','turboscale','tbpso','eZTtj','CVtTc','../../bin/playwright/accessibility-helper','__workerDetails','bayKA','tNifA','NWkBW','6625570GBwxxc','_bstackDispatchPatched','jENMw','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','playwright','OdiCP','pDUFM','sendMessageToServer','bStackParams','PLAYWRIGHT_DISPATCH','Xnjpz','../../helpers/logger','toLowerCase','chrome','bstackPerformA11yScan','QwsRq','message','patchCRConnection','winstonLogger','Performing\x20scan\x20for\x20','isRunning','UeIaw','5|7|3|1|0|2|4|6','vUpvk','OvmUl','POST','platformName','../v2/browserstackCLI','resolve','qAIlO','GaywO','currentSessionDetails'];a56_0x3b71=function(){return _0x35a66b;};return a56_0x3b71();}function a56_0x36ff(_0x16f85d,_0x1cb55f){const _0x3b71c3=a56_0x3b71();return a56_0x36ff=function(_0x36ff50,_0x5c2e96){_0x36ff50=_0x36ff50-0xf2;let _0x1c853e=_0x3b71c3[_0x36ff50];return _0x1c853e;},a56_0x36ff(_0x16f85d,_0x1cb55f);}class PlaywrightSessionDetails{static [a56_0x3c678e(0x10a)]=a56_0x89f4ae;constructor(){const _0x3d5e38=a56_0x3c678e,_0x405ae7={};_0x405ae7[_0x3d5e38(0x13f)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x335313=_0x405ae7;throw new Error(_0x335313['wwChS']);}static [a56_0x3c678e(0x18c)]=null;static['setupBrowserDetails'](_0x258294,_0x2faa41,_0x47c57d=null){const _0x355be9=a56_0x3c678e,_0x5ca525={'bLsiy':_0x355be9(0x10c),'QwsRq':function(_0x15c6be){return _0x15c6be();},'YxQiY':_0x355be9(0x129),'NWkBW':'local_grid','NdMTJ':_0x355be9(0x1b4),'IPtpz':_0x355be9(0x159),'SAczB':function(_0x5e0bad,_0x114ae7){return _0x5e0bad===_0x114ae7;},'Xnjpz':'function','BEIUy':_0x355be9(0x150),'TUpIm':function(_0x3b0e9f,_0x14cb4a){return _0x3b0e9f===_0x14cb4a;},'LUxAT':_0x355be9(0x132),'HOcrF':function(_0x245e48,_0x2aede0,_0x39012c){return _0x245e48(_0x2aede0,_0x39012c);},'rLXkL':_0x355be9(0x198),'jENMw':_0x355be9(0x165),'Pdmbs':_0x355be9(0x11a),'Pvswq':_0x355be9(0x147),'slrgV':'connectOptions','Jksls':function(_0x31434a,_0x3f4d01){return _0x31434a(_0x3f4d01);},'VDSOk':_0x355be9(0x1a7),'oxVPC':'automate','MTeeZ':function(_0x34a3cb,_0x1b102d){return _0x34a3cb&&_0x1b102d;},'iWoLb':function(_0x4af129){return _0x4af129();},'bayKA':function(_0x1d872f,_0x11b4fd){return _0x1d872f+_0x11b4fd;},'IBlJI':_0x355be9(0x12f),'cbADM':function(_0x32a861,_0x334686){return _0x32a861||_0x334686;},'GaywO':function(_0x42c02a){return _0x42c02a();},'xSUJJ':_0x355be9(0x164)},_0x1a0dc6=this;return _0x5ca525[_0x355be9(0x125)](o11yErrorHandler,async function _0x1b567e(_0x36854f,_0x4012c5,_0x43e080=null){const _0x30a973=_0x355be9;if(!_0x36854f){logger[_0x30a973(0x153)](_0x5ca525['bLsiy']),_0x1a0dc6[_0x30a973(0x10a)]=Object['assign']({},_0x1a0dc6[_0x30a973(0x10a)],{'cloudProvider':_0x5ca525[_0x30a973(0xfa)](isBrowserstackInfra)?_0x5ca525[_0x30a973(0x186)]:_0x5ca525['NWkBW'],'browser':_0x5ca525['NdMTJ'],'browser_version':_0x5ca525[_0x30a973(0x16f)]});return;}let _0x1e4155=_0x36854f[_0x30a973(0x10d)],_0x1f182c=null;_0x36854f&&_0x5ca525[_0x30a973(0x141)](typeof _0x36854f[_0x30a973(0x12e)],_0x5ca525[_0x30a973(0xf5)])?_0x1f182c=_0x36854f['version']():logger[_0x30a973(0x153)](_0x5ca525[_0x30a973(0x15a)]);let _0x2ae13e=null;_0x36854f&&_0x5ca525[_0x30a973(0x13d)](typeof _0x36854f[_0x30a973(0x148)],_0x5ca525['Xnjpz'])?_0x2ae13e=_0x36854f[_0x30a973(0x148)]():logger[_0x30a973(0x153)](_0x5ca525[_0x30a973(0x16c)]);let _0x2d1b83=null,_0x24d163=null,_0x39aea8=null,_0x595e81=_0x5ca525[_0x30a973(0x1af)];const _0x388e2b=_0x36854f[_0x30a973(0x191)]&&_0x5ca525[_0x30a973(0x13d)](typeof _0x36854f[_0x30a973(0x191)][_0x30a973(0x13a)],_0x5ca525[_0x30a973(0xf5)])?_0x36854f[_0x30a973(0x191)][_0x30a973(0x13a)]():![];if(_0x388e2b||global[_0x30a973(0x1a3)]&&!process['env'][_0x30a973(0x14f)]){let _0x2af5b3=null;_0x5ca525[_0x30a973(0x125)](nestedKeyValue,_0x36854f,[_0x5ca525[_0x30a973(0x183)],_0x5ca525[_0x30a973(0x1b2)]])?_0x2af5b3=_0x36854f[_0x30a973(0x198)][_0x30a973(0x165)]:_0x2af5b3=_0x5ca525[_0x30a973(0x125)](nestedKeyValue,_0x4012c5,[_0x5ca525['Pdmbs'],_0x5ca525[_0x30a973(0x13e)],_0x5ca525[_0x30a973(0x122)]]);const _0x44ab2b=_0x43e080||_0x2af5b3&&_0x2af5b3['wsEndpoint'];if(_0x44ab2b){_0x595e81=_0x5ca525[_0x30a973(0x118)](getCloudProviderFromWsEndpoint,_0x44ab2b);if(_0x5ca525[_0x30a973(0x141)](_0x595e81,_0x5ca525[_0x30a973(0x186)]))_0x39aea8=constants[_0x30a973(0x19c)][_0x30a973(0x15b)](_0x44ab2b)?_0x5ca525[_0x30a973(0x14c)]:_0x5ca525[_0x30a973(0x162)],_0x1e4155=_0x5ca525['Jksls'](getBrowserFromWSEndpoint,_0x44ab2b)||_0x1e4155,_0x2d1b83=_0x1a0dc6[_0x30a973(0x10a)][_0x30a973(0x19f)],_0x24d163=_0x1a0dc6['currentSessionDetails'][_0x30a973(0x127)];else{const _0x1382ab=await _0x5ca525[_0x30a973(0xfa)](getPlatformDetails);_0x2d1b83=_0x1382ab['platformName'],_0x24d163=_0x1382ab[_0x30a973(0x1a4)];}}if(_0x5ca525[_0x30a973(0x15f)](!_0x2d1b83,!_0x24d163)&&!_0x5ca525[_0x30a973(0xfa)](isBrowserstackInfra)){const _0xaf0c9c=await _0x5ca525['iWoLb'](getPlatformDetails);_0x2d1b83=_0xaf0c9c['platformName'],_0x24d163=_0xaf0c9c[_0x30a973(0x1a4)];}}else{_0x4012c5&&_0x4012c5[_0x30a973(0x11a)][_0x30a973(0x147)][_0x30a973(0x196)]?_0x1e4155=_0x5ca525[_0x30a973(0x118)](getBrowserNameFromChannel,_0x4012c5[_0x30a973(0x11a)][_0x30a973(0x147)][_0x30a973(0x196)]):_0x1e4155=_0x5ca525[_0x30a973(0x1ad)](_0x5ca525['IBlJI'],_0x5ca525[_0x30a973(0x19e)](_0x1e4155,_0x5ca525[_0x30a973(0x16f)])[_0x30a973(0xf7)]());const _0x11fb5d=await _0x5ca525[_0x30a973(0x109)](getPlatformDetails);_0x2d1b83=_0x11fb5d[_0x30a973(0x105)],_0x24d163=_0x11fb5d[_0x30a973(0x1a4)];}const _0x5c78d7={};_0x5c78d7['browser']=_0x1e4155,_0x5c78d7[_0x30a973(0x18b)]=_0x1f182c,_0x5c78d7[_0x30a973(0x16b)]={},_0x5c78d7['platform']=_0x2d1b83,_0x5c78d7[_0x30a973(0x127)]=_0x24d163,_0x5c78d7[_0x30a973(0x149)]=_0x39aea8;const _0x1f2dbb=_0x5c78d7;_0x2ae13e&&(_0x1f2dbb[_0x30a973(0x16b)][_0x30a973(0x11c)]=_0x2ae13e);const _0x1e827b={};_0x1e827b['cloudProvider']=_0x595e81,_0x1a0dc6[_0x30a973(0x10a)]=Object['assign']({},_0x1a0dc6[_0x30a973(0x10a)],_0x1e827b,_0x1f2dbb);},_0x5ca525[_0x355be9(0x143)])(_0x258294,_0x2faa41,_0x47c57d);}static['patch'](){const _0x3addce=a56_0x3c678e;this[_0x3addce(0x179)](),this['patchCRConnection']();}static[a56_0x3c678e(0x179)](){const _0x7e185d=a56_0x3c678e,_0x245e0a={'Seekq':function(_0x2bcbaa,_0x387038,_0x14bf09){return _0x2bcbaa(_0x387038,_0x14bf09);},'cHPNO':'currentTest','jteAu':_0x7e185d(0x12d),'PNmAT':'titlePath','nCTQZ':function(_0x30993c,_0x5d85d0,_0x17f409){return _0x30993c(_0x5d85d0,_0x17f409);},'tNifA':'__workerDetails','eZTtj':'pwPage','Njwuv':function(_0x5a87cb,_0x3d058b,_0x4eb81d){return _0x5a87cb(_0x3d058b,_0x4eb81d);},'AvsRn':function(_0xf29a5f,_0x11f683){return _0xf29a5f===_0x11f683;},'ENOTP':_0x7e185d(0x192),'rPBEA':function(_0x4cdbab,_0xc32c08,_0x297568,_0x376d51){return _0x4cdbab(_0xc32c08,_0x297568,_0x376d51);},'pDUFM':function(_0x2e2a40,_0x3a0fdb){return _0x2e2a40||_0x3a0fdb;},'ZYPJI':function(_0x10b5bf,_0x3bad03){return _0x10b5bf(_0x3bad03);},'QSVTM':function(_0x11c867,_0x20a3d2){return _0x11c867(_0x20a3d2);},'VzmkM':_0x7e185d(0x18a),'tbpso':function(_0x3949bb,_0x1df302){return _0x3949bb!=_0x1df302;},'CVtTc':function(_0xeef905,_0x2d401d){return _0xeef905!=_0x2d401d;},'vUpvk':function(_0x42405f){return _0x42405f();},'AmxEU':_0x7e185d(0xf2),'UeIaw':_0x7e185d(0x140),'HZSzx':_0x7e185d(0x1b3),'DVUyU':function(_0x57d54a,_0x2ec881){return _0x57d54a(_0x2ec881);}},_0x57e4c5=this;!this[_0x7e185d(0x12c)]&&(this[_0x7e185d(0x12c)]=helper[_0x7e185d(0x112)](),!this[_0x7e185d(0x12c)]&&_0x245e0a[_0x7e185d(0x161)](debug,_0x245e0a[_0x7e185d(0x117)]));const _0x4624b2=this[_0x7e185d(0x12c)];if(_0x245e0a[_0x7e185d(0x1a8)](_0x4624b2,null)&&_0x4624b2[_0x7e185d(0x144)][_0x7e185d(0x1b1)])return;try{if(_0x245e0a[_0x7e185d(0x1aa)](_0x4624b2,null)){const _0xd9b81d=_0x4624b2[_0x7e185d(0x144)][_0x7e185d(0x140)],_0x57f9e7=_0x4624b2[_0x7e185d(0x144)][_0x7e185d(0xf2)];_0x245e0a[_0x7e185d(0x102)](isAccessibilityAutomationSession)&&Object[_0x7e185d(0x13b)](_0x4624b2[_0x7e185d(0x144)],_0x245e0a[_0x7e185d(0x181)],{'get':function(){return async function(){const _0x5ebf6b=a56_0x36ff;try{if(!global['bstackPerformA11yScan']&&global[_0x5ebf6b(0x1a3)]&&_0x245e0a[_0x5ebf6b(0x1a1)](nestedKeyValue,global[_0x5ebf6b(0x1ac)],[_0x245e0a['cHPNO'],_0x245e0a[_0x5ebf6b(0x184)],_0x245e0a[_0x5ebf6b(0x137)]])&&_0x245e0a['Seekq'](shouldScanTestForAccessibility,global[_0x5ebf6b(0x1ac)]['currentTest']['testInfo']['titlePath'],!![])&&scripts[_0x5ebf6b(0x185)](arguments[0x1])){logger[_0x5ebf6b(0x153)](_0x5ebf6b(0xfe)+arguments[0x1]),global[_0x5ebf6b(0xf9)]=!![];const _0x4a100a=_0x245e0a['nCTQZ'](nestedKeyValue,global,[_0x245e0a[_0x5ebf6b(0x1ae)],_0x245e0a[_0x5ebf6b(0x1a9)]]);_0x4a100a&&logger['info'](_0x5ebf6b(0x135)+util[_0x5ebf6b(0x18e)](await _0x245e0a[_0x5ebf6b(0x190)](performScanWithRetry,_0x4a100a,arguments[0x1]))),_0x245e0a['AvsRn'](arguments[0x0][_0x5ebf6b(0x128)],_0x245e0a[_0x5ebf6b(0x19b)])&&global[_0x5ebf6b(0x170)]&&logger[_0x5ebf6b(0x16a)](_0x5ebf6b(0x146)+util[_0x5ebf6b(0x18e)](await _0x245e0a['rPBEA'](performScanWithRetry,global[_0x5ebf6b(0x170)],arguments[0x1],scripts['performScan'])));}}catch(_0x1e894d){logger[_0x5ebf6b(0x153)](_0x5ebf6b(0x116)+util[_0x5ebf6b(0x18e)](_0x1e894d));}return global['bstackPerformA11yScan']=![],_0x57f9e7[_0x5ebf6b(0x142)](this,arguments);};}}),!_0x245e0a[_0x7e185d(0x11e)](isFalse,process[_0x7e185d(0x136)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x7e185d(0x13b)](_0x4624b2[_0x7e185d(0x144)],_0x245e0a[_0x7e185d(0x100)],{'get':function(){return function _0x22dbd9(_0x322399){const _0x37c749=a56_0x36ff,_0xefd21c=_0xd9b81d[_0x37c749(0x142)](this,arguments);try{if(BrowserstackCLI[_0x37c749(0x11f)]()[_0x37c749(0xff)]()){const _0xeae238={};_0xeae238[_0x37c749(0xfb)]=_0x322399,Promise[_0x37c749(0x107)](BrowserstackCLI[_0x37c749(0x11f)]()[_0x37c749(0x119)]()[_0x37c749(0x12a)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x37c749(0x104)],_0xeae238))['catch'](()=>{});}else{const _0x5fda68=_0x322399&&_0x322399[_0x37c749(0x177)]&&_0x322399[_0x37c749(0x177)][_0x37c749(0x167)];if(_0x5fda68){const _0x3bf70f=_0x5fda68[_0x37c749(0x17f)],_0x235304=_0x5fda68['platformDetails'];_0x245e0a[_0x37c749(0x1b6)](!_0x3bf70f,!_0x235304)&&Promise[_0x37c749(0x107)](ClientTroubleShootingService[_0x37c749(0x17b)]())[_0x37c749(0x16d)](()=>{}),_0x235304&&(_0x245e0a[_0x37c749(0x11e)](debug,_0x37c749(0x151)+_0x235304[_0x37c749(0x17d)]()),_0x57e4c5[_0x37c749(0x10a)][_0x37c749(0x19f)]=_0x235304[_0x37c749(0x105)],_0x57e4c5[_0x37c749(0x10a)][_0x37c749(0x127)]=_0x235304['platformVersion']),_0x3bf70f&&(_0x245e0a[_0x37c749(0x11e)](debug,_0x37c749(0x123)+_0x3bf70f),_0x57e4c5['currentSessionDetails'][_0x37c749(0x152)]=_0x3bf70f);}}}catch(_0x1d0002){_0x245e0a['QSVTM'](debug,_0x37c749(0x156)+(_0x1d0002&&_0x1d0002[_0x37c749(0x17d)]?_0x1d0002['toString']():_0x1d0002));}return _0xefd21c;};}}),_0x4624b2[_0x7e185d(0x144)]['_bstackDispatchPatched']=!![],logger[_0x7e185d(0x153)](_0x245e0a['HZSzx']);}}catch(_0x24530b){_0x245e0a['DVUyU'](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x24530b),_0x57e4c5[_0x7e185d(0x18c)]=_0x24530b[_0x7e185d(0x17d)]();}}static[a56_0x3c678e(0xfc)](){const _0x5d1368=a56_0x3c678e,_0x3b796b={'CjcBH':function(_0x4f2151,_0x3269e8){return _0x4f2151(_0x3269e8);},'tFlsq':function(_0x23b4ac,_0x5600c4){return _0x23b4ac(_0x5600c4);},'pyzPu':function(_0xda6c98){return _0xda6c98();},'VaNNB':function(_0xb290ab,_0x19692d){return _0xb290ab>=_0x19692d;},'qPrmY':_0x5d1368(0x10e),'dBRGG':function(_0x5c62f6,_0x518102){return _0x5c62f6(_0x518102);},'vtWjf':_0x5d1368(0x18f),'OvmUl':_0x5d1368(0x155),'LSdsH':'server','pVUNx':_0x5d1368(0x131),'yrYcY':_0x5d1368(0x15e),'OdiCP':function(_0x3eaa60,_0xd71111){return _0x3eaa60(_0xd71111);},'BNHPf':function(_0x423c57,_0x455fd0){return _0x423c57(_0x455fd0);},'dnusi':_0x5d1368(0x126),'wABrj':_0x5d1368(0x168),'iXDmX':function(_0x5f02f9,_0x416fac){return _0x5f02f9!=_0x416fac;},'cRoOC':_0x5d1368(0x111)},_0x482fc8=this;if(_0x3b796b['pyzPu'](isAccessibilityAutomationSession)){let _0x344d09=null,_0x1b862b=![];try{const _0x40099a=helper['getFrameworkVersion'](FRAMEWORKS[_0x5d1368(0x14b)]);_0x1b862b=_0x3b796b[_0x5d1368(0x1a6)](helper[_0x5d1368(0x19a)](_0x40099a,_0x3b796b[_0x5d1368(0x193)]),0x0);}catch(_0x13d10a){_0x3b796b[_0x5d1368(0x124)](debug,_0x5d1368(0x194)+_0x13d10a['toString']());}if(_0x1b862b)_0x3b796b[_0x5d1368(0x124)](debug,_0x3b796b[_0x5d1368(0x17e)]);else try{const _0x40b566=path[_0x5d1368(0x178)](_0x3b796b[_0x5d1368(0x103)],_0x3b796b[_0x5d1368(0x11b)],_0x3b796b[_0x5d1368(0x16e)],_0x3b796b[_0x5d1368(0x1a2)]),_0x200856=_0x3b796b[_0x5d1368(0x1b5)](importFileFromPWCore,_0x40b566);!_0x200856?_0x3b796b[_0x5d1368(0x14d)](debug,_0x3b796b[_0x5d1368(0x12b)]):_0x344d09=_0x200856['CRConnection'];}catch(_0x20e63d){_0x3b796b[_0x5d1368(0x14d)](debug,_0x3b796b[_0x5d1368(0x15c)]);}try{if(_0x3b796b[_0x5d1368(0x1a0)](_0x344d09,null)){const _0x327507=_0x344d09['prototype']['_onMessage'];Object[_0x5d1368(0x13b)](_0x344d09[_0x5d1368(0x144)],_0x3b796b[_0x5d1368(0x188)],{'get':function(){const _0x30e954={'vRAut':function(_0x521333,_0x41f1ab){const _0x3d3648=a56_0x36ff;return _0x3b796b[_0x3d3648(0x197)](_0x521333,_0x41f1ab);},'XNbwX':function(_0xd43fc7,_0x18797c){const _0x33d498=a56_0x36ff;return _0x3b796b[_0x33d498(0x199)](_0xd43fc7,_0x18797c);}};return async function _0x1bf8cd(_0x39ea6f){const _0x6ce971=a56_0x36ff;try{if(BrowserstackCLI[_0x6ce971(0x11f)]()[_0x6ce971(0xff)]()){const _0x17eb27={};_0x17eb27[_0x6ce971(0xfb)]=_0x39ea6f,await BrowserstackCLI[_0x6ce971(0x11f)]()[_0x6ce971(0x119)]()[_0x6ce971(0x12a)](AutomationFrameworkState[_0x6ce971(0xf4)],HookState[_0x6ce971(0x104)],_0x17eb27),delete _0x39ea6f[_0x6ce971(0xf3)];}else{const _0x2a0705=_0x39ea6f[_0x6ce971(0xf3)];if(_0x2a0705){delete _0x39ea6f[_0x6ce971(0xf3)];const _0x276186=_0x2a0705['sessionId'],_0x5d0eed=_0x2a0705[_0x6ce971(0x166)];_0x5d0eed&&(_0x30e954[_0x6ce971(0x157)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x5d0eed[_0x6ce971(0x17d)]()),_0x482fc8[_0x6ce971(0x10a)][_0x6ce971(0x19f)]=_0x5d0eed[_0x6ce971(0x105)],_0x482fc8[_0x6ce971(0x10a)][_0x6ce971(0x127)]=_0x5d0eed[_0x6ce971(0x1a4)]),_0x276186&&(_0x30e954[_0x6ce971(0x157)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x276186),_0x482fc8[_0x6ce971(0x10a)][_0x6ce971(0x152)]=_0x276186);}}}catch(_0x2b2350){_0x30e954['XNbwX'](debug,_0x6ce971(0x172)+_0x2b2350[_0x6ce971(0x17d)]());}return _0x327507['apply'](this,arguments);};}});}}catch(_0x1c9d75){_0x3b796b[_0x5d1368(0x1b5)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x1c9d75),_0x482fc8[_0x5d1368(0x18c)]=_0x1c9d75[_0x5d1368(0x17d)]();}}}static[a56_0x3c678e(0x145)](){const _0x56a3bb=a56_0x3c678e;return this[_0x56a3bb(0x10a)];}}module[a56_0x3c678e(0x139)]=PlaywrightSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a57_0xf422(_0x1e7178,_0x5090ea){const _0x2889c5=a57_0x2889();return a57_0xf422=function(_0xf4220b,_0x27b236){_0xf4220b=_0xf4220b-0x171;let _0x5dafcb=_0x2889c5[_0xf4220b];return _0x5dafcb;},a57_0xf422(_0x1e7178,_0x5090ea);}const a57_0x56bff5=a57_0xf422;(function(_0x3fd1e6,_0x29a281){const _0x475fb3=a57_0xf422,_0x2e34a2=_0x3fd1e6();while(!![]){try{const _0x538961=parseInt(_0x475fb3(0x198))/0x1*(parseInt(_0x475fb3(0x189))/0x2)+-parseInt(_0x475fb3(0x194))/0x3+parseInt(_0x475fb3(0x18d))/0x4+-parseInt(_0x475fb3(0x180))/0x5+parseInt(_0x475fb3(0x185))/0x6+-parseInt(_0x475fb3(0x19a))/0x7+parseInt(_0x475fb3(0x176))/0x8;if(_0x538961===_0x29a281)break;else _0x2e34a2['push'](_0x2e34a2['shift']());}catch(_0x44398f){_0x2e34a2['push'](_0x2e34a2['shift']());}}}(a57_0x2889,0x97bb5));function a57_0x2889(){const _0x1a072b=['574GBqGzD','TCoqc','6155289qkOiru','stringify','../../helpers/performance/constants','o11ySyncDone','../../helpers/helper','env','9452632znkbLK','pwPage','../../helpers/performance/performance-tester','../v2/customTagManager','ZRarE','../../helpers/test-observability/error-handler','format','BROWSERSTACK_TEST_OBSERVABILITY','evaluate','newPage','2626225RtzwlG','patchBrowserNewPage','RYOHo','browserstack_executor:\x20','../v2/uploadAttachmentsManager','4029708ksPjML','debug','bind','nRFiL','1366SWBcFS','VYcfm','doo11ySync','_bstackNewPagePatched','2844660mvlMdT','uploadAttachment','uploadAttachments','now','SYNC','__workerDetails','tIdxq','2791017WRvjNS','getInstance','annotate','ObservabilitySync:'];a57_0x2889=function(){return _0x1a072b;};return a57_0x2889();}const util=require('util'),logger=require('../../helpers/logger'),{nestedKeyValue,isFalse}=require(a57_0x56bff5(0x174)),{o11yErrorHandler}=require(a57_0x56bff5(0x17b)),PerformanceTester=require(a57_0x56bff5(0x178)),{O11y_EVENTS:PerformanceO11yEvents}=require(a57_0x56bff5(0x172)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require(a57_0x56bff5(0x179)),uploadAttachmentsManager=require(a57_0x56bff5(0x184)),doo11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a57_0x56bff5(0x191)],o11yErrorHandler(async function doo11ySync(_0x37487e){const _0x58784c=a57_0x56bff5,_0x37a4da={'udOsA':function(_0x48af60,_0x5e1aa4,_0x20d5c3){return _0x48af60(_0x5e1aa4,_0x20d5c3);},'RYOHo':_0x58784c(0x192),'TCoqc':_0x58784c(0x173),'ZRarE':_0x58784c(0x196),'tIdxq':_0x58784c(0x186)};if(_0x37a4da['udOsA'](nestedKeyValue,global,[_0x37a4da[_0x58784c(0x182)],_0x37a4da[_0x58784c(0x199)]]))return;await _0x37487e[_0x58784c(0x17e)](_0x3c9d00=>{},_0x58784c(0x183)+JSON[_0x58784c(0x171)]({'action':_0x37a4da[_0x58784c(0x17a)],'arguments':{'data':_0x58784c(0x197)+Date[_0x58784c(0x190)](),'level':_0x37a4da[_0x58784c(0x193)]}})),global['__workerDetails'][_0x58784c(0x173)]=!![];},a57_0x56bff5(0x18b)));exports[a57_0x56bff5(0x181)]=_0x30cd2c=>{const _0x3f8327=a57_0x56bff5,_0x29c488={'gQoyK':function(_0x53d8d9,_0x23f5c4){return _0x53d8d9(_0x23f5c4);},'VYcfm':function(_0xd21ef6,_0x2928ab,_0x4336d8){return _0xd21ef6(_0x2928ab,_0x4336d8);},'nRFiL':_0x3f8327(0x192)};if(!_0x30cd2c||_0x30cd2c['_bstackNewPagePatched'])return;const _0x46b87d=_0x30cd2c['newPage'][_0x3f8327(0x187)](_0x30cd2c);_0x30cd2c[_0x3f8327(0x17f)]=async function _0x1811d7(){const _0x2c7d25=_0x3f8327,_0x3872b1=await _0x46b87d['apply'](_0x30cd2c,arguments);try{!BrowserstackCLI[_0x2c7d25(0x195)]()['isRunning']()&&!_0x29c488['gQoyK'](isFalse,process[_0x2c7d25(0x175)][_0x2c7d25(0x17d)])&&await _0x29c488['gQoyK'](doo11ySync,_0x3872b1),BrowserstackCLI[_0x2c7d25(0x195)]()['isRunning']()&&(_0x3872b1['setCustomTags']=async(_0x340356,_0x38d55d,_0x52a83a=![])=>{await CustomTagManager['setCustomTags'](_0x340356,_0x38d55d,_0x52a83a);},_0x3872b1[_0x2c7d25(0x18e)]=async(_0x2b922a,_0x130d72=![])=>{const _0x5a4a4f=_0x2c7d25;await uploadAttachmentsManager[_0x5a4a4f(0x18f)](_0x2b922a,_0x130d72);});}catch(_0x116d20){logger[_0x2c7d25(0x186)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x2c7d25(0x17c)](_0x116d20));}return _0x29c488[_0x2c7d25(0x18a)](nestedKeyValue,global,[_0x29c488[_0x2c7d25(0x188)]])&&(global['__workerDetails'][_0x2c7d25(0x177)]=_0x3872b1),_0x3872b1;},_0x30cd2c[_0x3f8327(0x18c)]=!![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a58_0x40f6(_0xe950b1,_0x3d32b8){const _0x4b83cd=a58_0x4b83();return a58_0x40f6=function(_0x40f6c0,_0x4fa9aa){_0x40f6c0=_0x40f6c0-0x186;let _0x49e8be=_0x4b83cd[_0x40f6c0];return _0x49e8be;},a58_0x40f6(_0xe950b1,_0x3d32b8);}const a58_0x4a0c3c=a58_0x40f6;(function(_0x4dc10f,_0x1ab4cd){const _0x36f16d=a58_0x40f6,_0x32b32b=_0x4dc10f();while(!![]){try{const _0x641571=parseInt(_0x36f16d(0x1a6))/0x1+parseInt(_0x36f16d(0x1b7))/0x2*(-parseInt(_0x36f16d(0x1c3))/0x3)+-parseInt(_0x36f16d(0x1b3))/0x4+-parseInt(_0x36f16d(0x1a4))/0x5+parseInt(_0x36f16d(0x1bd))/0x6*(parseInt(_0x36f16d(0x1c0))/0x7)+-parseInt(_0x36f16d(0x1aa))/0x8*(parseInt(_0x36f16d(0x1d2))/0x9)+-parseInt(_0x36f16d(0x1cc))/0xa*(-parseInt(_0x36f16d(0x191))/0xb);if(_0x641571===_0x1ab4cd)break;else _0x32b32b['push'](_0x32b32b['shift']());}catch(_0xd1ad78){_0x32b32b['push'](_0x32b32b['shift']());}}}(a58_0x4b83,0x8835b));const path=require(a58_0x4a0c3c(0x1b1)),url=require(a58_0x4a0c3c(0x198)),util=require('util'),{nestedKeyValue,isFalse}=require(a58_0x4a0c3c(0x1cf)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require(a58_0x4a0c3c(0x1c7))[a58_0x4a0c3c(0x195)],constants=require('../utils/constants'),BrowserstackCLI=require(a58_0x4a0c3c(0x199)),AutomationFrameworkState=require(a58_0x4a0c3c(0x197)),HookState=require(a58_0x4a0c3c(0x1b8)),getBrowserFromWSEndpoint=_0x20c2e4=>{const _0xc3892d=a58_0x4a0c3c,_0x53a7ed={'IxxPS':'chrome','YhhrX':function(_0x35caf4,_0x24ce03){return _0x35caf4(_0x24ce03);}};try{const _0x11c4c3=url[_0xc3892d(0x1a8)](_0x20c2e4),_0xdf7573=new URLSearchParams(_0x11c4c3[_0xc3892d(0x1c1)]),_0x41711f=Object[_0xc3892d(0x188)](_0xdf7573[_0xc3892d(0x1ac)]()),_0x10752a=JSON['parse'](_0x41711f[_0xc3892d(0x186)]);if(_0x10752a&&(_0x10752a[_0xc3892d(0x187)]||_0x10752a[_0xc3892d(0x1dc)]))return _0x10752a['browser']||_0x10752a[_0xc3892d(0x1dc)];return _0x53a7ed['IxxPS'];}catch(_0x5beafc){_0x53a7ed[_0xc3892d(0x1dd)](debug,_0xc3892d(0x1ce)+_0x5beafc[_0xc3892d(0x1be)]());}},getCloudProviderFromWsEndpoint=_0x50cf7c=>{const _0x36905d=a58_0x4a0c3c,_0x9830af={};_0x9830af['kYuTW']=_0x36905d(0x1e1),_0x9830af[_0x36905d(0x1c5)]=_0x36905d(0x1ab);const _0x4d0386=_0x9830af;if(_0x50cf7c[_0x36905d(0x1db)](constants[_0x36905d(0x1a2)])||_0x50cf7c[_0x36905d(0x1db)](constants[_0x36905d(0x1a9)]))return _0x4d0386[_0x36905d(0x1b9)];return _0x4d0386[_0x36905d(0x1c5)];},a58_0x300223={};a58_0x300223[a58_0x4a0c3c(0x1b4)]=undefined,a58_0x300223[a58_0x4a0c3c(0x1a5)]=undefined,a58_0x300223[a58_0x4a0c3c(0x187)]=undefined,a58_0x300223[a58_0x4a0c3c(0x1d8)]=undefined,a58_0x300223[a58_0x4a0c3c(0x1bf)]=undefined,a58_0x300223[a58_0x4a0c3c(0x193)]=undefined,a58_0x300223[a58_0x4a0c3c(0x1c9)]=undefined,a58_0x300223['capabilities']={};class PuppeteerSessionDetails{static ['currentSessionDetails']=a58_0x300223;constructor(){const _0x431140=a58_0x4a0c3c,_0x15aa6a={};_0x15aa6a[_0x431140(0x18a)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x195475=_0x15aa6a;throw new Error(_0x195475[_0x431140(0x18a)]);}static [a58_0x4a0c3c(0x1e0)]=null;static async[a58_0x4a0c3c(0x1d5)](_0x1e9d69,_0x3f4324){const _0x10ec31=a58_0x4a0c3c,_0x33b200={'wPUmS':_0x10ec31(0x1b5),'deSLo':function(_0x1a619a,_0xa9b491){return _0x1a619a===_0xa9b491;},'OlZiL':_0x10ec31(0x1cb),'CFNQW':'local_grid','uekYn':function(_0x5ee8a9,_0x209479){return _0x5ee8a9(_0x209479);},'pZQNP':_0x10ec31(0x1e1),'mydeF':_0x10ec31(0x18f),'upAKw':_0x10ec31(0x1de),'clGRU':function(_0x3bd2e5){return _0x3bd2e5();},'muOSI':function(_0x30dbde){return _0x30dbde();}};try{let _0x27c183=_0x33b200[_0x10ec31(0x1c4)],_0x40fbb6=null;_0x1e9d69&&_0x33b200[_0x10ec31(0x1bc)](typeof _0x1e9d69[_0x10ec31(0x1da)],_0x33b200[_0x10ec31(0x1ad)])&&(_0x40fbb6=await _0x1e9d69[_0x10ec31(0x1da)]());let _0x295e27=null,_0x1e49e5=null,_0x5e1dce=null,_0x47f7b9=_0x33b200['CFNQW'];if(_0x3f4324){_0x47f7b9=_0x33b200[_0x10ec31(0x19c)](getCloudProviderFromWsEndpoint,_0x3f4324);if(_0x33b200[_0x10ec31(0x1bc)](_0x47f7b9,_0x33b200[_0x10ec31(0x1ca)]))_0x5e1dce=constants[_0x10ec31(0x1d1)]?constants[_0x10ec31(0x1d1)][_0x10ec31(0x1d3)](_0x3f4324)?_0x33b200[_0x10ec31(0x1c2)]:_0x33b200[_0x10ec31(0x1cd)]:_0x33b200['upAKw'],_0x27c183=_0x33b200[_0x10ec31(0x19c)](getBrowserFromWSEndpoint,_0x3f4324)||_0x27c183,_0x295e27=this[_0x10ec31(0x1a0)]['platform'],_0x1e49e5=this[_0x10ec31(0x1a0)][_0x10ec31(0x193)];else{const _0x36f3a4=await _0x33b200['clGRU'](getPlatformDetails);_0x295e27=_0x36f3a4[_0x10ec31(0x1bb)],_0x1e49e5=_0x36f3a4['platformVersion'];}}else{const _0x2c9388=await _0x33b200[_0x10ec31(0x19d)](getPlatformDetails);_0x295e27=_0x2c9388[_0x10ec31(0x1bb)],_0x1e49e5=_0x2c9388[_0x10ec31(0x1d6)];}const _0x4df76a={};_0x4df76a[_0x10ec31(0x187)]=_0x27c183,_0x4df76a[_0x10ec31(0x1d8)]=_0x40fbb6,_0x4df76a['capabilities']={},_0x4df76a[_0x10ec31(0x1bf)]=_0x295e27,_0x4df76a['platform_version']=_0x1e49e5,_0x4df76a[_0x10ec31(0x1c9)]=_0x5e1dce;const _0x524b15=_0x4df76a,_0x520deb={};_0x520deb[_0x10ec31(0x1b4)]=_0x47f7b9,this[_0x10ec31(0x1a0)]=Object[_0x10ec31(0x1c8)]({},this[_0x10ec31(0x1a0)],_0x520deb,_0x524b15);}catch(_0x1fb6b9){_0x33b200[_0x10ec31(0x19c)](debug,_0x10ec31(0x1d7)+util[_0x10ec31(0x18b)](_0x1fb6b9)),this[_0x10ec31(0x1e0)]=_0x1fb6b9[_0x10ec31(0x1be)]();}}static[a58_0x4a0c3c(0x1a1)](_0x1fd073){const _0x3335a3=a58_0x4a0c3c,_0x4c69fe={'bdvLH':function(_0xc99c57,_0x5ea701){return _0xc99c57===_0x5ea701;},'wRncM':'string','nrdsV':function(_0x59b48e,_0xe41ed0){return _0x59b48e(_0xe41ed0);},'PjXOf':_0x3335a3(0x18d)},_0x442df7=this;try{const _0x23ecf4=_0x1fd073['_connection']||_0x1fd073[_0x3335a3(0x1d9)];if(!_0x23ecf4||_0x23ecf4[_0x3335a3(0x18c)])return;const _0x3e4c59=_0x23ecf4[_0x3335a3(0x1ae)];_0x23ecf4['onmessage']=function(_0x1e0c6c){const _0x1eefe7=_0x3335a3;try{const _0x3c178d=_0x4c69fe[_0x1eefe7(0x18e)](typeof _0x1e0c6c,_0x4c69fe[_0x1eefe7(0x19f)])?JSON['parse'](_0x1e0c6c):_0x1e0c6c,_0x4e56a6=_0x3c178d?.[_0x1eefe7(0x189)]||_0x3c178d?.[_0x1eefe7(0x1ba)]||_0x3c178d?.[_0x1eefe7(0x1af)]?.[_0x1eefe7(0x1ba)]||_0x3c178d?.['params']?.[_0x1eefe7(0x189)]||_0x3c178d?.[_0x1eefe7(0x190)]?.[_0x1eefe7(0x1ba)]||_0x3c178d?.[_0x1eefe7(0x190)]?.[_0x1eefe7(0x189)];if(_0x4e56a6){if(BrowserstackCLI[_0x1eefe7(0x19b)]()['isRunning']()){const _0x5c1113={};_0x5c1113['message']=_0x3c178d,BrowserstackCLI[_0x1eefe7(0x19b)]()['getAutomationFramework']()[_0x1eefe7(0x1a3)](AutomationFrameworkState[_0x1eefe7(0x1a7)],HookState[_0x1eefe7(0x1c6)],_0x5c1113);}else{const _0x436aff=_0x4e56a6[_0x1eefe7(0x194)],_0x2d82a2=_0x4e56a6[_0x1eefe7(0x1b2)];_0x2d82a2&&(_0x4c69fe[_0x1eefe7(0x1b6)](debug,_0x1eefe7(0x1d4)+JSON[_0x1eefe7(0x1d0)](_0x2d82a2)),_0x442df7[_0x1eefe7(0x1a0)]['platform']=_0x2d82a2[_0x1eefe7(0x1bb)],_0x442df7[_0x1eefe7(0x1a0)][_0x1eefe7(0x193)]=_0x2d82a2[_0x1eefe7(0x1d6)]),_0x436aff&&(_0x4c69fe['nrdsV'](debug,_0x1eefe7(0x1b0)+_0x436aff),_0x442df7[_0x1eefe7(0x1a0)][_0x1eefe7(0x1a5)]=_0x436aff);}_0x4c69fe['bdvLH'](typeof _0x1e0c6c,_0x4c69fe[_0x1eefe7(0x19f)])&&(delete _0x3c178d[_0x1eefe7(0x189)],delete _0x3c178d[_0x1eefe7(0x1ba)],_0x3c178d[_0x1eefe7(0x1af)]&&(delete _0x3c178d['params']['bsParams'],delete _0x3c178d['params']['bStackParams']),_0x3c178d['result']&&(delete _0x3c178d[_0x1eefe7(0x190)][_0x1eefe7(0x1ba)],delete _0x3c178d[_0x1eefe7(0x190)][_0x1eefe7(0x189)]));}}catch(_0x46bf48){_0x4c69fe['nrdsV'](debug,_0x1eefe7(0x196)+_0x46bf48['message']);}return _0x3e4c59?.['apply'](this,arguments);},_0x23ecf4[_0x3335a3(0x18c)]=!![],logger[_0x3335a3(0x192)](_0x4c69fe['PjXOf']);}catch(_0x561842){_0x4c69fe['nrdsV'](debug,_0x3335a3(0x19e)+util[_0x3335a3(0x18b)](_0x561842)),_0x442df7[_0x3335a3(0x1e0)]=_0x561842['toString']();}}static[a58_0x4a0c3c(0x1df)](){return this['currentSessionDetails'];}}module[a58_0x4a0c3c(0x19a)]=PuppeteerSessionDetails;function a58_0x4b83(){const _0x47aaa1=['stringify','ATS_WSS_URL_REGEX','18lrPgmO','test','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','setupBrowserDetails','platformVersion','Error\x20in\x20setupBrowserDetails:\x20','browser_version','connection','version','includes','browserName','YhhrX','automate','getDetails','sessionError','browserstack','caps','browser','fromEntries','bStackParams','xxtot','format','_bstackPatched','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','bdvLH','turboscale','result','165uVupJO','debug','platform_version','sessionId','winstonLogger','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','../v2/state/automationFrameworkState.js','url','../v2/browserstackCLI','exports','getInstance','uekYn','muOSI','Error\x20in\x20patchConnection:\x20','wRncM','currentSessionDetails','patchConnection','BSTACK_URL','trackEvent','2306505ZCasfm','bsSessionId','59663iPrzmv','PLAYWRIGHT_DISPATCH','parse','BSTACK_ATS_URL','3507848MCGMya','unknown_grid','entries','OlZiL','onmessage','params','Setting\x20session\x20id\x20received\x20from\x20BS\x20','path','platformDetails','408328PRPYsT','cloudProvider','chrome','nrdsV','55436MQfxJU','../v2/state/hookState.js','kYuTW','bsParams','platformName','deSLo','6CoSunC','toString','platform','4573527ihQEKF','query','mydeF','99aTiLEQ','wPUmS','DFKaF','POST','../../helpers/logger','assign','product','pZQNP','function','1466620ISEDhV','upAKw','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','../../helpers/helper'];a58_0x4b83=function(){return _0x47aaa1;};return a58_0x4b83();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a59_0x5234bd=a59_0x3d63;function a59_0x3d63(_0x26c992,_0x2f91a2){const _0x11cd58=a59_0x11cd();return a59_0x3d63=function(_0x3d6336,_0x4dfeaa){_0x3d6336=_0x3d6336-0xea;let _0x1c3638=_0x11cd58[_0x3d6336];return _0x1c3638;},a59_0x3d63(_0x26c992,_0x2f91a2);}(function(_0x3404b7,_0x94a75f){const _0x216e45=a59_0x3d63,_0x4bb54b=_0x3404b7();while(!![]){try{const _0x489ca3=parseInt(_0x216e45(0xf8))/0x1*(-parseInt(_0x216e45(0x100))/0x2)+parseInt(_0x216e45(0x10f))/0x3*(-parseInt(_0x216e45(0xfd))/0x4)+-parseInt(_0x216e45(0x103))/0x5*(parseInt(_0x216e45(0x109))/0x6)+-parseInt(_0x216e45(0x115))/0x7+-parseInt(_0x216e45(0x113))/0x8*(parseInt(_0x216e45(0x10e))/0x9)+parseInt(_0x216e45(0xee))/0xa+parseInt(_0x216e45(0x114))/0xb*(parseInt(_0x216e45(0xf2))/0xc);if(_0x489ca3===_0x94a75f)break;else _0x4bb54b['push'](_0x4bb54b['shift']());}catch(_0x4d917c){_0x4bb54b['push'](_0x4bb54b['shift']());}}}(a59_0x11cd,0x3fa10));const {isTrue,isBrowserstackInfra}=require(a59_0x5234bd(0xeb)),setKeepAlive=require(a59_0x5234bd(0x104)),util=require(a59_0x5234bd(0x10a)),logger=require(a59_0x5234bd(0xf5))[a59_0x5234bd(0xfe)],{shouldProcessEventForTesthub}=require(a59_0x5234bd(0xf3)),{addRequestSpy}=require(a59_0x5234bd(0xfb)),a59_0x509783={};a59_0x509783[a59_0x5234bd(0xed)]=undefined,a59_0x509783[a59_0x5234bd(0xf4)]={},a59_0x509783[a59_0x5234bd(0x106)]=![],a59_0x509783[a59_0x5234bd(0x117)]=null,a59_0x509783[a59_0x5234bd(0x105)]=![],a59_0x509783[a59_0x5234bd(0xf4)]['id']=undefined,a59_0x509783[a59_0x5234bd(0xf4)][a59_0x5234bd(0xf7)]=undefined;const workerDetails=a59_0x509783;global['__workerDetails']=workerDetails;let puppeteerPatcher=null;setKeepAlive();function a59_0x11cd(){const _0x413d11=['../../helpers/logger','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','testInfo','11569ldFCIX','jestConfig','../v2/cliUtils','../../helpers/test-observability/utils','__skipSessionStatus','12dBxpdv','winstonLogger','true','36hVCUvA','initializePuppeteerPatching','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','5Srgmhp','../../helpers/setKeepAlive','isPageFixture','o11ySyncDone','__skipSessionName','bootstrap','2705286eMYEvT','util','env','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','9zKnKtY','190758kZsLGp','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','getInstance','getPackageVersion','1976IfOszW','33DEaoYm','2933196SrubaS','PUPPETEER','pwPage','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','../../helpers/helper','setFrameworkDetail','workerInfo','1049420wyxhLZ','debug','format','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','5699352vEgSyE','../../helpers/testhub/utils','currentTest'];a59_0x11cd=function(){return _0x413d11;};return a59_0x11cd();}if(global['jestConfig'])try{isBrowserstackInfra()?(global[a59_0x5234bd(0x107)]=isTrue(global[a59_0x5234bd(0xf9)]?.['skipSessionName']),global[a59_0x5234bd(0xfc)]=isTrue(global[a59_0x5234bd(0xf9)]?.['skipSessionStatus'])):(global[a59_0x5234bd(0x107)]=!![],global[a59_0x5234bd(0xfc)]=!![]);const helper=require(a59_0x5234bd(0xeb)),puppeteerVersion=helper[a59_0x5234bd(0x112)]('puppeteer')||helper[a59_0x5234bd(0x112)]('puppeteer-core');if(puppeteerVersion)try{logger['debug'](a59_0x5234bd(0x110)),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a59_0x5234bd(0x101)](global[a59_0x5234bd(0xf9)]),logger[a59_0x5234bd(0xef)]('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a59_0x419043){logger[a59_0x5234bd(0xef)](a59_0x5234bd(0xf1)+util['format'](a59_0x419043));}if(puppeteerPatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a59_0x5234bd(0xfa)),{FRAMEWORKS}=require('../utils/constants');BrowserstackCLI[a59_0x5234bd(0x111)]()['isCliEnabled']()&&(logger['debug'](a59_0x5234bd(0x10c)),process[a59_0x5234bd(0x10b)]['BROWSERSTACK_PUPPETEER']=a59_0x5234bd(0xff),CLIUtils[a59_0x5234bd(0xec)](FRAMEWORKS['JEST'],FRAMEWORKS[a59_0x5234bd(0x116)]),BrowserstackCLI[a59_0x5234bd(0x111)]()[a59_0x5234bd(0x108)]()['catch'](_0x43a3a5=>{const _0x2f248f=a59_0x5234bd;logger[_0x2f248f(0xef)](_0x2f248f(0xf6)+util['format'](_0x43a3a5));}));}catch(a59_0x985349){logger[a59_0x5234bd(0xef)](a59_0x5234bd(0xea)+util[a59_0x5234bd(0xf0)](a59_0x985349));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a59_0x18670a){logger[a59_0x5234bd(0xef)](a59_0x5234bd(0x102)+util['format'](a59_0x18670a));}logger[a59_0x5234bd(0xef)](a59_0x5234bd(0x10d));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a60_0x27f3a8=a60_0x453d;(function(_0x3a727d,_0x1bc9c0){const _0x27f3c7=a60_0x453d,_0x56457f=_0x3a727d();while(!![]){try{const _0x27a58d=-parseInt(_0x27f3c7(0xab))/0x1+-parseInt(_0x27f3c7(0xbf))/0x2*(-parseInt(_0x27f3c7(0x8b))/0x3)+parseInt(_0x27f3c7(0xc5))/0x4+parseInt(_0x27f3c7(0xe8))/0x5+-parseInt(_0x27f3c7(0xaa))/0x6*(parseInt(_0x27f3c7(0x84))/0x7)+-parseInt(_0x27f3c7(0x9e))/0x8+-parseInt(_0x27f3c7(0xd2))/0x9;if(_0x27a58d===_0x1bc9c0)break;else _0x56457f['push'](_0x56457f['shift']());}catch(_0x409fc9){_0x56457f['push'](_0x56457f['shift']());}}}(a60_0x4951,0x67e4c));const fs=require('fs'),path=require(a60_0x27f3a8(0xd1)),util=require(a60_0x27f3a8(0x8e)),spawn=require(a60_0x27f3a8(0xb0))[a60_0x27f3a8(0x74)],{requireModule}=require(a60_0x27f3a8(0xd5)),PerformanceTester=require(a60_0x27f3a8(0xfd)),PerformanceEvents=require(a60_0x27f3a8(0xac))[a60_0x27f3a8(0x7a)],helper=require(a60_0x27f3a8(0xd5)),utilities=require(a60_0x27f3a8(0x110)),{default:BrowserStackSetup}=require(a60_0x27f3a8(0x8a)),{FRAMEWORKS}=require(a60_0x27f3a8(0xa8)),runIntegrations=require(a60_0x27f3a8(0xa5)),yargs=require(a60_0x27f3a8(0x11c)),Constants=require('./utils/constants'),BrowserstackCLI=require('./v2/browserstackCLI'),{isNewman}=require('./newman/helper'),logger=require(a60_0x27f3a8(0xc7))[a60_0x27f3a8(0xcf)],origArgs=Object['assign']([],process[a60_0x27f3a8(0xc9)]),captureError=async(_0x287dea,_0x101649,_0x10460e,_0x4d7da5=null,_0x316e63=![])=>{const _0x4a41e3=a60_0x27f3a8,_0x3c3eab={'FcSCa':function(_0x5c5f7d,_0x3687fd,_0x34e15c,_0x2a4c66){return _0x5c5f7d(_0x3687fd,_0x34e15c,_0x2a4c66);},'czjpU':_0x4a41e3(0x77)};try{logger['info'](_0x4a41e3(0xdc)+origArgs['join']('\x20')),await _0x3c3eab['FcSCa'](_0x287dea,_0x101649,_0x4d7da5,_0x10460e);}catch(_0x28685b){process[_0x4a41e3(0x105)]=0x1,logger['error'](util[_0x4a41e3(0x10e)](_0x28685b));const _0x1799b2={'globalException':util['format']('%j',_0x28685b)};PerformanceTester[_0x4a41e3(0x83)](PerformanceEvents[_0x4a41e3(0x8f)],![],util['format'](_0x28685b));if(helper['isUndefined'](global[_0x4a41e3(0xe5)])&&helper[_0x4a41e3(0x72)](global[_0x4a41e3(0x71)]))return;try{utilities[_0x4a41e3(0x82)](_0x3c3eab['czjpU'],_0x1799b2,global[_0x4a41e3(0xe5)],global[_0x4a41e3(0x71)]);}catch(_0x50974d){logger[_0x4a41e3(0xa0)](_0x4a41e3(0x108)+_0x50974d[_0x4a41e3(0xfe)]);}try{await helper[_0x4a41e3(0x119)](global[_0x4a41e3(0xe5)]);}catch(_0x5ee979){logger[_0x4a41e3(0xa0)](_0x4a41e3(0xf0)+_0x5ee979[_0x4a41e3(0xfe)]);}PerformanceTester[_0x4a41e3(0x83)](PerformanceEvents[_0x4a41e3(0x8f)],![],util[_0x4a41e3(0x10e)](_0x28685b));}finally{!_0x316e63&&await BrowserstackCLI[_0x4a41e3(0xee)]()[_0x4a41e3(0xcb)](),PerformanceTester[_0x4a41e3(0xbb)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a60_0x27f3a8(0xba)](helper[a60_0x27f3a8(0x96)](),a60_0x27f3a8(0x8c));if(fs[a60_0x27f3a8(0x10a)](browserstackFolderPath)){const filePath=path[a60_0x27f3a8(0xba)](browserstackFolderPath,a60_0x27f3a8(0xf2));fs[a60_0x27f3a8(0x10a)](filePath)&&fs[a60_0x27f3a8(0xa1)](filePath);}}catch(a60_0x40b164){logger[a60_0x27f3a8(0xa0)](a60_0x27f3a8(0xd0)+a60_0x40b164[a60_0x27f3a8(0x103)]);}process['argv'][a60_0x27f3a8(0xe4)](a60_0x27f3a8(0x7e))&&(!process[a60_0x27f3a8(0xc9)]['includes'](a60_0x27f3a8(0xda))&&process[a60_0x27f3a8(0xc9)]['push'](a60_0x27f3a8(0xf6)),!process[a60_0x27f3a8(0xc9)]['find'](_0x47bae8=>_0x47bae8[a60_0x27f3a8(0xe4)]('--config'))&&process[a60_0x27f3a8(0xc9)]['push'](a60_0x27f3a8(0xb6)),!process[a60_0x27f3a8(0xc9)]['includes']('--package')&&process[a60_0x27f3a8(0xc9)][a60_0x27f3a8(0xd6)](a60_0x27f3a8(0xe0)),helper[a60_0x27f3a8(0xe2)](process['argv'],a60_0x27f3a8(0x118),'--mochaRequire'));PerformanceTester[a60_0x27f3a8(0xbb)](PerformanceEvents[a60_0x27f3a8(0x8f)]);const a60_0x2eed39={};function a60_0x453d(_0x4a4a50,_0x2f62dc){const _0x495193=a60_0x4951();return a60_0x453d=function(_0x453de3,_0x3aff2e){_0x453de3=_0x453de3-0x70;let _0x2c8ce8=_0x495193[_0x453de3];return _0x2c8ce8;},a60_0x453d(_0x4a4a50,_0x2f62dc);}a60_0x2eed39[a60_0x27f3a8(0x128)]=![];function a60_0x4951(){const _0x4b12f9=['INTEGRATIONS','playwright','DtbSv','4yqvmRb','ALOcl','FfzHW','DEBUG_FILE','parserConfiguration','qXmIv','3002532hnzyCO','command','../helpers/logger','YMEZW','argv','eSdDn','stop','bWkwy','tQSrx','trim','winstonLogger','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','path','1219509KbcGGk','./load/index','map','../helpers/helper','push','OVgxH','showHelpOnFail','getPwChannelLogPath','--opts','INFO','Running\x20SDK\x20with\x20args\x20','JASMINE','NIGHTWATCH','jEYdO','--no-package','PvhQW','findAndReplace','CTxxL','includes','config','ANgmd','pOHaX','2654970dUcLCK','./playwright/command','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','../../ats/src/index','jsWBe','./codeceptjs/command','getInstance','ZSFiS','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','TJiyY','.local-not-set.json','exitProcess','./jest/command','setBrowserStackAutomationDisable','--no-opts','zrxWf','SQUkh','./testcafe/command','nWEYI','VSgol','HKFEl','../helpers/performance/performance-tester','stack','TESTCAFE','env','HST','mocha/lib/cli/cli.js','message','mocha/lib/cli/commands.js','exitCode','node','integrations','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','./vanilla-js/command','existsSync','./nightwatch/command','some','bIGQU','format','CODECEPTJS','../helpers/utilities','KiwZu','nSFsQ','Kmtgl','ezRsB','alias','./jasmine/command','Show\x20help','--require','sendLogs','mocha/lib/cli/run.js','nWZOL','yargs','disableAutoCaptureLogs','PNymz','UwZwH','eetoB','XUuQG','option','DxkPG','slice','CnBmP','Qedwg','filter','dot-notation','describe','ats','framework','isUndefined','pw:*','spawn','thfCG','newman','SDKTestSuccessful','Bghro','WDdli','EVENTS','load\x20[subcommand]','JEST','setTestObservabilityDisable','mocha','boolean','GCezF','BROWSERSTACK_CONFIG_FILE_PATH','fireFunnelTestEvent','end','35wViePp','run','-pw:*','PLAYWRIGHT','./newman/command','handler','../helpers/BrowserStackSetup','919299bSYUud','.browserstack','vanilla','util','SDK_SETUP','DEBUG','fTXug','getConfigPath','VERSION','ztUhY','VANILLA','homedir','help','Runs\x20the\x20binary\x20with\x20load\x20command','strict','./cucumber-js/command','CBlnn','wrap','CUCUMBER','4144856TYEGBV','cucumber-js','debug','unlinkSync','ZLTLr','Vbtzh','GYeYZ','./integrations/command','usage:\x20$0\x20<command>\x20[args]','nightwatch','../helpers/test-observability/constants','NEWMAN','323436EXYsfh','545807TVLGHh','../helpers/performance/constants','jest','-pw:channel','HCzsz','child_process','cZyGA','codeceptjs','usage','testcafe','ssUEF','--no-config','Parsing\x20command\x20line\x20arguments','./mocha/command','VWLiP','join','start'];a60_0x4951=function(){return _0x4b12f9;};return a60_0x4951();}const argv=yargs[a60_0x27f3a8(0xc3)](a60_0x2eed39)[a60_0x27f3a8(0xb3)](a60_0x27f3a8(0xa6))[a60_0x27f3a8(0x115)]('v','version')[a60_0x27f3a8(0x129)]('v')['alias']('h',a60_0x27f3a8(0x97))[a60_0x27f3a8(0x97)](a60_0x27f3a8(0x97))[a60_0x27f3a8(0xd8)](!![],Constants[a60_0x27f3a8(0x93)]['HELP'])[a60_0x27f3a8(0xc6)](a60_0x27f3a8(0xad),Constants[a60_0x27f3a8(0x7c)][a60_0x27f3a8(0xdb)],function(_0xb5a2c3){const _0x16f201=a60_0x27f3a8,_0x56c86f={'HCzsz':_0x16f201(0xad),'PNymz':function(_0xa1005b,_0x548a71,_0x5b2f90,_0x28701c,_0x51d235,_0x537d44){return _0xa1005b(_0x548a71,_0x5b2f90,_0x28701c,_0x51d235,_0x537d44);},'GYeYZ':function(_0x5cf8a8,_0x240d76){return _0x5cf8a8(_0x240d76);},'UwZwH':_0x16f201(0xf4)},_0x204fe8=process[_0x16f201(0xc9)][_0x16f201(0x124)](0x2);helper[_0x16f201(0x7d)](),helper[_0x16f201(0xf5)](),_0xb5a2c3['strict'](![]);const _0x36938b=new BrowserStackSetup(_0xb5a2c3[_0x16f201(0xc9)],_0x56c86f[_0x16f201(0xaf)]);return _0x56c86f[_0x16f201(0x11e)](captureError,_0x56c86f[_0x16f201(0xa4)](require,_0x56c86f[_0x16f201(0x11f)]),_0xb5a2c3['argv'],_0x36938b,_0x204fe8,!![]);})[a60_0x27f3a8(0xc6)]('jasmine',Constants[a60_0x27f3a8(0xdd)][a60_0x27f3a8(0xdb)],function(_0x11f5ff){const _0x23ef35=a60_0x27f3a8,_0x495576={'EEcFU':'jasmine','bWkwy':function(_0x48b6aa,_0xa833ae,_0x50e8c7,_0x10d87b,_0xeca0bc,_0x6abd0c){return _0x48b6aa(_0xa833ae,_0x50e8c7,_0x10d87b,_0xeca0bc,_0x6abd0c);},'DtbSv':function(_0x349666,_0x3a28ee){return _0x349666(_0x3a28ee);},'bIGQU':_0x23ef35(0x116)},_0x1c3d7d=process[_0x23ef35(0xc9)]['slice'](0x2);helper[_0x23ef35(0x7d)](),helper[_0x23ef35(0xf5)](),_0x11f5ff[_0x23ef35(0x99)](![]);const _0x3036a8=new BrowserStackSetup(_0x11f5ff['argv'],_0x495576['EEcFU']);return _0x495576[_0x23ef35(0xcc)](captureError,_0x495576[_0x23ef35(0xbe)](require,_0x495576[_0x23ef35(0x10d)]),_0x11f5ff[_0x23ef35(0xc9)],_0x3036a8,_0x1c3d7d,!![]);})[a60_0x27f3a8(0xc6)](a60_0x27f3a8(0x7e),Constants['MOCHA'][a60_0x27f3a8(0xdb)],_0x1140f3=>{const _0x2eec7e=a60_0x27f3a8,_0x5dbbd4={'MHkfh':function(_0x11dd8b,_0x2e25b1,_0x4a4456,_0x1af0d5){return _0x11dd8b(_0x2e25b1,_0x4a4456,_0x1af0d5);},'TJiyY':function(_0x4e8a23,_0x43d781){return _0x4e8a23(_0x43d781);},'CnBmP':_0x2eec7e(0xb8),'nSFsQ':_0x2eec7e(0x7e),'ZUYYm':_0x2eec7e(0xb7),'KiwZu':function(_0x159b48,_0x2d6bba,_0x1a850d){return _0x159b48(_0x2d6bba,_0x1a850d);},'YMEZW':_0x2eec7e(0x11a),'CTxxL':_0x2eec7e(0x104),'nWEYI':_0x2eec7e(0x102),'ANgmd':function(_0x281a15){return _0x281a15();}};process[_0x2eec7e(0xc9)]=process[_0x2eec7e(0xc9)][_0x2eec7e(0x124)](0x1),helper[_0x2eec7e(0x7d)](),helper[_0x2eec7e(0xf5)]();const _0x543b96=new BrowserStackSetup(_0x1140f3[_0x2eec7e(0xc9)],_0x5dbbd4['nSFsQ']);logger['debug'](_0x5dbbd4['ZUYYm']);const _0x165e6a=_0x5dbbd4[_0x2eec7e(0x111)](requireModule,_0x5dbbd4[_0x2eec7e(0xc8)],_0x5dbbd4[_0x2eec7e(0x112)]),_0x5d09c2=_0x5dbbd4[_0x2eec7e(0x111)](requireModule,_0x5dbbd4[_0x2eec7e(0xe3)],_0x5dbbd4['nSFsQ']);delete _0x165e6a[_0x2eec7e(0x89)],_0x165e6a['handler']=function(_0x4b9601){const _0x364603=_0x2eec7e;return _0x5dbbd4['MHkfh'](captureError,_0x5dbbd4[_0x364603(0xf1)](require,_0x5dbbd4[_0x364603(0x125)]),_0x4b9601,_0x543b96);},_0x5d09c2[_0x2eec7e(0x85)]=_0x165e6a;const {main:_0x1b3ffe}=_0x5dbbd4['KiwZu'](requireModule,_0x5dbbd4[_0x2eec7e(0xfa)],_0x5dbbd4[_0x2eec7e(0x112)]);_0x5dbbd4[_0x2eec7e(0xe6)](_0x1b3ffe);})[a60_0x27f3a8(0xc6)](a60_0x27f3a8(0x9f),Constants[a60_0x27f3a8(0x9d)][a60_0x27f3a8(0xdb)],function(_0x49ef63){const _0x286998=a60_0x27f3a8,_0x57334={'jEYdO':'cucumber-js','Vbtzh':function(_0x53cd47,_0x3b60cb,_0x5edb9a,_0x6e4208,_0x221aee,_0x21add3){return _0x53cd47(_0x3b60cb,_0x5edb9a,_0x6e4208,_0x221aee,_0x21add3);},'cZyGA':function(_0x3c2e34,_0x4811a1){return _0x3c2e34(_0x4811a1);},'eSdDn':_0x286998(0x9a)},_0x4b14e2=process[_0x286998(0xc9)][_0x286998(0x124)](0x2),_0x2be7bc=new BrowserStackSetup(_0x49ef63[_0x286998(0xc9)],_0x57334[_0x286998(0xdf)]);return _0x57334[_0x286998(0xa3)](captureError,_0x57334[_0x286998(0xb1)](require,_0x57334[_0x286998(0xca)]),_0x49ef63['argv'],_0x2be7bc,_0x4b14e2,!![]);})[a60_0x27f3a8(0xc6)](a60_0x27f3a8(0x106),Constants[a60_0x27f3a8(0x95)]['INFO'],function(_0x162785){const _0x56e18e=a60_0x27f3a8,_0x5e126f={'VSgol':_0x56e18e(0x8d),'ssUEF':function(_0x76a067,_0x196f23){return _0x76a067(_0x196f23);},'CBlnn':'newman','ZSFiS':function(_0x4b0e72,_0xc17c0a,_0x29c36,_0x3a3be4,_0x76a3d9){return _0x4b0e72(_0xc17c0a,_0x29c36,_0x3a3be4,_0x76a3d9);},'OdcLK':function(_0x2702c2,_0x23b265){return _0x2702c2(_0x23b265);},'Bghro':_0x56e18e(0x88),'Qedwg':function(_0x4a6022,_0x32434b){return _0x4a6022(_0x32434b);},'fTXug':_0x56e18e(0x109)},_0x4de83b=process[_0x56e18e(0xc9)][_0x56e18e(0x124)](0x2),_0x6da59c=new BrowserStackSetup(_0x162785[_0x56e18e(0xc9)],_0x5e126f[_0x56e18e(0xfb)]),_0x5c02af=_0x6da59c?_0x6da59c[_0x56e18e(0xe5)]:null;if(_0x5e126f[_0x56e18e(0xb5)](isNewman,_0x5c02af))return _0x6da59c[_0x56e18e(0x71)]=_0x5e126f[_0x56e18e(0x9b)],global[_0x56e18e(0x71)]=_0x5e126f[_0x56e18e(0x9b)],_0x5e126f['ZSFiS'](captureError,_0x5e126f['OdcLK'](require,_0x5e126f[_0x56e18e(0x78)]),_0x162785[_0x56e18e(0xc9)],_0x6da59c,_0x4de83b);return _0x5e126f[_0x56e18e(0xef)](captureError,_0x5e126f[_0x56e18e(0x126)](require,_0x5e126f[_0x56e18e(0x91)]),_0x162785[_0x56e18e(0xc9)],_0x6da59c,_0x4de83b);})['command'](a60_0x27f3a8(0xa7),Constants[a60_0x27f3a8(0xde)][a60_0x27f3a8(0xdb)],function(_0x394b49){const _0x108249=a60_0x27f3a8,_0x4ccad2={'mcUAL':_0x108249(0xa7),'ztUhY':function(_0x4a1cd7,_0x29d035,_0x54b7c1,_0xdd2bf9,_0x357e89){return _0x4a1cd7(_0x29d035,_0x54b7c1,_0xdd2bf9,_0x357e89);},'UukwG':function(_0x4aef42,_0x34805d){return _0x4aef42(_0x34805d);},'yHrmD':_0x108249(0x10b)},_0x89ed09=process['argv'][_0x108249(0x124)](0x2),_0x3895c2=new BrowserStackSetup(_0x394b49[_0x108249(0xc9)],_0x4ccad2['mcUAL']);return _0x4ccad2[_0x108249(0x94)](captureError,_0x4ccad2['UukwG'](require,_0x4ccad2['yHrmD']),_0x394b49[_0x108249(0xc9)],_0x3895c2,_0x89ed09);})[a60_0x27f3a8(0xc6)](a60_0x27f3a8(0xb2),Constants[a60_0x27f3a8(0x10f)][a60_0x27f3a8(0xdb)],function(_0x409de6){const _0x47e1f0=a60_0x27f3a8,_0x396bea={'ALOcl':_0x47e1f0(0xb2),'QtJBT':function(_0xbc1975,_0x2dec7b,_0x274fdc,_0x8d8637,_0xdda4fd){return _0xbc1975(_0x2dec7b,_0x274fdc,_0x8d8637,_0xdda4fd);},'ZLTLr':function(_0x523014,_0x121485){return _0x523014(_0x121485);},'ezRsB':_0x47e1f0(0xed)},_0x1aff4d=process['argv'][_0x47e1f0(0x124)](0x2),_0x32733e=new BrowserStackSetup(_0x409de6[_0x47e1f0(0xc9)],_0x396bea[_0x47e1f0(0xc0)]);return _0x396bea['QtJBT'](captureError,_0x396bea[_0x47e1f0(0xa2)](require,_0x396bea[_0x47e1f0(0x114)]),_0x409de6[_0x47e1f0(0xc9)],_0x32733e,_0x1aff4d);})['command'](a60_0x27f3a8(0x70),Constants[a60_0x27f3a8(0x101)][a60_0x27f3a8(0xdb)],function(_0x459969){const _0x457aea=a60_0x27f3a8,_0x5e4949={'XUuQG':function(_0x23c4d9,_0x2bf5ab,_0x31e797){return _0x23c4d9(_0x2bf5ab,_0x31e797);},'SQUkh':function(_0x218d70,_0x2bed2f){return _0x218d70(_0x2bed2f);},'qXmIv':_0x457aea(0xeb)},_0x404943=process[_0x457aea(0xc9)]['slice'](0x2);return _0x5e4949[_0x457aea(0x121)](captureError,_0x5e4949[_0x457aea(0xf8)](require,_0x5e4949[_0x457aea(0xc4)]),_0x459969);})['command'](a60_0x27f3a8(0x107),Constants[a60_0x27f3a8(0xbc)]['INFO'],function(_0x2d3baf){const _0x212fd1=a60_0x27f3a8,_0x1f82b9={'jsWBe':function(_0xd092ba,_0x1aff78){return _0xd092ba(_0x1aff78);}};return _0x1f82b9[_0x212fd1(0xec)](runIntegrations,_0x2d3baf);})['command'](a60_0x27f3a8(0xbd),Constants[a60_0x27f3a8(0x87)][a60_0x27f3a8(0xdb)],function(_0x2fbda9){const _0x2d4d69=a60_0x27f3a8,_0x1b505b={'FfzHW':'pw:channel','GWrwU':function(_0x3a9cfd,_0x336148){return _0x3a9cfd&&_0x336148;},'PvhQW':function(_0x3c6e56,_0x4b0d5d,_0x4bb394,_0x498ced,_0xef7931,_0x14efbe){return _0x3c6e56(_0x4b0d5d,_0x4bb394,_0x498ced,_0xef7931,_0x14efbe);},'thfCG':function(_0x50696c,_0x4e1866){return _0x50696c(_0x4e1866);},'GCezF':_0x2d4d69(0xe9)},_0x50cb7d=process['argv'][_0x2d4d69(0x124)](0x2);helper[_0x2d4d69(0x92)](process['argv'])&&(process[_0x2d4d69(0x100)][_0x2d4d69(0x81)]=helper[_0x2d4d69(0x92)](process['argv']));helper[_0x2d4d69(0x7d)](),helper[_0x2d4d69(0xf5)]();const _0xe87bdc=new BrowserStackSetup(_0x2fbda9['argv'],FRAMEWORKS['PLAYWRIGHT']);try{if(!_0xe87bdc[_0x2d4d69(0xe5)]||!_0xe87bdc[_0x2d4d69(0xe5)][_0x2d4d69(0x11d)]){const _0x1ad413=_0x1b505b[_0x2d4d69(0xc1)],_0x433aa1=process[_0x2d4d69(0x100)][_0x2d4d69(0x90)]||'',_0x577de3=_0x433aa1['split'](',')[_0x2d4d69(0xd4)](_0x1d4401=>_0x1d4401[_0x2d4d69(0xce)]())[_0x2d4d69(0x127)](Boolean),_0x4de09b=_0x577de3[_0x2d4d69(0x10c)](_0x1e3173=>_0x1e3173===_0x2d4d69(0xae)||_0x1e3173===_0x2d4d69(0x86)||_0x1e3173==='-*'),_0x19e65c=_0x577de3[_0x2d4d69(0x10c)](_0x277f13=>_0x277f13===_0x1ad413||_0x277f13===_0x2d4d69(0x73)||_0x277f13==='*');if(_0x1b505b['GWrwU'](!_0x4de09b,!_0x19e65c)){const _0x2fa018=helper[_0x2d4d69(0xd9)]();_0x2fa018&&(process[_0x2d4d69(0x100)]['DEBUG']=_0x433aa1?_0x433aa1+','+_0x1ad413:_0x1ad413,!process[_0x2d4d69(0x100)]['DEBUG_FILE']&&(process[_0x2d4d69(0x100)][_0x2d4d69(0xc2)]=_0x2fa018));}}}catch(_0x4ee891){logger[_0x2d4d69(0xa0)]('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x2d4d69(0x10e)](_0x4ee891));}return _0x1b505b[_0x2d4d69(0xe1)](captureError,_0x1b505b[_0x2d4d69(0x75)](require,_0x1b505b[_0x2d4d69(0x80)]),_0x2fbda9[_0x2d4d69(0xc9)],_0xe87bdc,_0x50cb7d,!![]);})['command']('testcafe',Constants[a60_0x27f3a8(0xff)][a60_0x27f3a8(0xdb)],function(_0x3895b1){const _0x321120=a60_0x27f3a8,_0x51346d={'nWZOL':_0x321120(0xb4),'tQSrx':function(_0x92e33e,_0x5369a7,_0x16a49b,_0x485db7,_0x35886c,_0x1d9e46){return _0x92e33e(_0x5369a7,_0x16a49b,_0x485db7,_0x35886c,_0x1d9e46);},'Kmtgl':function(_0x10a1a3,_0x483bb9){return _0x10a1a3(_0x483bb9);},'VWLiP':_0x321120(0xf9)},_0x42f5a1=process[_0x321120(0xc9)][_0x321120(0x124)](0x2),_0x191ba7=new BrowserStackSetup(_0x3895b1[_0x321120(0xc9)],_0x51346d[_0x321120(0x11b)]);return _0x51346d[_0x321120(0xcd)](captureError,_0x51346d[_0x321120(0x113)](require,_0x51346d[_0x321120(0xb9)]),_0x3895b1['argv'],_0x191ba7,_0x42f5a1,!![]);})[a60_0x27f3a8(0xc6)](a60_0x27f3a8(0x7b),a60_0x27f3a8(0x98),function(_0x4de9d0){const _0x44a8cf=a60_0x27f3a8,_0x3a5319={};_0x3a5319['ugCeW']=_0x44a8cf(0x97),_0x3a5319['KIixi']=_0x44a8cf(0x7f),_0x3a5319[_0x44a8cf(0xfc)]=_0x44a8cf(0x117);const _0x1b2d81=_0x3a5319;return _0x4de9d0[_0x44a8cf(0x97)](![])[_0x44a8cf(0x122)](_0x1b2d81['ugCeW'],{'alias':'h','type':_0x1b2d81['KIixi'],'describe':_0x1b2d81['HKFEl']})[_0x44a8cf(0x99)](![])[_0x44a8cf(0xf3)](![]);},function(_0x158352){const _0x27cd62=a60_0x27f3a8,_0x502bca={'zrxWf':function(_0x25fae,_0x44feb2,_0x1aa5f2){return _0x25fae(_0x44feb2,_0x1aa5f2);},'OVgxH':function(_0x15a61b,_0x21cf1a){return _0x15a61b(_0x21cf1a);},'ZNBsN':_0x27cd62(0xd3)},_0x40ba0e={};return _0x40ba0e['argv']=_0x158352,_0x502bca[_0x27cd62(0xf7)](captureError,_0x502bca[_0x27cd62(0xd7)](require,_0x502bca['ZNBsN']),_0x40ba0e);})[a60_0x27f3a8(0xc6)](a60_0x27f3a8(0x76),Constants[a60_0x27f3a8(0xa9)]['INFO'],function(_0x2003f0){const _0x371111=a60_0x27f3a8,_0x45c2a7={'DxkPG':'newman','pOHaX':function(_0x165137,_0xa3f8c5,_0x586378,_0x39a63b,_0x2c4dda){return _0x165137(_0xa3f8c5,_0x586378,_0x39a63b,_0x2c4dda);},'WDdli':function(_0x155e8b,_0x363676){return _0x155e8b(_0x363676);},'eetoB':'./newman/command'},_0x3f3baa=process[_0x371111(0xc9)][_0x371111(0x124)](0x2);helper[_0x371111(0x7d)](),helper[_0x371111(0xf5)](),_0x2003f0[_0x371111(0x99)](![]);const _0x53d706=new BrowserStackSetup(_0x2003f0[_0x371111(0xc9)],_0x45c2a7[_0x371111(0x123)]);return _0x45c2a7[_0x371111(0xe7)](captureError,_0x45c2a7[_0x371111(0x79)](require,_0x45c2a7[_0x371111(0x120)]),_0x2003f0[_0x371111(0xc9)],_0x53d706,_0x3f3baa);})['demandCommand'](0x1,a60_0x27f3a8(0xea))[a60_0x27f3a8(0x9c)](null)['argv'];!helper[a60_0x27f3a8(0x72)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x27f3a8(0x70)&&console['error']('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a60_0x362c83=a60_0xba71;(function(_0x3e1455,_0xb3415f){const _0x3dbc7f=a60_0xba71,_0x299a31=_0x3e1455();while(!![]){try{const _0xcfd127=parseInt(_0x3dbc7f(0x14e))/0x1*(parseInt(_0x3dbc7f(0xf0))/0x2)+parseInt(_0x3dbc7f(0x129))/0x3+-parseInt(_0x3dbc7f(0x11f))/0x4*(-parseInt(_0x3dbc7f(0x109))/0x5)+parseInt(_0x3dbc7f(0x12e))/0x6+parseInt(_0x3dbc7f(0x167))/0x7+parseInt(_0x3dbc7f(0x13e))/0x8*(-parseInt(_0x3dbc7f(0x102))/0x9)+-parseInt(_0x3dbc7f(0xd1))/0xa*(parseInt(_0x3dbc7f(0x104))/0xb);if(_0xcfd127===_0xb3415f)break;else _0x299a31['push'](_0x299a31['shift']());}catch(_0x574c34){_0x299a31['push'](_0x299a31['shift']());}}}(a60_0x11d2,0xb42da));const fs=require('fs'),path=require(a60_0x362c83(0xbb)),util=require(a60_0x362c83(0x15f)),spawn=require(a60_0x362c83(0xc9))[a60_0x362c83(0x12b)],{requireModule}=require(a60_0x362c83(0xef)),PerformanceTester=require(a60_0x362c83(0xc6)),PerformanceEvents=require(a60_0x362c83(0xf8))[a60_0x362c83(0x125)],helper=require(a60_0x362c83(0xef)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a60_0x362c83(0x163)),{FRAMEWORKS}=require(a60_0x362c83(0x103)),runIntegrations=require('./integrations/command'),yargs=require(a60_0x362c83(0xbe)),Constants=require(a60_0x362c83(0x12f)),BrowserstackCLI=require(a60_0x362c83(0x16b)),{isNewman}=require('./newman/helper'),logger=require(a60_0x362c83(0xc5))['winstonLogger'],origArgs=Object['assign']([],process[a60_0x362c83(0x113)]),captureError=async(_0x3f06d8,_0xd92d09,_0x935833,_0x5005a9=null,_0x123293=![])=>{const _0x34489f=a60_0x362c83,_0x16e6c3={'oeKJi':function(_0x2dc4d6,_0x1f0843,_0x489c4d,_0x5cf3b0){return _0x2dc4d6(_0x1f0843,_0x489c4d,_0x5cf3b0);},'owxXk':_0x34489f(0x137),'aUQmG':function(_0x8b884e,_0x17f7de){return _0x8b884e&&_0x17f7de;}};let _0x409250=![];try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x34489f(0x10f)]('\x20')),await _0x16e6c3[_0x34489f(0x119)](_0x3f06d8,_0xd92d09,_0x5005a9,_0x935833);}catch(_0x529147){process[_0x34489f(0x100)]=0x1,logger['error'](util[_0x34489f(0x11d)](_0x529147));const _0x3c9d86={'globalException':util[_0x34489f(0x11d)]('%j',_0x529147)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x34489f(0x11d)](_0x529147));if(helper[_0x34489f(0xfb)](global['config'])&&helper[_0x34489f(0xfb)](global[_0x34489f(0x140)]))return;try{utilities[_0x34489f(0xd9)](_0x16e6c3['owxXk'],_0x3c9d86,global[_0x34489f(0xe4)],global[_0x34489f(0x140)]);}catch(_0x49e4fb){logger['debug'](_0x34489f(0x120)+_0x49e4fb[_0x34489f(0x14c)]);}if(!_0x123293)try{await BrowserstackCLI[_0x34489f(0x13c)]()[_0x34489f(0x12a)](),_0x409250=!![];}catch(_0x5d07fc){logger[_0x34489f(0x10c)](_0x34489f(0x168)+_0x5d07fc['stack']);}try{await helper['sendLogs'](global[_0x34489f(0xe4)]);}catch(_0x1b7b66){logger[_0x34489f(0x10c)](_0x34489f(0x11b)+_0x1b7b66[_0x34489f(0x14c)]);}PerformanceTester[_0x34489f(0xf4)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x529147));}finally{_0x16e6c3[_0x34489f(0x10a)](!_0x123293,!_0x409250)&&await BrowserstackCLI[_0x34489f(0x13c)]()[_0x34489f(0x12a)](),PerformanceTester[_0x34489f(0x151)](PerformanceEvents['SDK_CLEANUP']);}};function a60_0xba71(_0x35a68d,_0x23afdd){const _0x11d29e=a60_0x11d2();return a60_0xba71=function(_0xba715a,_0xd05107){_0xba715a=_0xba715a-0xb7;let _0x4ea9c3=_0x11d29e[_0xba715a];return _0x4ea9c3;},a60_0xba71(_0x35a68d,_0x23afdd);}try{const browserstackFolderPath=path[a60_0x362c83(0x10f)](helper[a60_0x362c83(0xcb)](),a60_0x362c83(0xf5));if(fs[a60_0x362c83(0xe9)](browserstackFolderPath)){const filePath=path[a60_0x362c83(0x10f)](browserstackFolderPath,a60_0x362c83(0xd0));fs[a60_0x362c83(0xe9)](filePath)&&fs[a60_0x362c83(0x157)](filePath);}}catch(a60_0x442d70){logger[a60_0x362c83(0x10c)](a60_0x362c83(0xd4)+a60_0x442d70['message']);}process['argv'][a60_0x362c83(0x15c)]('mocha')&&(!process[a60_0x362c83(0x113)][a60_0x362c83(0x15c)]('--opts')&&process[a60_0x362c83(0x113)][a60_0x362c83(0x162)](a60_0x362c83(0xb9)),!process[a60_0x362c83(0x113)][a60_0x362c83(0x142)](_0x6b6e62=>_0x6b6e62['includes'](a60_0x362c83(0xe7)))&&process[a60_0x362c83(0x113)][a60_0x362c83(0x162)](a60_0x362c83(0xeb)),!process['argv'][a60_0x362c83(0x15c)]('--package')&&process[a60_0x362c83(0x113)][a60_0x362c83(0x162)](a60_0x362c83(0xb7)),helper[a60_0x362c83(0x153)](process['argv'],a60_0x362c83(0xfd),a60_0x362c83(0x16a)));PerformanceTester[a60_0x362c83(0x151)](PerformanceEvents[a60_0x362c83(0xfa)]);const a60_0x2570e7={};a60_0x2570e7[a60_0x362c83(0x107)]=![];function a60_0x11d2(){const _0x35c07f=['./utils/constants','./mocha/command','help','disableAutoCaptureLogs','./codeceptjs/command','handler','nqTSy','UCcwT','SDKTestSuccessful','HST','dkkUD','slice','ZStZp','getInstance','MOCHA','366056ASCMyX','KCFHe','framework','option','find','WgSYH','getConfigPath','Runs\x20the\x20binary\x20with\x20load\x20command','jest','playwright','INFO','./vanilla-js/command','opbbP','setTestObservabilityDisable','stack','yUWtG','7921siaJMi','BROWSERSTACK_CONFIG_FILE_PATH','nightwatch','start','uIrsj','findAndReplace','nLqgq','HAQQK','vfBfS','unlinkSync','CUCUMBER','OIsQs','usage','JMJGu','includes','./testcafe/command','JASMINE','util','./jasmine/command','JuqBa','push','../helpers/BrowserStackSetup','setBrowserStackAutomationDisable','./jest/command','kPhMJ','3284477oPoLYF','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','xzCxG','--mochaRequire','./v2/browserstackCLI','maTax','--no-package','UMFyL','--no-opts','filter','path','describe','./cucumber-js/command','yargs','env','KmNhD','UqvEB','WWYmd','run','Parsing\x20command\x20line\x20arguments','../helpers/logger','../helpers/performance/performance-tester','./newman/command','alias','child_process','mocha','homedir','rDATO','exitProcess','getPwChannelLogPath','VGhsR','.local-not-set.json','3457570hptqEC','CODECEPTJS','zZqGk','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','OWFOQ','VANILLA','./playwright/command','kuiCx','fireFunnelTestEvent','showHelpOnFail','rJQdM','error','JxruE','GpGav','DEBUG','../../ats/src/index','strict','ats','Udzde','config','node','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','--config','WBEfK','existsSync','GqYKo','--no-config','PLAYWRIGHT','testcafe','EnQae','../helpers/helper','48fNDhVS','Show\x20help','integrations','HELP','end','.browserstack','MYNzf','qlFVf','../helpers/performance/constants','mocha/lib/cli/commands.js','SDK_SETUP','isUndefined','HgRDm','--require','some','version','exitCode','boolean','117nJJRPw','../helpers/test-observability/constants','88aWsDDj','OqsXI','cHSek','dot-notation','TjLiO','6063595IOXbZf','aUQmG','pw:channel\x20auto-capture\x20seed\x20failed:\x20','debug','jasmine','NIGHTWATCH','join','knIjK','-pw:*','hlMWI','argv','tnsYz','FnkTs','koTeO','usage:\x20$0\x20<command>\x20[args]','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','oeKJi','wrap','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','./load/index','format','parserConfiguration','4UBFFuU','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','command','newman','WkoUt','yfEvU','EVENTS','TESTCAFE','mocha/lib/cli/run.js','cucumber-js','2652141fjJWIU','stop','spawn','INTEGRATIONS','DEBUG_FILE','8056956RfRWCQ'];a60_0x11d2=function(){return _0x35c07f;};return a60_0x11d2();}const argv=yargs[a60_0x362c83(0x11e)](a60_0x2570e7)[a60_0x362c83(0x15a)](a60_0x362c83(0x117))[a60_0x362c83(0xc8)]('v',a60_0x362c83(0xff))[a60_0x362c83(0xbc)]('v')[a60_0x362c83(0xc8)]('h',a60_0x362c83(0x131))[a60_0x362c83(0x131)]('help')[a60_0x362c83(0xda)](!![],Constants['VERSION'][a60_0x362c83(0xf3)])[a60_0x362c83(0x121)]('jest',Constants['JEST'][a60_0x362c83(0x148)],function(_0x2d9371){const _0x65d05e=a60_0x362c83,_0x2d8d36={'rJQdM':_0x65d05e(0x146),'wzKke':function(_0x2ef4ba,_0x5780a9,_0x2ef060,_0x54e093,_0x3e6be0,_0xfd1a12){return _0x2ef4ba(_0x5780a9,_0x2ef060,_0x54e093,_0x3e6be0,_0xfd1a12);},'JMJGu':function(_0x16fd76,_0x555ac4){return _0x16fd76(_0x555ac4);},'GqYKo':_0x65d05e(0x165)},_0x53e682=process[_0x65d05e(0x113)][_0x65d05e(0x13a)](0x2);helper['setTestObservabilityDisable'](),helper[_0x65d05e(0x164)](),_0x2d9371[_0x65d05e(0xe1)](![]);const _0x48a812=new BrowserStackSetup(_0x2d9371[_0x65d05e(0x113)],_0x2d8d36[_0x65d05e(0xdb)]);return _0x2d8d36['wzKke'](captureError,_0x2d8d36[_0x65d05e(0x15b)](require,_0x2d8d36[_0x65d05e(0xea)]),_0x2d9371[_0x65d05e(0x113)],_0x48a812,_0x53e682,!![]);})[a60_0x362c83(0x121)](a60_0x362c83(0x10d),Constants[a60_0x362c83(0x15e)][a60_0x362c83(0x148)],function(_0x9b3562){const _0x25d09c=a60_0x362c83,_0x520cc8={'OqsXI':_0x25d09c(0x10d),'GpGav':function(_0x2958e1,_0x5ae17d,_0x1f9810,_0x3f4ac7,_0x399c32,_0xbec57c){return _0x2958e1(_0x5ae17d,_0x1f9810,_0x3f4ac7,_0x399c32,_0xbec57c);},'MYNzf':function(_0xc9c511,_0x2e30f0){return _0xc9c511(_0x2e30f0);},'dkkUD':_0x25d09c(0x160)},_0x7b3f71=process[_0x25d09c(0x113)][_0x25d09c(0x13a)](0x2);helper[_0x25d09c(0x14b)](),helper[_0x25d09c(0x164)](),_0x9b3562[_0x25d09c(0xe1)](![]);const _0x5df6be=new BrowserStackSetup(_0x9b3562['argv'],_0x520cc8[_0x25d09c(0x105)]);return _0x520cc8[_0x25d09c(0xde)](captureError,_0x520cc8[_0x25d09c(0xf6)](require,_0x520cc8[_0x25d09c(0x139)]),_0x9b3562['argv'],_0x5df6be,_0x7b3f71,!![]);})[a60_0x362c83(0x121)](a60_0x362c83(0xca),Constants[a60_0x362c83(0x13d)][a60_0x362c83(0x148)],_0x339241=>{const _0x989d7d=a60_0x362c83,_0x25d9f0={'RhZxX':function(_0x139f2e,_0x28f3d8,_0x3cc329,_0x2a34b4){return _0x139f2e(_0x28f3d8,_0x3cc329,_0x2a34b4);},'VGhsR':function(_0x50192f,_0x3a191e){return _0x50192f(_0x3a191e);},'nqTSy':_0x989d7d(0x130),'ZStZp':_0x989d7d(0xca),'kuiCx':_0x989d7d(0xc4),'UqvEB':function(_0x477ec0,_0x2af13b,_0x4af82c){return _0x477ec0(_0x2af13b,_0x4af82c);},'PdBVK':_0x989d7d(0x127),'tnsYz':_0x989d7d(0xf9),'nLqgq':'mocha/lib/cli/cli.js','WBEfK':function(_0x4311a0){return _0x4311a0();}};process['argv']=process['argv'][_0x989d7d(0x13a)](0x1),helper[_0x989d7d(0x14b)](),helper[_0x989d7d(0x164)]();const _0x1d78c9=new BrowserStackSetup(_0x339241[_0x989d7d(0x113)],_0x25d9f0[_0x989d7d(0x13b)]);logger['debug'](_0x25d9f0[_0x989d7d(0xd8)]);const _0x36eae5=_0x25d9f0[_0x989d7d(0xc1)](requireModule,_0x25d9f0['PdBVK'],_0x25d9f0[_0x989d7d(0x13b)]),_0x4bd5b1=_0x25d9f0['UqvEB'](requireModule,_0x25d9f0[_0x989d7d(0x114)],_0x25d9f0[_0x989d7d(0x13b)]);delete _0x36eae5[_0x989d7d(0x134)],_0x36eae5[_0x989d7d(0x134)]=function(_0x5a31ec){const _0x2e27fc=_0x989d7d;return _0x25d9f0['RhZxX'](captureError,_0x25d9f0[_0x2e27fc(0xcf)](require,_0x25d9f0[_0x2e27fc(0x135)]),_0x5a31ec,_0x1d78c9);},_0x4bd5b1[_0x989d7d(0xc3)]=_0x36eae5;const {main:_0x236c6c}=_0x25d9f0['UqvEB'](requireModule,_0x25d9f0[_0x989d7d(0x154)],_0x25d9f0[_0x989d7d(0x13b)]);_0x25d9f0[_0x989d7d(0xe8)](_0x236c6c);})[a60_0x362c83(0x121)](a60_0x362c83(0x128),Constants[a60_0x362c83(0x158)][a60_0x362c83(0x148)],function(_0x3cf10f){const _0x175ea0=a60_0x362c83,_0x3545c7={'JuqBa':'cucumber-js','WkoUt':function(_0x1602ef,_0xe27b3,_0x5f5027,_0x1d27d0,_0x183c5c,_0x35ea33){return _0x1602ef(_0xe27b3,_0x5f5027,_0x1d27d0,_0x183c5c,_0x35ea33);},'EnQae':function(_0x1b6547,_0x58ad41){return _0x1b6547(_0x58ad41);},'nWCmv':_0x175ea0(0xbd)},_0x5ddfbf=process['argv'][_0x175ea0(0x13a)](0x2),_0x5521c8=new BrowserStackSetup(_0x3cf10f[_0x175ea0(0x113)],_0x3545c7[_0x175ea0(0x161)]);return _0x3545c7[_0x175ea0(0x123)](captureError,_0x3545c7[_0x175ea0(0xee)](require,_0x3545c7['nWCmv']),_0x3cf10f[_0x175ea0(0x113)],_0x5521c8,_0x5ddfbf,!![]);})['command'](a60_0x362c83(0xe5),Constants[a60_0x362c83(0xd6)]['INFO'],function(_0x5189b9){const _0xa92b7e=a60_0x362c83,_0xa73096={'UMFyL':'vanilla','UCcwT':function(_0x2ad587,_0x1dfb05){return _0x2ad587(_0x1dfb05);},'vfBfS':'newman','HgRDm':function(_0x1ca56a,_0x2e5070,_0x4e6f1a,_0x5950d2,_0x249179){return _0x1ca56a(_0x2e5070,_0x4e6f1a,_0x5950d2,_0x249179);},'koTeO':_0xa92b7e(0xc7),'maTax':_0xa92b7e(0x149)},_0x53c168=process['argv'][_0xa92b7e(0x13a)](0x2),_0x592bfb=new BrowserStackSetup(_0x5189b9[_0xa92b7e(0x113)],_0xa73096[_0xa92b7e(0xb8)]),_0x3f6436=_0x592bfb?_0x592bfb[_0xa92b7e(0xe4)]:null;if(_0xa73096[_0xa92b7e(0x136)](isNewman,_0x3f6436))return _0x592bfb[_0xa92b7e(0x140)]=_0xa73096[_0xa92b7e(0x156)],global[_0xa92b7e(0x140)]=_0xa73096[_0xa92b7e(0x156)],_0xa73096[_0xa92b7e(0xfc)](captureError,_0xa73096[_0xa92b7e(0x136)](require,_0xa73096[_0xa92b7e(0x116)]),_0x5189b9[_0xa92b7e(0x113)],_0x592bfb,_0x53c168);return _0xa73096[_0xa92b7e(0xfc)](captureError,_0xa73096[_0xa92b7e(0x136)](require,_0xa73096[_0xa92b7e(0x16c)]),_0x5189b9[_0xa92b7e(0x113)],_0x592bfb,_0x53c168);})['command'](a60_0x362c83(0x150),Constants[a60_0x362c83(0x10e)][a60_0x362c83(0x148)],function(_0x1f3162){const _0x22564e=a60_0x362c83,_0x4d1f1={'cHSek':'nightwatch','cHnpA':function(_0x424149,_0x230b10,_0x476ea3,_0x57f75f,_0xda9a60){return _0x424149(_0x230b10,_0x476ea3,_0x57f75f,_0xda9a60);},'zZqGk':function(_0x32d4cb,_0x1e12c9){return _0x32d4cb(_0x1e12c9);},'bLzjV':'./nightwatch/command'},_0x3382f1=process['argv'][_0x22564e(0x13a)](0x2),_0x4e8297=new BrowserStackSetup(_0x1f3162[_0x22564e(0x113)],_0x4d1f1[_0x22564e(0x106)]);return _0x4d1f1['cHnpA'](captureError,_0x4d1f1[_0x22564e(0xd3)](require,_0x4d1f1['bLzjV']),_0x1f3162[_0x22564e(0x113)],_0x4e8297,_0x3382f1);})[a60_0x362c83(0x121)]('codeceptjs',Constants[a60_0x362c83(0xd2)][a60_0x362c83(0x148)],function(_0x12fe26){const _0x168971=a60_0x362c83,_0x49b625={'Udzde':'codeceptjs','ildSm':function(_0x3f5661,_0x560324,_0x5c4b43,_0x1d6581,_0x2ca0d0){return _0x3f5661(_0x560324,_0x5c4b43,_0x1d6581,_0x2ca0d0);},'yfEvU':function(_0x3969aa,_0x2a43f4){return _0x3969aa(_0x2a43f4);},'KmNhD':_0x168971(0x133)},_0x459aef=process[_0x168971(0x113)]['slice'](0x2),_0x2dcd98=new BrowserStackSetup(_0x12fe26[_0x168971(0x113)],_0x49b625[_0x168971(0xe3)]);return _0x49b625['ildSm'](captureError,_0x49b625[_0x168971(0x124)](require,_0x49b625[_0x168971(0xc0)]),_0x12fe26[_0x168971(0x113)],_0x2dcd98,_0x459aef);})['command'](a60_0x362c83(0xe2),Constants[a60_0x362c83(0x138)][a60_0x362c83(0x148)],function(_0x1e3d5d){const _0x393c82=a60_0x362c83,_0x517c36={'fPmdC':function(_0x2b9e88,_0x4c4b04,_0x164376){return _0x2b9e88(_0x4c4b04,_0x164376);},'WgSYH':function(_0xbd8c0,_0x565b5a){return _0xbd8c0(_0x565b5a);},'hlMWI':_0x393c82(0xe0)},_0x3ae3af=process[_0x393c82(0x113)]['slice'](0x2);return _0x517c36['fPmdC'](captureError,_0x517c36[_0x393c82(0x143)](require,_0x517c36[_0x393c82(0x112)]),_0x1e3d5d);})['command'](a60_0x362c83(0xf2),Constants[a60_0x362c83(0x12c)][a60_0x362c83(0x148)],function(_0x370894){const _0x281c79=a60_0x362c83,_0x2dd91e={'JxruE':function(_0x5f43f1,_0x8c29ca){return _0x5f43f1(_0x8c29ca);}};return _0x2dd91e[_0x281c79(0xdd)](runIntegrations,_0x370894);})[a60_0x362c83(0x121)](a60_0x362c83(0x147),Constants[a60_0x362c83(0xec)][a60_0x362c83(0x148)],function(_0x558db6){const _0x3e4841=a60_0x362c83,_0x565b28={'KCFHe':'pw:channel','TjLiO':function(_0xd5ca04,_0x534826){return _0xd5ca04&&_0x534826;},'yUWtG':function(_0x1a8954,_0x3489ea,_0x52327e,_0x7d8aa9,_0x465d6b,_0x67e566){return _0x1a8954(_0x3489ea,_0x52327e,_0x7d8aa9,_0x465d6b,_0x67e566);},'opbbP':function(_0xcb2de5,_0x1bfc81){return _0xcb2de5(_0x1bfc81);},'ZMnWD':_0x3e4841(0xd7)},_0x174fa2=process[_0x3e4841(0x113)][_0x3e4841(0x13a)](0x2);helper[_0x3e4841(0x144)](process[_0x3e4841(0x113)])&&(process[_0x3e4841(0xbf)][_0x3e4841(0x14f)]=helper[_0x3e4841(0x144)](process[_0x3e4841(0x113)]));helper[_0x3e4841(0x14b)](),helper[_0x3e4841(0x164)]();const _0x3b58ba=new BrowserStackSetup(_0x558db6[_0x3e4841(0x113)],FRAMEWORKS[_0x3e4841(0xec)]);try{if(!_0x3b58ba['config']||!_0x3b58ba['config'][_0x3e4841(0x132)]){const _0x5b5519=_0x565b28[_0x3e4841(0x13f)],_0xa73d45=process[_0x3e4841(0xbf)][_0x3e4841(0xdf)]||'',_0x16c393=_0xa73d45['split'](',')['map'](_0xb5ea57=>_0xb5ea57['trim']())[_0x3e4841(0xba)](Boolean),_0x3f3929=_0x16c393[_0x3e4841(0xfe)](_0x10d02f=>_0x10d02f==='-pw:channel'||_0x10d02f===_0x3e4841(0x111)||_0x10d02f==='-*'),_0x2c00d3=_0x16c393['some'](_0x29bad7=>_0x29bad7===_0x5b5519||_0x29bad7==='pw:*'||_0x29bad7==='*');if(_0x565b28[_0x3e4841(0x108)](!_0x3f3929,!_0x2c00d3)){const _0x315da2=helper[_0x3e4841(0xce)]();_0x315da2&&(process['env'][_0x3e4841(0xdf)]=_0xa73d45?_0xa73d45+','+_0x5b5519:_0x5b5519,!process[_0x3e4841(0xbf)][_0x3e4841(0x12d)]&&(process['env'][_0x3e4841(0x12d)]=_0x315da2));}}}catch(_0x3833c8){logger[_0x3e4841(0x10c)](_0x3e4841(0x10b)+util[_0x3e4841(0x11d)](_0x3833c8));}return _0x565b28[_0x3e4841(0x14d)](captureError,_0x565b28[_0x3e4841(0x14a)](require,_0x565b28['ZMnWD']),_0x558db6[_0x3e4841(0x113)],_0x3b58ba,_0x174fa2,!![]);})[a60_0x362c83(0x121)]('testcafe',Constants[a60_0x362c83(0x126)][a60_0x362c83(0x148)],function(_0x20eb49){const _0x17db78=a60_0x362c83,_0x3089fd={'kPhMJ':_0x17db78(0xed),'kqAua':function(_0x530aaf,_0x41dd77,_0x63468f,_0x3d08ee,_0x12a9f7,_0x2f73ee){return _0x530aaf(_0x41dd77,_0x63468f,_0x3d08ee,_0x12a9f7,_0x2f73ee);},'rDATO':function(_0x1c7dc2,_0x229ae5){return _0x1c7dc2(_0x229ae5);},'qlFVf':_0x17db78(0x15d)},_0x553c82=process[_0x17db78(0x113)][_0x17db78(0x13a)](0x2),_0x4c4290=new BrowserStackSetup(_0x20eb49[_0x17db78(0x113)],_0x3089fd[_0x17db78(0x166)]);return _0x3089fd['kqAua'](captureError,_0x3089fd[_0x17db78(0xcc)](require,_0x3089fd[_0x17db78(0xf7)]),_0x20eb49['argv'],_0x4c4290,_0x553c82,!![]);})['command']('load\x20[subcommand]',a60_0x362c83(0x145),function(_0x2210a4){const _0x1e082e=a60_0x362c83,_0x46a6bb={};_0x46a6bb[_0x1e082e(0xd5)]=_0x1e082e(0x131),_0x46a6bb[_0x1e082e(0x159)]=_0x1e082e(0x101),_0x46a6bb['uIrsj']=_0x1e082e(0xf1);const _0x1affc8=_0x46a6bb;return _0x2210a4[_0x1e082e(0x131)](![])[_0x1e082e(0x141)](_0x1affc8[_0x1e082e(0xd5)],{'alias':'h','type':_0x1affc8[_0x1e082e(0x159)],'describe':_0x1affc8[_0x1e082e(0x152)]})['strict'](![])[_0x1e082e(0xcd)](![]);},function(_0x41717b){const _0x17260b=a60_0x362c83,_0xb51e3={'knIjK':function(_0x1ade18,_0x1bee88,_0x392353){return _0x1ade18(_0x1bee88,_0x392353);},'HAQQK':function(_0x56e1e5,_0x6e8e3d){return _0x56e1e5(_0x6e8e3d);},'xzCxG':_0x17260b(0x11c)},_0x39e7a2={};return _0x39e7a2[_0x17260b(0x113)]=_0x41717b,_0xb51e3[_0x17260b(0x110)](captureError,_0xb51e3[_0x17260b(0x155)](require,_0xb51e3[_0x17260b(0x169)]),_0x39e7a2);})[a60_0x362c83(0x121)](a60_0x362c83(0x122),Constants['NEWMAN'][a60_0x362c83(0x148)],function(_0x206c19){const _0x492b02=a60_0x362c83,_0x5e9089={'ytKus':_0x492b02(0x122),'FnkTs':function(_0x24a15c,_0x49e640,_0x354084,_0x3297ba,_0x10b24e){return _0x24a15c(_0x49e640,_0x354084,_0x3297ba,_0x10b24e);},'pyDXs':function(_0x5bd6e2,_0x517cb0){return _0x5bd6e2(_0x517cb0);},'WWYmd':_0x492b02(0xc7)},_0x1f8db0=process[_0x492b02(0x113)]['slice'](0x2);helper['setTestObservabilityDisable'](),helper[_0x492b02(0x164)](),_0x206c19[_0x492b02(0xe1)](![]);const _0x353557=new BrowserStackSetup(_0x206c19[_0x492b02(0x113)],_0x5e9089['ytKus']);return _0x5e9089[_0x492b02(0x115)](captureError,_0x5e9089['pyDXs'](require,_0x5e9089[_0x492b02(0xc2)]),_0x206c19['argv'],_0x353557,_0x1f8db0);})['demandCommand'](0x1,a60_0x362c83(0xe6))[a60_0x362c83(0x11a)](null)['argv'];!helper[a60_0x362c83(0xfb)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x362c83(0xe2)&&console[a60_0x362c83(0xdc)](a60_0x362c83(0x118));
|